Package net.minecraft.block
Class LavaCauldronBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.AbstractCauldronBlock
net.minecraft.block.LavaCauldronBlock
- All Implemented Interfaces:
ItemConvertible
,ToggleableFeature
A cauldron filled with lava.
- Mappings:
Namespace Name named net/minecraft/block/LavaCauldronBlock
intermediary net/minecraft/class_5553
official dun
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<LavaCauldronBlock> private static final VoxelShape
private static final VoxelShape
Fields inherited from class net.minecraft.block.AbstractCauldronBlock
behaviorMap, field_30988, OUTLINE_SHAPE
Fields inherited from class net.minecraft.block.Block
field_31023, field_31024, field_31025, FORCE_STATE, FORCE_STATE_AND_SKIP_CALLBACKS_AND_DROPS, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_BLOCK_ADDED_CALLBACK, SKIP_BLOCK_ENTITY_REPLACED_CALLBACK, SKIP_DROPS, SKIP_REDRAW_AND_BLOCK_ENTITY_REPLACED_CALLBACK, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplier
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<LavaCauldronBlock> getCodec()
protected int
getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected double
getFluidHeight
(BlockState state) protected VoxelShape
getInsideCollisionShape
(BlockState state, BlockView world, BlockPos pos, Entity entity) boolean
isFull
(BlockState state) Returnstrue
if the specified cauldron state is completely full,false
otherwise.protected void
onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.Methods inherited from class net.minecraft.block.AbstractCauldronBlock
canBeFilledByDripstone, canPathfindThrough, fillFromDripstone, getOutlineShape, getRaycastShape, hasComparatorOutput, onUseWithItem, scheduledTick
Methods inherited from class net.minecraft.block.Block
afterBreak, appendProperties, asBlock, asItem, canMobSpawnInside, cannotConnect, createColumnShape, createColumnShape, createCubeShape, createCuboidShape, createCuboidShape, createCuboidZShape, createCuboidZShape, createCuboidZShape, createShapeArray, createShapeFunction, createShapeFunction, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPlacementState, getRawIdFromState, getRegistryEntry, getSlipperiness, getStateFromRawId, getStateManager, getStateWithProperties, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getPickStack, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, isTransparent, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/block/LavaCauldronBlock;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_46382
Lnet/minecraft/class_5553;field_46382:Lcom/mojang/serialization/MapCodec;
official d
Ldun;d:Lcom/mojang/serialization/MapCodec;
-
LAVA_SHAPE
- Mappings:
Namespace Name Mixin selector named LAVA_SHAPE
Lnet/minecraft/block/LavaCauldronBlock;LAVA_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_60559
Lnet/minecraft/class_5553;field_60559:Lnet/minecraft/class_265;
official e
Ldun;e:Lfjm;
-
INSIDE_COLLISION_SHAPE
- Mappings:
Namespace Name Mixin selector named INSIDE_COLLISION_SHAPE
Lnet/minecraft/block/LavaCauldronBlock;INSIDE_COLLISION_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_60560
Lnet/minecraft/class_5553;field_60560:Lnet/minecraft/class_265;
official f
Ldun;f:Lfjm;
-
-
Constructor Details
-
LavaCauldronBlock
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
official <init>
Leea;<init>(Leea$d;)V
-
-
Method Details
-
getCodec
- Specified by:
getCodec
in classAbstractCauldronBlock
- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_53969
Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
official a
Leea;a()Lcom/mojang/serialization/MapCodec;
-
getFluidHeight
- Overrides:
getFluidHeight
in classAbstractCauldronBlock
- Mappings:
Namespace Name Mixin selector named getFluidHeight
Lnet/minecraft/block/AbstractCauldronBlock;getFluidHeight(Lnet/minecraft/block/BlockState;)D
intermediary method_31615
Lnet/minecraft/class_2275;method_31615(Lnet/minecraft/class_2680;)D
official b
Ldos;b(Leeb;)D
-
isFull
Returnstrue
if the specified cauldron state is completely full,false
otherwise.- Specified by:
isFull
in classAbstractCauldronBlock
- Parameters:
state
- the cauldron state to check- Returns:
true
if the specified cauldron state is completely full,false
otherwise- Mappings:
Namespace Name Mixin selector named isFull
Lnet/minecraft/block/AbstractCauldronBlock;isFull(Lnet/minecraft/block/BlockState;)Z
intermediary method_32766
Lnet/minecraft/class_2275;method_32766(Lnet/minecraft/class_2680;)Z
official d
Ldos;d(Leeb;)Z
-
getInsideCollisionShape
protected VoxelShape getInsideCollisionShape(BlockState state, BlockView world, BlockPos pos, Entity entity) - Overrides:
getInsideCollisionShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector named getInsideCollisionShape
Lnet/minecraft/block/AbstractBlock;getInsideCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/shape/VoxelShape;
intermediary method_64022
Lnet/minecraft/class_4970;method_64022(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Lnet/minecraft/class_265;
official a
Leea;a(Leeb;Ldly;Ljb;Lbzm;)Lfjm;
-
onEntityCollision
protected void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block. Therefore, this method is not called for blocks with a collision; useBlock.onSteppedOn(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, net.minecraft.entity.Entity)
for those blocks.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using
World.isClient
.Here are some examples:
CactusBlock
damages the entity.AbstractPressurePlateBlock
triggers.CobwebBlock
slows the entity.EndPortalBlock
teleports the entity.HopperBlock
collects the item entity.
- Overrides:
onEntityCollision
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector named onEntityCollision
Lnet/minecraft/block/AbstractBlock;onEntityCollision(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityCollisionHandler;)V
intermediary method_9548
Lnet/minecraft/class_4970;method_9548(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;Lnet/minecraft/class_10774;)V
official a
Leea;a(Leeb;Ldmu;Ljb;Lbzm;Lcae;)V
-
getComparatorOutput
Returns the comparator output of the block, from0
to15
.When overriding this,
AbstractCauldronBlock.hasComparatorOutput(net.minecraft.block.BlockState)
must also be overridden.- Overrides:
getComparatorOutput
in classAbstractBlock
- Returns:
- the comparator output of the block, from
0
to15
- See Also:
- Mappings:
Namespace Name Mixin selector named getComparatorOutput
Lnet/minecraft/block/AbstractBlock;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
intermediary method_9572
Lnet/minecraft/class_4970;method_9572(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)I
official a
Leea;a(Leeb;Ldmu;Ljb;)I
-