Interface EntitySleepEvents.StopSleeping
- Enclosing class:
- EntitySleepEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonStopSleeping(net.minecraft.entity.LivingEntity entity, net.minecraft.util.math.BlockPos sleepingPos)Called when an entity stops sleeping and wakes up.
-
Method Details
-
onStopSleeping
void onStopSleeping(net.minecraft.entity.LivingEntity entity, net.minecraft.util.math.BlockPos sleepingPos)Called when an entity stops sleeping and wakes up.- Parameters:
entity- the sleeping entitysleepingPos- the sleeping position of the entity
-