add isDeeplySleeping to HumanEntity
This commit is contained in:
@@ -132,6 +132,13 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
|
|||||||
}
|
}
|
||||||
// Paper end
|
// Paper end
|
||||||
|
|
||||||
|
// Paper start
|
||||||
|
@Override
|
||||||
|
public boolean isDeeplySleeping() {
|
||||||
|
return getHandle().isSleepingLongEnough();
|
||||||
|
}
|
||||||
|
// Paper end
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getSleepTicks() {
|
public int getSleepTicks() {
|
||||||
return this.getHandle().sleepCounter;
|
return this.getHandle().sleepCounter;
|
||||||
|
|||||||
Reference in New Issue
Block a user