Class PotatoesBlock

All Implemented Interfaces:
Growable

public class PotatoesBlock extends CropBlock
Mappings:
Namespace Name
official ast
intermediary net/minecraft/class_1304
named net/minecraft/block/PotatoesBlock
  • Field Details

    • field_12720

      private static final Box[] field_12720
      Mappings:
      Namespace Name Mixin selector
      official a Last;a:[Lbhb;
      intermediary field_12720 Lnet/minecraft/class_1304;field_12720:[Lnet/minecraft/class_231;
      named field_12720 Lnet/minecraft/block/PotatoesBlock;field_12720:[Lnet/minecraft/util/math/Box;
  • Constructor Details

    • PotatoesBlock

      public PotatoesBlock()
  • Method Details

    • method_6469

      protected Item method_6469()
      Overrides:
      method_6469 in class CropBlock
      Mappings:
      Namespace Name Mixin selector
      official h Laps;h()Lain;
      intermediary method_6469 Lnet/minecraft/class_122;method_6469()Lnet/minecraft/class_1069;
      named method_6469 Lnet/minecraft/block/CropBlock;method_6469()Lnet/minecraft/item/Item;
    • method_6468

      protected Item method_6468()
      Overrides:
      method_6468 in class CropBlock
      Mappings:
      Namespace Name Mixin selector
      official i Laps;i()Lain;
      intermediary method_6468 Lnet/minecraft/class_122;method_6468()Lnet/minecraft/class_1069;
      named method_6468 Lnet/minecraft/block/CropBlock;method_6468()Lnet/minecraft/item/Item;
    • randomDropAsItem

      public void randomDropAsItem(World world, BlockPos pos, BlockState state, float chance, int id)
      Called when the block must be dropped as an item by dropAsItem, but luck is taken into consideration here.
      Overrides:
      randomDropAsItem in class CropBlock
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      chance - The chance (luck factor)
      id - Id
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lawt;FI)V
      intermediary method_410 Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;FI)V
      named randomDropAsItem Lnet/minecraft/block/Block;randomDropAsItem(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;FI)V
    • getCollisionBox

      public Box getCollisionBox(BlockState state, BlockView view, BlockPos pos)
      Overrides:
      getCollisionBox in class CropBlock
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lawt;Lamy;Let;)Lbhb;
      intermediary method_11554 Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named getCollisionBox Lnet/minecraft/block/Block;getCollisionBox(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;