- 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
boolean
setBedOccupationState(net.minecraft.world.entity.LivingEntity entity,
net.minecraft.core.BlockPos sleepingPos,
net.minecraft.world.level.block.state.BlockState bedState,
boolean occupied)
Sets the occupation state of a bed block.