Class SproutsBlock

All Implemented Interfaces:
ItemConvertible

public class SproutsBlock extends PlantBlock
Mappings:
Namespace Name
official chn
intermediary net/minecraft/class_4772
named net/minecraft/block/SproutsBlock
  • Field Details

    • SHAPE

      protected static final VoxelShape SHAPE
      Mappings:
      Namespace Name Mixin selector
      official a Lchn;a:Ldpf;
      intermediary field_22136 Lnet/minecraft/class_4772;field_22136:Lnet/minecraft/class_265;
      named SHAPE Lnet/minecraft/block/SproutsBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
  • Constructor Details

    • SproutsBlock

      public SproutsBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcob;<init>(Lcob$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

    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcob;a(Lcoc;Lbzj;Lgh;Ldor;)Ldpf;
      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;
    • canPlantOnTop

      protected boolean canPlantOnTop(BlockState floor, BlockView world, BlockPos pos)
      Overrides:
      canPlantOnTop in class PlantBlock
      Mappings:
      Namespace Name Mixin selector
      official d Lcdf;d(Lcoc;Lbzj;Lgh;)Z
      intermediary method_9695 Lnet/minecraft/class_2261;method_9695(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named canPlantOnTop Lnet/minecraft/block/PlantBlock;canPlantOnTop(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • getOffsetType

      public AbstractBlock.OffsetType getOffsetType()
      Overrides:
      getOffsetType in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official T_ Lcob;T_()Lcob$b;
      intermediary method_16841 Lnet/minecraft/class_4970;method_16841()Lnet/minecraft/class_4970$class_2250;
      named getOffsetType Lnet/minecraft/block/AbstractBlock;getOffsetType()Lnet/minecraft/block/AbstractBlock$OffsetType;