public class SleepingLocationCheckEvent extends LivingEvent
Event.HasResult
Block#isBed(IBlockState, net.minecraft.world.IWorldReader, BlockPos, Entity)
insteadLivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeight
Event.HasResult, Event.Result
コンストラクタと説明 |
---|
SleepingLocationCheckEvent(LivingEntity player,
BlockPos sleepingLocation) |
修飾子とタイプ | メソッドと説明 |
---|---|
BlockPos |
getSleepingLocation() |
getEntityLiving
getEntity
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public SleepingLocationCheckEvent(LivingEntity player, BlockPos sleepingLocation)
public BlockPos getSleepingLocation()