More accurate turtle scale

This commit is contained in:
Camotoy 2024-09-26 18:10:18 -04:00
parent 84dac08058
commit 23cf397fa8
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -55,6 +55,17 @@ public class TurtleEntity extends AnimalEntity {
return ItemTag.TURTLE_FOOD; return ItemTag.TURTLE_FOOD;
} }
@Override
protected float getAdultSize() {
return super.getAdultSize() * 0.7f;
}
@Override
protected float getBabySize() {
// 0.3f is Java scale, plus Bedrock difference
return 0.3f * 0.5f;
}
@Override @Override
public boolean canBeLeashed() { public boolean canBeLeashed() {
return false; return false;