Class GrassBlock

All Implemented Interfaces:
Growable, Itemable

public class GrassBlock extends class_3726 implements Growable
Mappings:
Namespace Name
official bfc
intermediary net/minecraft/class_141
named net/minecraft/block/GrassBlock
  • Constructor Details

    • GrassBlock

      public GrassBlock(Block.Builder settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcs;<init>(Lbcs$c;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
  • Method Details

    • method_6460

      public boolean method_6460(BlockView blockView, BlockPos blockPos, BlockState blockState, boolean bool)
      Specified by:
      method_6460 in interface Growable
      Mappings:
      Namespace Name Mixin selector
      official a Lbcv;a(Laxk;Lel;Lblc;Z)Z
      intermediary method_6460 Lnet/minecraft/class_1753;method_6460(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)Z
      named method_6460 Lnet/minecraft/block/Growable;method_6460(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Z
    • canBeFertilized

      public boolean canBeFertilized(World world, Random random, BlockPos pos, BlockState state)
      Specified by:
      canBeFertilized in interface Growable
      Mappings:
      Namespace Name Mixin selector
      official a Lbcv;a(Laxy;Ljava/util/Random;Lel;Lblc;)Z
      intermediary method_6461 Lnet/minecraft/class_1753;method_6461(Lnet/minecraft/class_1150;Ljava/util/Random;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Z
      named canBeFertilized Lnet/minecraft/block/Growable;canBeFertilized(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
    • grow

      public void grow(World world, Random random, BlockPos pos, BlockState state)
      Specified by:
      grow in interface Growable
      Mappings:
      Namespace Name Mixin selector
      official b Lbcv;b(Laxy;Ljava/util/Random;Lel;Lblc;)V
      intermediary method_6462 Lnet/minecraft/class_1753;method_6462(Lnet/minecraft/class_1150;Ljava/util/Random;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named grow Lnet/minecraft/block/Growable;grow(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • isFullBoundsCubeForCulling

      public boolean isFullBoundsCubeForCulling(BlockState blockState)
      Overrides:
      isFullBoundsCubeForCulling in class Block
      Mappings:
      Namespace Name Mixin selector
      official f Lbcs;f(Lblc;)Z
      intermediary method_11560 Lnet/minecraft/class_197;method_11560(Lnet/minecraft/class_2232;)Z
      named isFullBoundsCubeForCulling Lnet/minecraft/block/Block;isFullBoundsCubeForCulling(Lnet/minecraft/block/BlockState;)Z
    • getRenderLayerType

      public BlockRenderLayer getRenderLayerType()
      Returns the appropriate RenderLayer for a block. Only called on the client.
      Overrides:
      getRenderLayerType in class Block
      Returns:
      The block's RenderLayer
      Mappings:
      Namespace Name Mixin selector
      official c Lbcs;c()Laxl;
      intermediary method_8687 Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;
      named getRenderLayerType Lnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;