- Enclosing class:
EntitySleepEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
@Nullable net.minecraft.core.Direction
modifySleepDirection(net.minecraft.world.entity.LivingEntity entity,
net.minecraft.core.BlockPos sleepingPos,
@Nullable net.minecraft.core.Direction sleepingDirection)
Modifies or provides a sleeping direction for a block.