Package net.minecraft.block
Class CauldronBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.AbstractCauldronBlock
net.minecraft.block.CauldronBlock
- All Implemented Interfaces:
- ItemConvertible,- ToggleableFeature
An empty cauldron block.
- Mappings:
- Namespace - Name - official - cqh- intermediary - net/minecraft/class_5546- named - net/minecraft/block/CauldronBlock
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.block.BlockBlock.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlockAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final floatprivate static final floatFields inherited from class net.minecraft.block.AbstractCauldronBlockfield_30988, OUTLINE_SHAPEFields inherited from class net.minecraft.block.Blockfield_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlockcollidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureFEATURE_ENABLED_REGISTRY_KEYS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleancanBeFilledByDripstone(Fluid fluid) Checks if this cauldron block can be filled with the specified fluid by dripstone.protected static booleancanFillWithPrecipitation(World world, Biome.Precipitation precipitation) protected voidfillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.booleanisFull(BlockState state) Returnstrueif the specified cauldron state is completely full,falseotherwise.voidprecipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.Methods inherited from class net.minecraft.block.AbstractCauldronBlockcanPathfindThrough, getFluidHeight, getOutlineShape, getRaycastShape, hasComparatorOutput, isEntityTouchingFluid, onUse, scheduledTickMethods inherited from class net.minecraft.block.BlockafterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTransparent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlockcalcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getRenderingSeed, getRenderType, getRequiredFeatures, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, prepare, randomTick, rotateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureisEnabled
- 
Field Details- 
FILL_WITH_RAIN_CHANCEprivate static final float FILL_WITH_RAIN_CHANCE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - c- Lcqh;c:F- intermediary - field_34027- Lnet/minecraft/class_5546;field_34027:F- named - FILL_WITH_RAIN_CHANCE- Lnet/minecraft/block/CauldronBlock;FILL_WITH_RAIN_CHANCE:F
 
- 
FILL_WITH_SNOW_CHANCEprivate static final float FILL_WITH_SNOW_CHANCE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - d- Lcqh;d:F- intermediary - field_34028- Lnet/minecraft/class_5546;field_34028:F- named - FILL_WITH_SNOW_CHANCE- Lnet/minecraft/block/CauldronBlock;FILL_WITH_SNOW_CHANCE:F
 
 
- 
- 
Constructor Details- 
CauldronBlock- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Ldca;<init>(Ldca$d;)V- intermediary - <init>- Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V- named - <init>- Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
 
 
- 
- 
Method Details- 
isFullReturnstrueif the specified cauldron state is completely full,falseotherwise.- Specified by:
- isFullin class- AbstractCauldronBlock
- Parameters:
- state- the cauldron state to check
- Returns:
- trueif the specified cauldron state is completely full,- falseotherwise
- Mappings:
- Namespace - Name - Mixin selector - official - d- Lcof;d(Ldcb;)Z- intermediary - method_32766- Lnet/minecraft/class_2275;method_32766(Lnet/minecraft/class_2680;)Z- named - isFull- Lnet/minecraft/block/AbstractCauldronBlock;isFull(Lnet/minecraft/block/BlockState;)Z
 
- 
canFillWithPrecipitation- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcqh;a(Lcmm;Lcnk$c;)Z- intermediary - method_31636- Lnet/minecraft/class_5546;method_31636(Lnet/minecraft/class_1937;Lnet/minecraft/class_1959$class_1963;)Z- named - canFillWithPrecipitation- Lnet/minecraft/block/CauldronBlock;canFillWithPrecipitation(Lnet/minecraft/world/World;Lnet/minecraft/world/biome/Biome$Precipitation;)Z
 
- 
precipitationTickpublic void precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing. Like random ticks, only blocks within 128-block cylinder (i.e. ignoring Y coordinates) around players receive precipitation ticks. However, precipitation ticks are unaffected by therandomTickSpeedgame rule, andAbstractBlock.Settings.ticksRandomly()block setting is not required.LeveledCauldronBlockuses this to fill the cauldron.- Overrides:
- precipitationTickin class- Block
- Parameters:
- precipitation- the precipitation (snow or rain), including snow observable on high altitude
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcpn;a(Ldcb;Lcmm;Lgu;Lcnk$c;)V- intermediary - method_9504- Lnet/minecraft/class_2248;method_9504(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1959$class_1963;)V- named - precipitationTick- Lnet/minecraft/block/Block;precipitationTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/Biome$Precipitation;)V
 
- 
canBeFilledByDripstoneChecks if this cauldron block can be filled with the specified fluid by dripstone.- Overrides:
- canBeFilledByDripstonein class- AbstractCauldronBlock
- Parameters:
- fluid- the fluid to check
- Returns:
- trueif this block can be filled,- falseotherwise
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcof;a(Ldxd;)Z- intermediary - method_32765- Lnet/minecraft/class_2275;method_32765(Lnet/minecraft/class_3611;)Z- named - canBeFilledByDripstone- Lnet/minecraft/block/AbstractCauldronBlock;canBeFilledByDripstone(Lnet/minecraft/fluid/Fluid;)Z
 
- 
fillFromDripstoneFills a cauldron with one level of the specified fluid if possible.- Overrides:
- fillFromDripstonein class- AbstractCauldronBlock
- Parameters:
- state- the current cauldron state
- world- the world where the cauldron is located
- pos- the cauldron's position
- fluid- the fluid to fill the cauldron with
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcof;a(Ldcb;Lcmm;Lgu;Ldxd;)V- intermediary - method_32764- Lnet/minecraft/class_2275;method_32764(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;)V- named - fillFromDripstone- Lnet/minecraft/block/AbstractCauldronBlock;fillFromDripstone(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;)V
 
 
-