mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-11-22 14:56:25 +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;
|
||||
}
|
||||
|
||||
@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
|
||||
public boolean canBeLeashed() {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue