Package net.minecraft.world.level.block
Class LayeredCauldronBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.AbstractCauldronBlock
net.minecraft.world.level.block.LayeredCauldronBlock
- All Implemented Interfaces:
FeatureElement
,ItemLike
,IForgeBlock
- Direct Known Subclasses:
PowderSnowCauldronBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.Block
Block.BlockStatePairKey
Nested classes/interfaces inherited from class net.minecraft.world.level.block.state.BlockBehaviour
BlockBehaviour.BlockStateBase, BlockBehaviour.OffsetFunction, BlockBehaviour.OffsetType, BlockBehaviour.Properties, BlockBehaviour.StateArgumentPredicate<A>, BlockBehaviour.StatePredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final Predicate<Biome.Precipitation>
private static final double
static final IntegerProperty
static final int
static final int
static final Predicate<Biome.Precipitation>
static final Predicate<Biome.Precipitation>
Fields inherited from class net.minecraft.world.level.block.AbstractCauldronBlock
FLOOR_LEVEL, SHAPE
Fields inherited from class net.minecraft.world.level.block.Block
BLOCK_STATE_REGISTRY, INDESTRUCTIBLE, INSTANT, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SUPPRESS_DROPS, UPDATE_SUPPRESS_LIGHT
Fields inherited from class net.minecraft.world.level.block.state.BlockBehaviour
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDER
Fields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES
-
Constructor Summary
ConstructorDescriptionLayeredCauldronBlock
(BlockBehaviour.Properties p_153522_, Predicate<Biome.Precipitation> p_153523_, Map<Item, CauldronInteraction> p_153524_) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canReceiveStalactiteDrip
(Fluid p_153551_) protected void
void
entityInside
(BlockState p_153534_, Level p_153535_, BlockPos p_153536_, Entity p_153537_) int
getAnalogOutputSignal
(BlockState p_153530_, Level p_153531_, BlockPos p_153532_) protected double
getContentHeight
(BlockState p_153528_) protected void
handleEntityOnFireInside
(BlockState p_153556_, Level p_153557_, BlockPos p_153558_) void
handlePrecipitation
(BlockState p_153539_, Level p_153540_, BlockPos p_153541_, Biome.Precipitation p_153542_) boolean
isFull
(BlockState p_153555_) static void
lowerFillLevel
(BlockState p_153560_, Level p_153561_, BlockPos p_153562_) protected void
receiveStalactiteDrip
(BlockState p_153544_, Level p_153545_, BlockPos p_153546_, Fluid p_153547_) Methods inherited from class net.minecraft.world.level.block.AbstractCauldronBlock
getInteractionShape, getShape, hasAnalogOutputSignal, isEntityInsideContent, isPathfindable, tick, use
Methods inherited from class net.minecraft.world.level.block.Block
animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getRenderPropertiesInternal, getShapeForEachState, getSoundType, getSpeedFactor, getStateDefinition, getStateForPlacement, hasDynamicShape, initializeClient, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOf
Methods inherited from class net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMaterialColor, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, requiredFeatures, rotate, skipRendering, spawnAfterBreak, triggerEvent, updateIndirectNeighbourShapes, updateShape, useShapeForLightOcclusion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabled
Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlock
addLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hidesNeighborFace, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isValidSpawn, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHiding
-
Field Details
-
MIN_FILL_LEVEL
public static final int MIN_FILL_LEVEL- See Also:
-
MAX_FILL_LEVEL
public static final int MAX_FILL_LEVEL- See Also:
-
LEVEL
-
BASE_CONTENT_HEIGHT
private static final int BASE_CONTENT_HEIGHT- See Also:
-
HEIGHT_PER_LEVEL
private static final double HEIGHT_PER_LEVEL- See Also:
-
RAIN
-
SNOW
-
fillPredicate
-
-
Constructor Details
-
LayeredCauldronBlock
public LayeredCauldronBlock(BlockBehaviour.Properties p_153522_, Predicate<Biome.Precipitation> p_153523_, Map<Item, CauldronInteraction> p_153524_)
-
-
Method Details
-
isFull
- Specified by:
isFull
in classAbstractCauldronBlock
-
canReceiveStalactiteDrip
- Overrides:
canReceiveStalactiteDrip
in classAbstractCauldronBlock
-
getContentHeight
- Overrides:
getContentHeight
in classAbstractCauldronBlock
-
entityInside
public void entityInside(BlockState p_153534_, Level p_153535_, BlockPos p_153536_, Entity p_153537_) - Overrides:
entityInside
in classBlockBehaviour
-
handleEntityOnFireInside
-
lowerFillLevel
-
handlePrecipitation
public void handlePrecipitation(BlockState p_153539_, Level p_153540_, BlockPos p_153541_, Biome.Precipitation p_153542_) - Overrides:
handlePrecipitation
in classBlock
-
getAnalogOutputSignal
- Overrides:
getAnalogOutputSignal
in classBlockBehaviour
-
createBlockStateDefinition
- Overrides:
createBlockStateDefinition
in classBlock
-
receiveStalactiteDrip
protected void receiveStalactiteDrip(BlockState p_153544_, Level p_153545_, BlockPos p_153546_, Fluid p_153547_) - Overrides:
receiveStalactiteDrip
in classAbstractCauldronBlock
-