Class RootsBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class RootsBlock extends PlantBlock
Mappings:
Namespace Name
named net/minecraft/block/RootsBlock
intermediary net/minecraft/class_4774
official dlm
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<RootsBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/RootsBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46429 Lnet/minecraft/class_4774;field_46429:Lcom/mojang/serialization/MapCodec;
      official a Ldlm;a:Lcom/mojang/serialization/MapCodec;
    • field_31235

      protected static final float field_31235
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31235 Lnet/minecraft/block/RootsBlock;field_31235:F
      intermediary field_31235 Lnet/minecraft/class_4774;field_31235:F
      official b Ldlm;b:F
    • SHAPE

      protected static final VoxelShape SHAPE
      Mappings:
      Namespace Name Mixin selector
      named SHAPE Lnet/minecraft/block/RootsBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_22137 Lnet/minecraft/class_4774;field_22137:Lnet/minecraft/class_265;
      official c Ldlm;c:Lewm;
  • Constructor Details

    • RootsBlock

      protected RootsBlock(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> Ldsd;<init>(Ldsd$d;)V
  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<RootsBlock> getCodec()
      Specified by:
      getCodec in class PlantBlock
      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 Ldsd;a()Lcom/mojang/serialization/MapCodec;
    • getOutlineShape

      protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      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 Ldsd;a(Ldse;Ldbg;Liz;Levy;)Lewm;
    • canPlantOnTop

      protected boolean canPlantOnTop(BlockState floor, BlockView world, BlockPos pos)
      Overrides:
      canPlantOnTop in class PlantBlock
      Mappings:
      Namespace Name Mixin selector
      named canPlantOnTop Lnet/minecraft/block/PlantBlock;canPlantOnTop(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_9695 Lnet/minecraft/class_2261;method_9695(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      official b Ldfk;b(Ldse;Ldbg;Liz;)Z