net.minecraft.world.level.block

public class FlowerBlock

extends BushBlock implements SuspiciousEffectHolder

All mapped superinterfaces:

FeatureElement, ItemLike, SuspiciousEffectHolder

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

Field summary

Modifier and TypeField
protected static final com.mojang.serialization.MapCodec<SuspiciousStewEffects>
a
EFFECTS_FIELD
field_46354
STEW_EFFECT_CODEC
public static final com.mojang.serialization.MapCodec<FlowerBlock>
b
CODEC
field_46355
CODEC
protected static final float
c
AABB_OFFSET
field_31094
field_31094
protected static final VoxelShape
d
SHAPE
field_11085
SHAPE
private final SuspiciousStewEffects
e
suspiciousStewEffects
field_45775
stewEffects

Constructor summary

ModifierConstructor
public (Holder<MobEffect> stewEffect, float effectLengthInSeconds, BlockBehaviour$Properties settings)
public (SuspiciousStewEffects stewEffects, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends FlowerBlock>
a()
codec()
method_53969()
getCodec()
protected static SuspiciousStewEffects
a(jq<bun> arg0, float arg1)
makeEffectList(Holder<MobEffect> arg0, float arg1)
method_54015(class_6880<class_1291> arg0, float arg1)
createStewEffectList(RegistryEntry<StatusEffect> effect, float effectLengthInSeconds)
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
public SuspiciousStewEffects
b()
getSuspiciousEffects()
method_53233()
getStewEffects()