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.BlockStatePairKeyNested classes/interfaces inherited from class net.minecraft.world.level.block.state.BlockBehaviour
BlockBehaviour.BlockStateBase, BlockBehaviour.OffsetType, BlockBehaviour.Properties, BlockBehaviour.StateArgumentPredicate<A>, BlockBehaviour.StatePredicate -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final Predicate<Biome.Precipitation>private static final doublestatic final IntegerPropertystatic final intstatic final intstatic final Predicate<Biome.Precipitation>static final Predicate<Biome.Precipitation>Fields inherited from class net.minecraft.world.level.block.AbstractCauldronBlock
FLOOR_LEVEL, SHAPEFields 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_LIGHTFields inherited from class net.minecraft.world.level.block.state.BlockBehaviour
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDERFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
ConstructorsConstructorDescriptionLayeredCauldronBlock(BlockBehaviour.Properties p_153522_, Predicate<Biome.Precipitation> p_153523_, Map<Item, CauldronInteraction> p_153524_) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanReceiveStalactiteDrip(Fluid p_153551_) protected voidvoidentityInside(BlockState p_153534_, Level p_153535_, BlockPos p_153536_, Entity p_153537_) intgetAnalogOutputSignal(BlockState p_153530_, Level p_153531_, BlockPos p_153532_) protected doublegetContentHeight(BlockState p_153528_) protected voidhandleEntityOnFireInside(BlockState p_153556_, Level p_153557_, BlockPos p_153558_) voidhandlePrecipitation(BlockState p_153539_, Level p_153540_, BlockPos p_153541_, Biome.Precipitation p_153542_) booleanisFull(BlockState p_153555_) static voidlowerFillLevel(BlockState p_153560_, Level p_153561_, BlockPos p_153562_) protected voidreceiveStalactiteDrip(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, useMethods 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, withPropertiesOfMethods 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, useShapeForLightOcclusionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabledMethods 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:
isFullin classAbstractCauldronBlock
-
canReceiveStalactiteDrip
- Overrides:
canReceiveStalactiteDripin classAbstractCauldronBlock
-
getContentHeight
- Overrides:
getContentHeightin classAbstractCauldronBlock
-
entityInside
public void entityInside(BlockState p_153534_, Level p_153535_, BlockPos p_153536_, Entity p_153537_) - Overrides:
entityInsidein classBlockBehaviour
-
handleEntityOnFireInside
-
lowerFillLevel
-
handlePrecipitation
public void handlePrecipitation(BlockState p_153539_, Level p_153540_, BlockPos p_153541_, Biome.Precipitation p_153542_) - Overrides:
handlePrecipitationin classBlock
-
getAnalogOutputSignal
- Overrides:
getAnalogOutputSignalin classBlockBehaviour
-
createBlockStateDefinition
- Overrides:
createBlockStateDefinitionin classBlock
-
receiveStalactiteDrip
protected void receiveStalactiteDrip(BlockState p_153544_, Level p_153545_, BlockPos p_153546_, Fluid p_153547_) - Overrides:
receiveStalactiteDripin classAbstractCauldronBlock
-