public class SleepingLocationCheckEvent extends LivingEvent
Event.HasResultBlock#isBed(IBlockState, net.minecraft.world.IWorldReader, BlockPos, Entity) insteadLivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeight| Constructor and Description |
|---|
SleepingLocationCheckEvent(LivingEntity player,
BlockPos sleepingLocation) |
| Modifier and Type | Method and Description |
|---|---|
BlockPos |
getSleepingLocation() |
getEntityLivinggetEntitypublic SleepingLocationCheckEvent(LivingEntity player, BlockPos sleepingLocation)
public BlockPos getSleepingLocation()