Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 04:50:06 +01:00
Implement Slime.set/getSize()
Dieser Commit ist enthalten in:
Ursprung
cd50683f78
Commit
9f30c9f8f4
@ -16,4 +16,15 @@ public class CraftSlime extends CraftLivingEntity implements Slime {
|
|||||||
return "CraftSlime";
|
return "CraftSlime";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public EntitySlime getHandle() {
|
||||||
|
return (EntitySlime) super.getHandle();
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getSize() {
|
||||||
|
return getHandle().c;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSize(int size) {
|
||||||
|
getHandle().e(size);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren