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 dpl
  • Field Details Link icon

    • CODEC Link icon

      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 Ldpl;d:Lcom/mojang/serialization/MapCodec;
    • MAX_AGE Link icon

      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 Ldpl;e:I
    • AGE Link icon

      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 Ldpl;f:Lecq;
    • SHAPES_BY_AGE Link icon

      private static final VoxelShape[] SHAPES_BY_AGE
      Mappings:
      Namespace Name Mixin selector
      named SHAPES_BY_AGE Lnet/minecraft/block/CropBlock;SHAPES_BY_AGE:[Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_10836 Lnet/minecraft/class_2302;field_10836:[Lnet/minecraft/class_265;
      official a Ldpl;a:[Lfgw;
  • Constructor Details Link icon

    • CropBlock Link icon

      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> Lebp;<init>(Lebp$d;)V
  • Method Details Link icon