Class PlantBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PlantBlock
All Implemented Interfaces:
Itemable
Direct Known Subclasses:
AttachedStemBlock, class_3686, class_3719, class_3720, CropBlock, DeadBushBlock, DoublePlantBlock, FlowerBlock, LilyPadBlock, MushroomBlock, NetherWartBlock, SaplingBlock, TallPlantBlock

public class PlantBlock extends Block
Mappings:
Namespace Name
official bda
intermediary net/minecraft/class_1754
named net/minecraft/block/PlantBlock
  • Constructor Details

    • PlantBlock

      protected PlantBlock(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_16634

      protected boolean method_16634(BlockState blockState, BlockView blockView, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official b Lbda;b(Lblc;Laxk;Lel;)Z
      intermediary method_16634 Lnet/minecraft/class_1754;method_16634(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Z
      named method_16634 Lnet/minecraft/block/PlantBlock;method_16634(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • method_16575

      public BlockState method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2)
      Overrides:
      method_16575 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Leq;Lblc;Laxz;Lel;Lel;)Lblc;
      intermediary method_16575 Lnet/minecraft/class_197;method_16575(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named method_16575 Lnet/minecraft/block/Block;method_16575(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • method_16570

      public boolean method_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos)
      Overrides:
      method_16570 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Layc;Lel;)Z
      intermediary method_16570 Lnet/minecraft/class_197;method_16570(Lnet/minecraft/class_2232;Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Z
      named method_16570 Lnet/minecraft/block/Block;method_16570(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • method_11562

      public boolean method_11562(BlockState state)
      Overrides:
      method_11562 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;)Z
      intermediary method_11562 Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Z
      named method_11562 Lnet/minecraft/block/Block;method_11562(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;
    • method_14307

      public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction)
      Overrides:
      method_14307 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;
      intermediary method_14307 Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;
      named method_14307 Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;
    • getLightSubtracted

      public int getLightSubtracted(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getLightSubtracted in class Block
      Mappings:
      Namespace Name Mixin selector
      official j Lbcs;j(Lblc;Laxk;Lel;)I
      intermediary method_16597 Lnet/minecraft/class_197;method_16597(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)I
      named getLightSubtracted Lnet/minecraft/block/Block;getLightSubtracted(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I