public class SleepingLocationCheckEvent extends PlayerEvent
Event.HasResultBlock#isBed(IBlockState, net.minecraft.world.IWorldReader, BlockPos, Entity) insteadPlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.VisibilityLivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing| Constructor and Description |
|---|
SleepingLocationCheckEvent(EntityPlayer player,
BlockPos sleepingLocation) |
| Modifier and Type | Method and Description |
|---|---|
BlockPos |
getSleepingLocation() |
getEntityPlayergetEntityLivinggetEntitypublic SleepingLocationCheckEvent(EntityPlayer player, BlockPos sleepingLocation)
public BlockPos getSleepingLocation()