Class PotatoesBlock

All Implemented Interfaces:
Growable

public class PotatoesBlock
extends CropBlock
Mappings:
Namespace Name
official aiq
intermediary net/minecraft/class_270
named net/minecraft/block/PotatoesBlock
  • Constructor Details

    • PotatoesBlock

      public PotatoesBlock()
  • Method Details

    • method_780

      protected Item method_780()
      Overrides:
      method_780 in class CropBlock
      Mappings:
      Namespace Name Mixin selector
      official l Lafz;l()Lzw;
      intermediary method_780 Lnet/minecraft/class_182;method_780()Lnet/minecraft/class_2054;
      named method_780 Lnet/minecraft/block/CropBlock;method_780()Lnet/minecraft/item/Item;
    • method_781

      protected Item method_781()
      Overrides:
      method_781 in class CropBlock
      Mappings:
      Namespace Name Mixin selector
      official n Lafz;n()Lzw;
      intermediary method_781 Lnet/minecraft/class_182;method_781()Lnet/minecraft/class_2054;
      named method_781 Lnet/minecraft/block/CropBlock;method_781()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 Lafh;a(Ladm;Lcj;Lalz;FI)V
      intermediary method_646 Lnet/minecraft/class_160;method_646(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;FI)V
      named randomDropAsItem Lnet/minecraft/block/Block;randomDropAsItem(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;FI)V