geforkt von Mirrors/Paper
Added bed events and methods.
By: sk89q <the.sk89q@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
1486672b8a
Commit
07082e80ca
@ -47,4 +47,14 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
|
|||||||
public String toString() {
|
public String toString() {
|
||||||
return "CraftHumanEntity{" + "id=" + getEntityId() + "name=" + getName() + '}';
|
return "CraftHumanEntity{" + "id=" + getEntityId() + "name=" + getName() + '}';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isSleeping() {
|
||||||
|
return getHandle().sleeping;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getSleepTicks() {
|
||||||
|
return getHandle().sleepTicks;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren