Class CropBlock

All Implemented Interfaces:
Fertilizable, ItemConvertible, ToggleableFeature
Direct Known Subclasses:
BeetrootsBlock, CarrotsBlock, PotatoesBlock, TorchflowerBlock

public class CropBlock extends PlantBlock implements Fertilizable
Mappings:
Namespace Name
named net/minecraft/block/CropBlock
intermediary net/minecraft/class_2302
official dmi
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<CropBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/CropBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46329 Lnet/minecraft/class_2302;field_46329:Lcom/mojang/serialization/MapCodec;
      official d Ldmi;d:Lcom/mojang/serialization/MapCodec;
    • MAX_AGE

      public static final int MAX_AGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_AGE Lnet/minecraft/block/CropBlock;MAX_AGE:I
      intermediary field_31079 Lnet/minecraft/class_2302;field_31079:I
      official e Ldmi;e:I
    • AGE

      public static final IntProperty AGE
      Mappings:
      Namespace Name Mixin selector
      named AGE Lnet/minecraft/block/CropBlock;AGE:Lnet/minecraft/state/property/IntProperty;
      intermediary field_10835 Lnet/minecraft/class_2302;field_10835:Lnet/minecraft/class_2758;
      official f Ldmi;f:Ldyt;
    • AGE_TO_SHAPE

      private static final VoxelShape[] AGE_TO_SHAPE
      Mappings:
      Namespace Name Mixin selector
      named AGE_TO_SHAPE Lnet/minecraft/block/CropBlock;AGE_TO_SHAPE:[Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_10836 Lnet/minecraft/class_2302;field_10836:[Lnet/minecraft/class_265;
      official a Ldmi;a:[Lfcr;
  • Constructor Details

    • CropBlock

      protected CropBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      official <init> Ldxt;<init>(Ldxt$d;)V
  • Method Details