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.EyeHeightEvent.HasResult, Event.Result| コンストラクタと説明 |
|---|
SleepingLocationCheckEvent(LivingEntity player,
BlockPos sleepingLocation) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
BlockPos |
getSleepingLocation() |
getEntityLivinggetEntitygetListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic SleepingLocationCheckEvent(LivingEntity player, BlockPos sleepingLocation)
public BlockPos getSleepingLocation()