blob: eed3a42dc45b21a3e4019a2a4e681934208afd85 [file] [log] [blame] [raw]
package com.legacy.aether.api.moa;
import net.minecraft.util.ResourceLocation;
public class MoaProperties {
private int maxJumps;
private float moaSpeed;
private ResourceLocation location = null;
public MoaProperties(int maxJumps, float moaSpeed) {
this.maxJumps = maxJumps;
this.moaSpeed = moaSpeed;
}
public MoaProperties(int maxJumps, float moaSpeed, ResourceLocation location) {
this(maxJumps, moaSpeed);
this.location = location;
}
public int getMaxJumps() {
return this.maxJumps;
}
public float getMoaSpeed() {
return this.moaSpeed;
}
public boolean hasCustomTexture() {
return this.location != null;
}
public ResourceLocation getCustomTexture(boolean isSaddled, boolean isBeingRidden) {
return this.location;
}
}