net.minecraft.block

public class HoneyBlock

extends TranslucentBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.HoneyBlock
net.minecraft.world.level.block.HoneyBlock
net.minecraft.class_4622
net.minecraft.block.HoneyBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<HoneyBlock>
CODEC
CODEC
field_46369
CODEC
private static final double
SLIDE_STARTS_WHEN_VERTICAL_SPEED_IS_AT_LEAST
SLIDE_STARTS_WHEN_VERTICAL_SPEED_IS_AT_LEAST
field_31101
field_31101
private static final double
MIN_FALL_SPEED_TO_BE_CONSIDERED_SLIDING
MIN_FALL_SPEED_TO_BE_CONSIDERED_SLIDING
field_31102
field_31102
private static final double
THROTTLE_SLIDE_SPEED_TO
THROTTLE_SLIDE_SPEED_TO
field_31103
field_31103
private static final int
SLIDE_ADVANCEMENT_CHECK_INTERVAL
SLIDE_ADVANCEMENT_CHECK_INTERVAL
field_31104
TICKS_PER_SECOND
private static final VoxelShape
SHAPE
SHAPE
field_21213
SHAPE

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<HoneyBlock>
codec()
codec()
method_53969()
getCodec()
private static boolean
doesEntityDoHoneyBlockSlideEffects(Entity entity)
doesEntityDoHoneyBlockSlideEffects(Entity entity)
method_24179(class_1297 arg0)
hasHoneyBlockEffects(Entity entity)
protected VoxelShape
getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
public void
fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance)
fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance)
method_9554(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_1297 arg3, double arg4)
onLandedUpon(World arg0, BlockState arg1, BlockPos arg2, Entity arg3, double arg4)
protected void
entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise)
entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3, class_10774 arg4, boolean arg5)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3, EntityCollisionHandler arg4, boolean arg5)
private static double
getOldDeltaY(double deltaY)
getOldDeltaY(double deltaY)
method_65067(double arg0)
getOldVelocityY(double arg0)
private static double
getNewDeltaY(double deltaY)
getNewDeltaY(double deltaY)
method_65068(double arg0)
getNewVelocityY(double arg0)
private boolean
isSlidingDown(BlockPos pos, Entity entity)
isSlidingDown(BlockPos pos, Entity entity)
method_23356(class_2338 arg0, class_1297 arg1)
isSliding(BlockPos pos, Entity entity)
private void
maybeDoSlideAchievement(Entity entity, BlockPos pos)
maybeDoSlideAchievement(Entity entity, BlockPos pos)
method_24176(class_1297 arg0, class_2338 arg1)
triggerAdvancement(Entity entity, BlockPos pos)
private void
doSlideMovement(Entity entity)
doSlideMovement(Entity entity)
method_24180(class_1297 arg0)
updateSlidingVelocity(Entity entity)
private void
maybeDoSlideEffects(Level level, Entity entity)
maybeDoSlideEffects(Level level, Entity entity)
method_24177(class_1937 arg0, class_1297 arg1)
addCollisionEffects(World world, Entity entity)
public static void
showSlideParticles(Entity entity)
showSlideParticles(Entity entity)
method_24175(class_1297 arg0)
addRegularParticles(Entity entity)
public static void
showJumpParticles(Entity entity)
showJumpParticles(Entity entity)
method_24178(class_1297 arg0)
addRichParticles(Entity entity)
private static void
showParticles(Entity entity, int count)
showParticles(Entity entity, int count)
method_23355(class_1297 arg0, int arg1)
addParticles(Entity entity, int count)