use of de.sanandrew.mods.claysoldiers.util.mount.EnumHorseType in project ClaySoldiersMod by SanAndreasP.
the class ParticleHelper method spawnHorseDeathFx.
public static void spawnHorseDeathFx(Quartet<Double, Double, Double, Byte> data, Minecraft mc) {
EnumHorseType type = EnumHorseType.VALUES[data.getValue3()];
for (int i = 0; i < 5; i++) {
ParticleHorseDeath fx = new ParticleHorseDeath(mc.theWorld, data.getValue0(), data.getValue1(), data.getValue2(), type);
mc.effectRenderer.addEffect(fx);
}
}
Aggregations