Class FlowerBlock

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

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

    • field_31094

      protected static final float field_31094
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcpn;a: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 b Lcpn;b:Leax;
      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;
    • effectInStew

      private final StatusEffect effectInStew
      Mappings:
      Namespace Name Mixin selector
      official c Lcpn;c:Lbdi;
      intermediary field_11087 Lnet/minecraft/class_2356;field_11087:Lnet/minecraft/class_1291;
      named effectInStew Lnet/minecraft/block/FlowerBlock;effectInStew:Lnet/minecraft/entity/effect/StatusEffect;
    • effectInStewDuration

      private final int effectInStewDuration
      Mappings:
      Namespace Name Mixin selector
      official d Lcpn;d:I
      intermediary field_11086 Lnet/minecraft/class_2356;field_11086:I
      named effectInStewDuration Lnet/minecraft/block/FlowerBlock;effectInStewDuration:I
  • Constructor Details

    • FlowerBlock

      public FlowerBlock(StatusEffect suspiciousStewEffect, int effectDuration, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcpn;<init>(Lbdi;ILcys$c;)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
  • 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 Lcys;a(Lcyt;Lcjc;Lgp;Leaj;)Leax;
      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;
    • getEffectInStew

      public StatusEffect getEffectInStew()
      Specified by:
      getEffectInStew in interface SuspiciousStewIngredient
      Mappings:
      Namespace Name Mixin selector
      official b Lcup;b()Lbdi;
      intermediary method_10188 Lnet/minecraft/class_7917;method_10188()Lnet/minecraft/class_1291;
      named getEffectInStew Lnet/minecraft/block/SuspiciousStewIngredient;getEffectInStew()Lnet/minecraft/entity/effect/StatusEffect;
    • getEffectInStewDuration

      public int getEffectInStewDuration()
      Specified by:
      getEffectInStewDuration in interface SuspiciousStewIngredient
      Mappings:
      Namespace Name Mixin selector
      official c Lcup;c()I
      intermediary method_10187 Lnet/minecraft/class_7917;method_10187()I
      named getEffectInStewDuration Lnet/minecraft/block/SuspiciousStewIngredient;getEffectInStewDuration()I