public class FlyingModelPredicate extends java.lang.Object implements ModelPredicate
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<FlyingModelPredicate> |
CODEC |
Constructor and Description |
---|
FlyingModelPredicate(int flyingDelayLimit) |
Modifier and Type | Method and Description |
---|---|
com.mojang.serialization.Codec<? extends ModelPredicate> |
codec() |
boolean |
shouldUseModel(AbstractClientEntity entity) |
public static com.mojang.serialization.Codec<FlyingModelPredicate> CODEC
public com.mojang.serialization.Codec<? extends ModelPredicate> codec()
codec
in interface ModelPredicate
public boolean shouldUseModel(AbstractClientEntity entity)
shouldUseModel
in interface ModelPredicate