Class PotatoesBlock

All Implemented Interfaces:
Fertilizable, ItemConvertible, ToggleableFeature

public class PotatoesBlock extends CropBlock
Mappings:
Namespace Name
named net/minecraft/block/PotatoesBlock
intermediary net/minecraft/class_2439
official dkt
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<PotatoesBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/PotatoesBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46414 Lnet/minecraft/class_2439;field_46414:Lcom/mojang/serialization/MapCodec;
      official a Ldkt;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/PotatoesBlock;AGE_TO_SHAPE:[Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_11357 Lnet/minecraft/class_2439;field_11357:[Lnet/minecraft/class_265;
      official b Ldkt;b:[Lewl;
  • Constructor Details

    • PotatoesBlock

      public PotatoesBlock(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> Ldsc;<init>(Ldsc$d;)V
  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<PotatoesBlock> 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 Ldsc;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 Ldgv;d()Ldby;
    • 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 Ldsc;a(Ldsd;Ldbf;Liz;Levx;)Lewl;