Class CarrotsBlock

All Implemented Interfaces:
Fertilizable, ItemConvertible, ToggleableFeature

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

    • AGE_TO_SHAPE

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

    • CarrotsBlock

      public CarrotsBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcys;<init>(Lcys$c;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • getSeedsItem

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

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class CropBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcys;a(Lcyt;Lcjc;Lgp;Leaj;)Leax;
      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;
      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;