Class CarrotsBlock

All Implemented Interfaces:
Fertilizable, ItemConvertible, ToggleableFeature

public class CarrotsBlock extends CropBlock
Mappings:
Namespace Name
named net/minecraft/block/CarrotsBlock
intermediary net/minecraft/class_2271
official dle
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<CarrotsBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/CarrotsBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46302 Lnet/minecraft/class_2271;field_46302:Lcom/mojang/serialization/MapCodec;
      official a Ldle;a:Lcom/mojang/serialization/MapCodec;
    • AGE_TO_SHAPE

      private static final VoxelShape[] AGE_TO_SHAPE
      Mappings:
      Namespace Name Mixin selector
      named AGE_TO_SHAPE Lnet/minecraft/block/CarrotsBlock;AGE_TO_SHAPE:[Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_10737 Lnet/minecraft/class_2271;field_10737:[Lnet/minecraft/class_265;
      official b Ldle;b:[Lfcr;
  • Constructor Details

    • CarrotsBlock

      public CarrotsBlock(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

    • getCodec

      public com.mojang.serialization.MapCodec<CarrotsBlock> getCodec()
      Overrides:
      getCodec in class CropBlock
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_53969 Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
      official a Ldxt;a()Lcom/mojang/serialization/MapCodec;
    • getSeedsItem

      protected ItemConvertible getSeedsItem()
      Overrides:
      getSeedsItem in class CropBlock
      Mappings:
      Namespace Name Mixin selector
      named getSeedsItem Lnet/minecraft/block/CropBlock;getSeedsItem()Lnet/minecraft/item/ItemConvertible;
      intermediary method_9832 Lnet/minecraft/class_2302;method_9832()Lnet/minecraft/class_1935;
      official d Ldmi;d()Ldhg;
    • getOutlineShape

      protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class CropBlock
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      official a Ldxt;a(Ldxu;Ldgm;Ljh;Lfcc;)Lfcr;