mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Fixed seaponies. Resolves #119
This commit is contained in:
parent
db13e99c86
commit
0140d6b413
2 changed files with 7 additions and 2 deletions
|
@ -8,6 +8,7 @@ import com.minelittlepony.model.BodyPart;
|
||||||
import com.minelittlepony.model.IUnicorn;
|
import com.minelittlepony.model.IUnicorn;
|
||||||
import com.minelittlepony.model.ModelAttributes;
|
import com.minelittlepony.model.ModelAttributes;
|
||||||
import com.minelittlepony.model.armour.IEquestrianArmour;
|
import com.minelittlepony.model.armour.IEquestrianArmour;
|
||||||
|
import com.minelittlepony.pony.IPony;
|
||||||
import com.minelittlepony.pony.IPonyData;
|
import com.minelittlepony.pony.IPonyData;
|
||||||
import com.minelittlepony.pony.meta.Size;
|
import com.minelittlepony.pony.meta.Size;
|
||||||
|
|
||||||
|
@ -15,6 +16,11 @@ public interface IPonyMixinModel<T extends LivingEntity, M extends IPonyModel<T>
|
||||||
|
|
||||||
M mixin();
|
M mixin();
|
||||||
|
|
||||||
|
@Override
|
||||||
|
default void updateLivingState(T entity, IPony pony) {
|
||||||
|
mixin().updateLivingState(entity, pony);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
default void init(float yOffset, float stretch) {
|
default void init(float yOffset, float stretch) {
|
||||||
mixin().init(yOffset, stretch);
|
mixin().init(yOffset, stretch);
|
||||||
|
|
|
@ -10,9 +10,8 @@ import com.minelittlepony.model.PonyModelConstants;
|
||||||
import com.minelittlepony.pony.IPony;
|
import com.minelittlepony.pony.IPony;
|
||||||
|
|
||||||
public interface IPonyModel<T extends LivingEntity> extends PonyModelConstants, IModel, ICapitated<Cuboid>, ICompartmented<Cuboid> {
|
public interface IPonyModel<T extends LivingEntity> extends PonyModelConstants, IModel, ICapitated<Cuboid>, ICompartmented<Cuboid> {
|
||||||
default void updateLivingState(T entity, IPony pony) {
|
|
||||||
|
|
||||||
}
|
void updateLivingState(T entity, IPony pony);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
default boolean hasHeadGear() {
|
default boolean hasHeadGear() {
|
||||||
|
|
Loading…
Reference in a new issue