Class PotatoesBlock

All Implemented Interfaces:
Growable

public class PotatoesBlock extends CropBlock
Mappings:
Namespace Name
official aza
intermediary net/minecraft/class_1304
named net/minecraft/block/PotatoesBlock
  • 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 j Lauu;j()Lalq;
      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 l Lauu;l()Lalq;
      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 Latr;a(Laqu;Ldt;Lbec;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