Fixed mounts bc chiss is bad
This commit is contained in:
parent
2cace7419f
commit
145832b326
@ -83,6 +83,8 @@ public class MountSpider extends HorseMount
|
|||||||
horse.setOwner(player);
|
horse.setOwner(player);
|
||||||
horse.setMaxDomestication(1);
|
horse.setMaxDomestication(1);
|
||||||
horse.setJumpStrength(_jump);
|
horse.setJumpStrength(_jump);
|
||||||
|
horse.setMaxHealth(10);
|
||||||
|
horse.setHealth(horse.getMaxHealth());
|
||||||
horse.getInventory().setSaddle(new ItemStack(Material.SADDLE));
|
horse.getInventory().setSaddle(new ItemStack(Material.SADDLE));
|
||||||
|
|
||||||
if (horse.getVariant() == Variant.MULE)
|
if (horse.getVariant() == Variant.MULE)
|
||||||
|
@ -1,37 +1,39 @@
|
|||||||
package mineplex.core.mount.types;
|
package mineplex.core.mount.types;
|
||||||
|
|
||||||
|
import mineplex.core.common.util.C;
|
||||||
|
import mineplex.core.common.util.UtilParticle;
|
||||||
|
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||||
|
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||||
|
import mineplex.core.common.util.UtilServer;
|
||||||
|
import mineplex.core.mount.HorseMount;
|
||||||
|
import mineplex.core.mount.MountManager;
|
||||||
|
import mineplex.core.updater.UpdateType;
|
||||||
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.Horse;
|
import org.bukkit.entity.Horse;
|
||||||
import org.bukkit.entity.Horse.Color;
|
import org.bukkit.entity.Horse.Color;
|
||||||
import org.bukkit.entity.Horse.Style;
|
import org.bukkit.entity.Horse.Style;
|
||||||
import org.bukkit.entity.Horse.Variant;
|
import org.bukkit.entity.Horse.Variant;
|
||||||
import org.bukkit.entity.Player;
|
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
|
|
||||||
import mineplex.core.common.util.C;
|
|
||||||
import mineplex.core.common.util.UtilParticle;
|
|
||||||
import mineplex.core.common.util.UtilServer;
|
|
||||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
|
||||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
|
||||||
import mineplex.core.mount.HorseMount;
|
|
||||||
import mineplex.core.mount.MountManager;
|
|
||||||
import mineplex.core.updater.UpdateType;
|
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
|
||||||
|
|
||||||
public class MountUndead extends HorseMount
|
public class MountUndead extends HorseMount
|
||||||
{
|
{
|
||||||
public MountUndead(MountManager manager)
|
public MountUndead(MountManager manager)
|
||||||
{
|
{
|
||||||
super(manager, "Infernal Horror", new String[]
|
super(manager, "Decrepit Warhorse", new String[]
|
||||||
{
|
{
|
||||||
C.cWhite + "The most ghastly horse in",
|
C.cWhite + "Once a noble steed, it",
|
||||||
C.cWhite + "existance, from the pits of",
|
C.cWhite + "has been beaten down by",
|
||||||
C.cWhite + "the Nether.",
|
C.cWhite + "years of faithful service.",
|
||||||
|
C.Line,
|
||||||
|
C.cYellow + "Earned by defeating the Pumpkin King",
|
||||||
|
C.cYellow + "in the 2014 Halloween Horror Event.",
|
||||||
},
|
},
|
||||||
Material.BONE,
|
Material.BONE,
|
||||||
(byte)0,
|
(byte)0,
|
||||||
20000,
|
20000,
|
||||||
Color.BLACK, Style.BLACK_DOTS, Variant.SKELETON_HORSE, 0.8, null);
|
Color.BLACK, Style.NONE, Variant.UNDEAD_HORSE, 0.8, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
|
Loading…
Reference in New Issue
Block a user