Class FlowerBlock

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

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

    • STEW_EFFECT_CODEC

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

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

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

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

      private final List<SuspiciousStewIngredient.StewEffect> stewEffects
      Mappings:
      Namespace Name Mixin selector
      official e Lczs;e:Ljava/util/List;
      intermediary field_45775 Lnet/minecraft/class_2356;field_45775:Ljava/util/List;
      named stewEffects Lnet/minecraft/block/FlowerBlock;stewEffects:Ljava/util/List;
  • Constructor Details

    • FlowerBlock

      public FlowerBlock(StatusEffect stewEffect, int duration, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lczs;<init>(Lblg;ILdjg$d;)V
      intermediary <init> Lnet/minecraft/class_2356;<init>(Lnet/minecraft/class_1291;ILnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/FlowerBlock;<init>(Lnet/minecraft/entity/effect/StatusEffect;ILnet/minecraft/block/AbstractBlock$Settings;)V
    • FlowerBlock

      public FlowerBlock(List<SuspiciousStewIngredient.StewEffect> stewEffects, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lczs;<init>(Ljava/util/List;Ldjg$d;)V
      intermediary <init> Lnet/minecraft/class_2356;<init>(Ljava/util/List;Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/FlowerBlock;<init>(Ljava/util/List;Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<? extends FlowerBlock> getCodec()
      Specified by:
      getCodec in class PlantBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ldjg;a()Lcom/mojang/serialization/MapCodec;
      intermediary method_53969 Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
      named getCodec Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
    • createStewEffectList

      protected static List<SuspiciousStewIngredient.StewEffect> createStewEffectList(StatusEffect stewEffect, int duration)
      Mappings:
      Namespace Name Mixin selector
      official a Lczs;a(Lblg;I)Ljava/util/List;
      intermediary method_54015 Lnet/minecraft/class_2356;method_54015(Lnet/minecraft/class_1291;I)Ljava/util/List;
      named createStewEffectList Lnet/minecraft/block/FlowerBlock;createStewEffectList(Lnet/minecraft/entity/effect/StatusEffect;I)Ljava/util/List;
    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ldjg;a(Ldjh;Lcsv;Lhx;Lely;)Lemm;
      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;
    • getStewEffects

      public List<SuspiciousStewIngredient.StewEffect> getStewEffects()
      Specified by:
      getStewEffects in interface SuspiciousStewIngredient
      Mappings:
      Namespace Name Mixin selector
      official b Lder;b()Ljava/util/List;
      intermediary method_53233 Lnet/minecraft/class_7917;method_53233()Ljava/util/List;
      named getStewEffects Lnet/minecraft/block/SuspiciousStewIngredient;getStewEffects()Ljava/util/List;