Skip to content

SleepingTimeCheckEvent

To use this event use the following import:

groovy
import net.minecraftforge.event.entity.player.SleepingTimeCheckEvent

Sub-Classes

This event extends the following events and can use all their methods and fields:
PlayerEvent, LivingEvent, EntityEvent

Methods

groovy
boolean hasResult()
groovy
net.minecraft.util.math.BlockPos getSleepingLocation()

Contributors

Changelog

© 2024 CleanroomMC. All Rights Reserved.