Class DeadBushBlock


public class DeadBushBlock extends PlantBlock
Mappings:
Namespace Name
official auw
intermediary net/minecraft/class_123
named net/minecraft/block/DeadBushBlock
  • Constructor Details

    • DeadBushBlock

      protected DeadBushBlock()
  • Method Details

    • canPlantOnTop

      protected boolean canPlantOnTop(Block block)
      Overrides:
      canPlantOnTop in class PlantBlock
      Mappings:
      Namespace Name Mixin selector
      official c Lauc;c(Latr;)Z
      intermediary method_6463 Lnet/minecraft/class_1754;method_6463(Lnet/minecraft/class_197;)Z
      named canPlantOnTop Lnet/minecraft/block/PlantBlock;canPlantOnTop(Lnet/minecraft/block/Block;)Z
    • isReplaceable

      public boolean isReplaceable(World world, BlockPos pos)
      Overrides:
      isReplaceable in class Block
      Mappings:
      Namespace Name Mixin selector
      official f Latr;f(Laqu;Ldt;)Z
      intermediary method_8638 Lnet/minecraft/class_197;method_8638(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Z
      named isReplaceable Lnet/minecraft/block/Block;isReplaceable(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
    • getDropItem

      public Item getDropItem(BlockState blockState, Random random, int state)
      Returns the item that must be dropped when the block is broken
      Overrides:
      getDropItem in class Block
      Parameters:
      blockState - The block's BlockState
      random - Random object
      state - State
      Returns:
      The Item that drops after the block breaks
      Mappings:
      Namespace Name Mixin selector
      official a Latr;a(Lbec;Ljava/util/Random;I)Lalq;
      intermediary method_398 Lnet/minecraft/class_197;method_398(Lnet/minecraft/class_2232;Ljava/util/Random;I)Lnet/minecraft/class_1069;
      named getDropItem Lnet/minecraft/block/Block;getDropItem(Lnet/minecraft/block/BlockState;Ljava/util/Random;I)Lnet/minecraft/item/Item;
    • harvest

      public void harvest(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity be)
      Runs every time a player begins to break the block.
      Overrides:
      harvest in class Block
      Parameters:
      world - The world that the block is placed in
      player - The player who is mining the block
      pos - The block's position
      state - The block's BlockState
      be - The block entity in the block
      Mappings:
      Namespace Name Mixin selector
      official a Latr;a(Laqu;Lahd;Ldt;Lbec;Lbcm;)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;)V
      named harvest Lnet/minecraft/block/Block;harvest(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;)V