Added variable size
Added variable and dynamic hitbox Added dynamic growth times Ony Achillobator test (FIX FOR 1.21.1)
This commit is contained in:
@@ -306,10 +306,17 @@ public class AchillobatorEntity extends DinoEntityBase implements GeoEntity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*? if <=1.20.1 {*/
|
||||||
@Override
|
@Override
|
||||||
public EntityDimensions getDimensions(Pose pose) {
|
public EntityDimensions getDimensions(Pose pose) {
|
||||||
return this.getType().getDimensions().scale(this.getTotalModelScale());
|
return this.getType().getDimensions().scale(this.getTotalModelScale());
|
||||||
}
|
}
|
||||||
|
/*?} else {*/
|
||||||
|
/*@Override
|
||||||
|
protected EntityDimensions getDefaultDimensions(Pose pose) {
|
||||||
|
return this.getType().getDimensions().scale(this.getTotalModelScale());
|
||||||
|
}
|
||||||
|
*//*?}*/
|
||||||
|
|
||||||
public int getTypeVariant() {
|
public int getTypeVariant() {
|
||||||
return this.entityData.get(VARIANT);
|
return this.entityData.get(VARIANT);
|
||||||
|
|||||||
Reference in New Issue
Block a user