net.minecraft.block

public class LeveledCauldronBlock

extends AbstractCauldronBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.LayeredCauldronBlock
net.minecraft.world.level.block.LayeredCauldronBlock
net.minecraft.class_5556
net.minecraft.block.LeveledCauldronBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LeveledCauldronBlock>
CODEC
CODEC
field_46383
CODEC
public static final int
MIN_FILL_LEVEL
MIN_FILL_LEVEL
field_31107
MIN_LEVEL
public static final int
MAX_FILL_LEVEL
MAX_FILL_LEVEL
field_31108
MAX_LEVEL
public static final IntProperty
LEVEL
LEVEL
field_27206
LEVEL
private static final int
BASE_CONTENT_HEIGHT
BASE_CONTENT_HEIGHT
field_31109
BASE_FLUID_HEIGHT
private static final double
HEIGHT_PER_LEVEL
HEIGHT_PER_LEVEL
field_31110
FLUID_HEIGHT_PER_LEVEL
private static final VoxelShape[]
FILLED_SHAPES
FILLED_SHAPES
field_60561
INSIDE_COLLISION_SHAPE_BY_LEVEL
private final Biome$Precipitation
precipitationType
precipitationType
field_46384
precipitation

Constructor summary

ModifierConstructor
public (Biome$Precipitation precipitation, CauldronBehavior$Map behaviorMap, AbstractBlock$Settings settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<LeveledCauldronBlock>
codec()
codec()
method_53969()
getCodec()
public boolean
isFull(BlockState state)
isFull(BlockState state)
method_32766(class_2680 arg0)
isFull(BlockState arg0)
protected boolean
canReceiveStalactiteDrip(Fluid fluid)
canReceiveStalactiteDrip(Fluid fluid)
method_32765(class_3611 arg0)
canBeFilledByDripstone(Fluid arg0)
protected double
getContentHeight(BlockState state)
getContentHeight(BlockState state)
method_31615(class_2680 arg0)
getFluidHeight(BlockState arg0)
private static double
getPixelContentHeight(int level)
getPixelContentHeight(int level)
method_71629(int arg0)
getFluidHeight(int level)
protected VoxelShape
getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity)
getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity)
method_64022(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_1297 arg3)
getInsideCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, Entity arg3)
protected void
entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise)
entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3, class_10774 arg4, boolean arg5)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3, EntityCollisionHandler arg4, boolean arg5)
private void
handleEntityOnFireInside(BlockState state, Level level, BlockPos pos)
handleEntityOnFireInside(BlockState state, Level level, BlockPos pos)
method_36994(class_2680 arg0, class_1937 arg1, class_2338 arg2)
onFireCollision(BlockState state, World world, BlockPos pos)
public static void
lowerFillLevel(BlockState state, Level level, BlockPos pos)
lowerFillLevel(BlockState state, Level level, BlockPos pos)
method_31650(class_2680 arg0, class_1937 arg1, class_2338 arg2)
decrementFluidLevel(BlockState state, World world, BlockPos pos)
public void
handlePrecipitation(BlockState state, Level level, BlockPos pos, Biome$Precipitation precipitation)
handlePrecipitation(BlockState state, Level level, BlockPos pos, Biome$Precipitation precipitation)
method_9504(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1959$class_1963 arg3)
precipitationTick(BlockState arg0, World arg1, BlockPos arg2, Biome$Precipitation arg3)
protected int
getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction)
getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2350 arg3)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2, Direction arg3)
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected void
receiveStalactiteDrip(BlockState state, Level level, BlockPos pos, Fluid fluid)
receiveStalactiteDrip(BlockState state, Level level, BlockPos pos, Fluid fluid)
method_32764(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_3611 arg3)
fillFromDripstone(BlockState arg0, World arg1, BlockPos arg2, Fluid arg3)