net.minecraft.world.level.block

public class HoneyBlock

extends HalfTransparentBlock

All mapped superinterfaces:

FeatureElement, ItemLike

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

Field summary

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

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<HoneyBlock>
a()
codec()
method_53969()
getCodec()
private static boolean
c(bum arg0)
doesEntityDoHoneyBlockSlideEffects(Entity arg0)
method_24179(class_1297 arg0)
hasHoneyBlockEffects(Entity entity)
protected VoxelShape
b(dwy arg0, dfo arg1, ji arg2, fbg arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
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
a(dgj arg0, dwy arg1, ji arg2, bum arg3, float arg4)
fallOn(Level arg0, BlockState arg1, BlockPos arg2, Entity arg3, float arg4)
method_9554(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_1297 arg3, float arg4)
onLandedUpon(World arg0, BlockState arg1, BlockPos arg2, Entity arg3, float arg4)
protected void
a(dwy arg0, dgj arg1, ji arg2, bum arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
private static double
a(double arg0)
getOldDeltaY(double arg0)
method_65067(double arg0)
method_65067(double arg0)
private static double
b(double arg0)
getNewDeltaY(double arg0)
method_65068(double arg0)
method_65068(double arg0)
private boolean
a(ji arg0, bum arg1)
isSlidingDown(BlockPos arg0, Entity arg1)
method_23356(class_2338 arg0, class_1297 arg1)
isSliding(BlockPos pos, Entity entity)
private void
a(bum arg0, ji arg1)
maybeDoSlideAchievement(Entity arg0, BlockPos arg1)
method_24176(class_1297 arg0, class_2338 arg1)
triggerAdvancement(Entity entity, BlockPos pos)
private void
d(bum arg0)
doSlideMovement(Entity arg0)
method_24180(class_1297 arg0)
updateSlidingVelocity(Entity entity)
private void
a(dgj arg0, bum arg1)
maybeDoSlideEffects(Level arg0, Entity arg1)
method_24177(class_1937 arg0, class_1297 arg1)
addCollisionEffects(World world, Entity entity)
public static void
a(bum arg0)
showSlideParticles(Entity arg0)
method_24175(class_1297 arg0)
addRegularParticles(Entity entity)
public static void
b(bum arg0)
showJumpParticles(Entity arg0)
method_24178(class_1297 arg0)
addRichParticles(Entity entity)
private static void
a(bum arg0, int arg1)
showParticles(Entity arg0, int arg1)
method_23355(class_1297 arg0, int arg1)
addParticles(Entity entity, int count)