Class TallPlantBlock

All Implemented Interfaces:
Growable, Itemable

public class TallPlantBlock extends PlantBlock implements Growable
Mappings:
Namespace Name
official bih
intermediary net/minecraft/class_193
named net/minecraft/block/TallPlantBlock
  • Field Details

    • field_18526

      protected static final VoxelShape field_18526
      Mappings:
      Namespace Name Mixin selector
      official a Lbih;a:Lcew;
      intermediary field_18526 Lnet/minecraft/class_193;field_18526:Lnet/minecraft/class_4100;
      named field_18526 Lnet/minecraft/block/TallPlantBlock;field_18526:Lnet/minecraft/util/shapes/VoxelShape;
  • Constructor Details

    • TallPlantBlock

      protected TallPlantBlock(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

    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getOutlineShape in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;)Lcew;
      intermediary method_11554 Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;
      named getOutlineShape Lnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
    • method_16568

      public Itemable method_16568(BlockState blockState, World world, BlockPos blockPos, int int2)
      Overrides:
      method_16568 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;I)Laxx;
      intermediary method_16568 Lnet/minecraft/class_197;method_16568(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;I)Lnet/minecraft/class_3597;
      named method_16568 Lnet/minecraft/block/Block;method_16568(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/item/Itemable;
    • method_397

      public int method_397(BlockState blockState, int int2, World world, BlockPos blockPos, Random random)
      Overrides:
      method_397 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;ILaxy;Lel;Ljava/util/Random;)I
      intermediary method_397 Lnet/minecraft/class_197;method_397(Lnet/minecraft/class_2232;ILnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)I
      named method_397 Lnet/minecraft/block/Block;method_397(Lnet/minecraft/block/BlockState;ILnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)I
    • method_8651

      public void method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)
      Overrides:
      method_8651 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxy;Laog;Lel;Lblc;Lbji;Late;)V
      intermediary method_8651 Lnet/minecraft/class_197;method_8651(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_226;Lnet/minecraft/class_1071;)V
      named method_8651 Lnet/minecraft/block/Block;method_8651(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/item/ItemStack;)V
    • 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
    • getOffsetType

      public Block.OffsetType getOffsetType()
      Returns the block's offset type. Used by grass and flowers.
      Overrides:
      getOffsetType in class Block
      Returns:
      The block's offset type
      Mappings:
      Namespace Name Mixin selector
      official q Lbcs;q()Lbcs$b;
      intermediary method_8634 Lnet/minecraft/class_197;method_8634()Lnet/minecraft/class_197$class_2177;
      named getOffsetType Lnet/minecraft/block/Block;getOffsetType()Lnet/minecraft/block/Block$OffsetType;