Package net.minecraft.block
Class LeveledCauldronBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.AbstractCauldronBlock
net.minecraft.block.LeveledCauldronBlock
- All Implemented Interfaces:
ItemConvertible
- Direct Known Subclasses:
PowderSnowCauldronBlock
- Mappings:
Namespace Name official cgo
intermediary net/minecraft/class_5556
named net/minecraft/block/LeveledCauldronBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
private static final int
private static final double
static final IntProperty
private final Predicate<Biome.Precipitation>
static final Predicate<Biome.Precipitation>
static final Predicate<Biome.Precipitation>
Fields inherited from class net.minecraft.block.AbstractCauldronBlock
field_30988, OUTLINE_SHAPE
Fields inherited from class net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, LOGGER, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
ConstructorDescriptionLeveledCauldronBlock
(AbstractBlock.Settings settings, Predicate<Biome.Precipitation> precipitationPredicate, Map<Item, CauldronBehavior> behaviorMap) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendProperties
(StateManager.Builder<Block, BlockState> builder) protected boolean
canBeFilledByDripstone
(Fluid fluid) static void
decrementFluidLevel
(BlockState state, World world, BlockPos pos) protected void
fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) int
getComparatorOutput
(BlockState state, World world, BlockPos pos) protected double
getFluidHeight
(BlockState state) boolean
isFull
(BlockState state) void
onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) protected void
onFireCollision
(BlockState state, World world, BlockPos pos) void
precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Methods inherited from class net.minecraft.block.AbstractCauldronBlock
canPathfindThrough, getOutlineShape, getRaycastShape, hasComparatorOutput, isEntityTouchingFluid, onUse, scheduledTick
Methods inherited from class net.minecraft.block.Block
afterBreak, appendStacks, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasSidedTransparency, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, prepare, randomTick, rotate
-
Field Details
-
field_31107
public static final int field_31107- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lcgo;c:I
intermediary field_31107
Lnet/minecraft/class_5556;field_31107:I
named field_31107
Lnet/minecraft/block/LeveledCauldronBlock;field_31107:I
-
field_31108
public static final int field_31108- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lcgo;d:I
intermediary field_31108
Lnet/minecraft/class_5556;field_31108:I
named field_31108
Lnet/minecraft/block/LeveledCauldronBlock;field_31108:I
-
LEVEL
- Mappings:
Namespace Name Mixin selector official e
Lcgo;e:Lcow;
intermediary field_27206
Lnet/minecraft/class_5556;field_27206:Lnet/minecraft/class_2758;
named LEVEL
Lnet/minecraft/block/LeveledCauldronBlock;LEVEL:Lnet/minecraft/state/property/IntProperty;
-
field_31109
private static final int field_31109- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lcgo;h:I
intermediary field_31109
Lnet/minecraft/class_5556;field_31109:I
named field_31109
Lnet/minecraft/block/LeveledCauldronBlock;field_31109:I
-
field_31110
private static final double field_31110- See Also:
- Mappings:
Namespace Name Mixin selector official i
Lcgo;i:D
intermediary field_31110
Lnet/minecraft/class_5556;field_31110:D
named field_31110
Lnet/minecraft/block/LeveledCauldronBlock;field_31110:D
-
RAIN_PREDICATE
- Mappings:
Namespace Name Mixin selector official f
Lcgo;f:Ljava/util/function/Predicate;
intermediary field_27880
Lnet/minecraft/class_5556;field_27880:Ljava/util/function/Predicate;
named RAIN_PREDICATE
Lnet/minecraft/block/LeveledCauldronBlock;RAIN_PREDICATE:Ljava/util/function/Predicate;
-
SNOW_PREDICATE
- Mappings:
Namespace Name Mixin selector official g
Lcgo;g:Ljava/util/function/Predicate;
intermediary field_27881
Lnet/minecraft/class_5556;field_27881:Ljava/util/function/Predicate;
named SNOW_PREDICATE
Lnet/minecraft/block/LeveledCauldronBlock;SNOW_PREDICATE:Ljava/util/function/Predicate;
-
precipitationPredicate
- Mappings:
Namespace Name Mixin selector official j
Lcgo;j:Ljava/util/function/Predicate;
intermediary field_27882
Lnet/minecraft/class_5556;field_27882:Ljava/util/function/Predicate;
named precipitationPredicate
Lnet/minecraft/block/LeveledCauldronBlock;precipitationPredicate:Ljava/util/function/Predicate;
-
-
Constructor Details
-
LeveledCauldronBlock
public LeveledCauldronBlock(AbstractBlock.Settings settings, Predicate<Biome.Precipitation> precipitationPredicate, Map<Item, CauldronBehavior> behaviorMap) - Mappings:
Namespace Name Mixin selector official <init>
Lcgo;<init>(Lcnu$c;Ljava/util/function/Predicate;Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_5556;<init>(Lnet/minecraft/class_4970$class_2251;Ljava/util/function/Predicate;Ljava/util/Map;)V
named <init>
Lnet/minecraft/block/LeveledCauldronBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;Ljava/util/function/Predicate;Ljava/util/Map;)V
-
-
Method Details
-
isFull
- Specified by:
isFull
in classAbstractCauldronBlock
- Mappings:
Namespace Name Mixin selector official c
Lcbk;c(Lcnv;)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
-
canBeFilledByDripstone
- Overrides:
canBeFilledByDripstone
in classAbstractCauldronBlock
- Mappings:
Namespace Name Mixin selector official a
Lcbk;a(Ldhh;)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
-
getFluidHeight
- Overrides:
getFluidHeight
in classAbstractCauldronBlock
- Mappings:
Namespace Name Mixin selector official a
Lcbk;a(Lcnv;)D
intermediary method_31615
Lnet/minecraft/class_2275;method_31615(Lnet/minecraft/class_2680;)D
named getFluidHeight
Lnet/minecraft/block/AbstractCauldronBlock;getFluidHeight(Lnet/minecraft/block/BlockState;)D
-
onEntityCollision
- Overrides:
onEntityCollision
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcnu;a(Lcnv;Lbzw;Lgh;Lawm;)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;)V
named onEntityCollision
Lnet/minecraft/block/AbstractBlock;onEntityCollision(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
-
onFireCollision
- Mappings:
Namespace Name Mixin selector official d
Lcgo;d(Lcnv;Lbzw;Lgh;)V
intermediary method_36994
Lnet/minecraft/class_5556;method_36994(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
named onFireCollision
Lnet/minecraft/block/LeveledCauldronBlock;onFireCollision(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
decrementFluidLevel
- Mappings:
Namespace Name Mixin selector official e
Lcgo;e(Lcnv;Lbzw;Lgh;)V
intermediary method_31650
Lnet/minecraft/class_5556;method_31650(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
named decrementFluidLevel
Lnet/minecraft/block/LeveledCauldronBlock;decrementFluidLevel(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
precipitationTick
public void precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) - Overrides:
precipitationTick
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lccr;a(Lcnv;Lbzw;Lgh;Lcas$d;)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
-
getComparatorOutput
- Overrides:
getComparatorOutput
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcnu;a(Lcnv;Lbzw;Lgh;)I
intermediary method_9572
Lnet/minecraft/class_4970;method_9572(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)I
named getComparatorOutput
Lnet/minecraft/block/AbstractBlock;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
-
appendProperties
- Overrides:
appendProperties
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lccr;a(Lcnw$a;)V
intermediary method_9515
Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
named appendProperties
Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
fillFromDripstone
- Overrides:
fillFromDripstone
in classAbstractCauldronBlock
- Mappings:
Namespace Name Mixin selector official a
Lcbk;a(Lcnv;Lbzw;Lgh;Ldhh;)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
-