Class FlowerBlock

All Implemented Interfaces:
SuspiciousStewIngredient, ItemConvertible, ToggleableFeature
Direct Known Subclasses:
WitherRoseBlock

public class FlowerBlock extends PlantBlock implements SuspiciousStewIngredient
Mappings:
Namespace Name
named net/minecraft/block/FlowerBlock
intermediary net/minecraft/class_2356
official dik
  • Field Details

    • STEW_EFFECT_CODEC

      protected static final com.mojang.serialization.MapCodec<SuspiciousStewEffectsComponent> STEW_EFFECT_CODEC
      Mappings:
      Namespace Name Mixin selector
      named STEW_EFFECT_CODEC Lnet/minecraft/block/FlowerBlock;STEW_EFFECT_CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46354 Lnet/minecraft/class_2356;field_46354:Lcom/mojang/serialization/MapCodec;
      official a Ldik;a:Lcom/mojang/serialization/MapCodec;
    • CODEC

      public static final com.mojang.serialization.MapCodec<FlowerBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/FlowerBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46355 Lnet/minecraft/class_2356;field_46355:Lcom/mojang/serialization/MapCodec;
      official b Ldik;b:Lcom/mojang/serialization/MapCodec;
    • field_31094

      protected static final float field_31094
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31094 Lnet/minecraft/block/FlowerBlock;field_31094:F
      intermediary field_31094 Lnet/minecraft/class_2356;field_31094:F
      official c Ldik;c:F
    • SHAPE

      protected static final VoxelShape SHAPE
      Mappings:
      Namespace Name Mixin selector
      named SHAPE Lnet/minecraft/block/FlowerBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_11085 Lnet/minecraft/class_2356;field_11085:Lnet/minecraft/class_265;
      official d Ldik;d:Lexa;
    • stewEffects

      private final SuspiciousStewEffectsComponent stewEffects
      Mappings:
      Namespace Name Mixin selector
      named stewEffects Lnet/minecraft/block/FlowerBlock;stewEffects:Lnet/minecraft/component/type/SuspiciousStewEffectsComponent;
      intermediary field_45775 Lnet/minecraft/class_2356;field_45775:Lnet/minecraft/class_9298;
      official e Ldik;e:Lcxg;
  • Constructor Details

    • FlowerBlock

      public FlowerBlock(RegistryEntry<StatusEffect> stewEffect, float effectLengthInSeconds, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/FlowerBlock;<init>(Lnet/minecraft/registry/entry/RegistryEntry;FLnet/minecraft/block/AbstractBlock$Settings;)V
      intermediary <init> Lnet/minecraft/class_2356;<init>(Lnet/minecraft/class_6880;FLnet/minecraft/class_4970$class_2251;)V
      official <init> Ldik;<init>(Ljj;FLdsk$d;)V
    • FlowerBlock

      public FlowerBlock(SuspiciousStewEffectsComponent stewEffects, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/FlowerBlock;<init>(Lnet/minecraft/component/type/SuspiciousStewEffectsComponent;Lnet/minecraft/block/AbstractBlock$Settings;)V
      intermediary <init> Lnet/minecraft/class_2356;<init>(Lnet/minecraft/class_9298;Lnet/minecraft/class_4970$class_2251;)V
      official <init> Ldik;<init>(Lcxg;Ldsk$d;)V
  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<? extends FlowerBlock> 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 Ldsk;a()Lcom/mojang/serialization/MapCodec;
    • createStewEffectList

      protected static SuspiciousStewEffectsComponent createStewEffectList(RegistryEntry<StatusEffect> effect, float effectLengthInSeconds)
      Mappings:
      Namespace Name Mixin selector
      named createStewEffectList Lnet/minecraft/block/FlowerBlock;createStewEffectList(Lnet/minecraft/registry/entry/RegistryEntry;F)Lnet/minecraft/component/type/SuspiciousStewEffectsComponent;
      intermediary method_54015 Lnet/minecraft/class_2356;method_54015(Lnet/minecraft/class_6880;F)Lnet/minecraft/class_9298;
      official a Ldik;a(Ljj;F)Lcxg;
    • 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 Ldsk;a(Ldsl;Ldbm;Lja;Lewm;)Lexa;
    • getStewEffects

      public SuspiciousStewEffectsComponent getStewEffects()
      Specified by:
      getStewEffects in interface SuspiciousStewIngredient
      Mappings:
      Namespace Name Mixin selector
      named getStewEffects Lnet/minecraft/block/SuspiciousStewIngredient;getStewEffects()Lnet/minecraft/component/type/SuspiciousStewEffectsComponent;
      intermediary method_53233 Lnet/minecraft/class_7917;method_53233()Lnet/minecraft/class_9298;
      official b Ldnk;b()Lcxg;