mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-11-26 08:51:47 +01:00
More accurate turtle scale
This commit is contained in:
parent
84dac08058
commit
23cf397fa8
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue