Class MushroomPlantBlock

All Implemented Interfaces:
Fertilizable, ItemConvertible, ToggleableFeature

public class MushroomPlantBlock extends PlantBlock implements Fertilizable
Mappings:
Namespace Name
named net/minecraft/block/MushroomPlantBlock
intermediary net/minecraft/class_2420
official dkc
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<MushroomPlantBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/MushroomPlantBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46399 Lnet/minecraft/class_2420;field_46399:Lcom/mojang/serialization/MapCodec;
      official a Ldkc;a:Lcom/mojang/serialization/MapCodec;
    • field_31195

      protected static final float field_31195
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31195 Lnet/minecraft/block/MushroomPlantBlock;field_31195:F
      intermediary field_31195 Lnet/minecraft/class_2420;field_31195:F
      official b Ldkc;b:F
    • SHAPE

      protected static final VoxelShape SHAPE
      Mappings:
      Namespace Name Mixin selector
      named SHAPE Lnet/minecraft/block/MushroomPlantBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_11304 Lnet/minecraft/class_2420;field_11304:Lnet/minecraft/class_265;
      official c Ldkc;c:Lewl;
    • featureKey

      private final RegistryKey<ConfiguredFeature<?,?>> featureKey
      Mappings:
      Namespace Name Mixin selector
      named featureKey Lnet/minecraft/block/MushroomPlantBlock;featureKey:Lnet/minecraft/registry/RegistryKey;
      intermediary field_27194 Lnet/minecraft/class_2420;field_27194:Lnet/minecraft/class_5321;
      official d Ldkc;d:Lale;
  • Constructor Details

    • MushroomPlantBlock

      public MushroomPlantBlock(RegistryKey<ConfiguredFeature<?,?>> featureKey, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/MushroomPlantBlock;<init>(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/block/AbstractBlock$Settings;)V
      intermediary <init> Lnet/minecraft/class_2420;<init>(Lnet/minecraft/class_5321;Lnet/minecraft/class_4970$class_2251;)V
      official <init> Ldkc;<init>(Lale;Ldsc$d;)V
  • Method Details