net.minecraft.block

public class FlowerBlock

extends PlantBlock implements SuspiciousStewIngredient

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, SuspiciousStewIngredient

net.minecraft.world.level.block.FlowerBlock
net.minecraft.class_2356
net.minecraft.block.FlowerBlock

Field summary

Modifier and TypeField
protected static final com.mojang.serialization.MapCodec<SuspiciousStewEffectsComponent>
EFFECTS_FIELD
field_46354
STEW_EFFECT_CODEC
public static final com.mojang.serialization.MapCodec<FlowerBlock>
CODEC
field_46355
CODEC
private static final VoxelShape
SHAPE
field_11085
SHAPE
private final SuspiciousStewEffectsComponent
suspiciousStewEffects
field_45775
stewEffects

Constructor summary

ModifierConstructor
public (RegistryEntry<StatusEffect> stewEffect, float effectLengthInSeconds, AbstractBlock$Settings settings)
public (SuspiciousStewEffectsComponent stewEffects, AbstractBlock$Settings settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends FlowerBlock>
codec()
method_53969()
getCodec()
protected static SuspiciousStewEffectsComponent
makeEffectList(Holder<MobEffect> suspiciousStewEffect, float effectSeconds)
method_54015(class_6880<class_1291> arg0, float arg1)
createStewEffectList(RegistryEntry<StatusEffect> effect, float effectLengthInSeconds)
protected VoxelShape
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
public SuspiciousStewEffectsComponent
getSuspiciousEffects()
method_53233()
getStewEffects()
public StatusEffectInstance
getBeeInteractionEffect()
method_65152()
getContactEffect()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_54016(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_54016(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)