Cleaned up minor stuff
This commit is contained in:
parent
9284990ae1
commit
957cf83e67
2
pom.xml
2
pom.xml
@ -61,7 +61,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.comphenix.protocol</groupId>
|
<groupId>com.comphenix.protocol</groupId>
|
||||||
<artifactId>ProtocolLib</artifactId>
|
<artifactId>ProtocolLib</artifactId>
|
||||||
<version>2.4.7</version>
|
<version>2.5.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<version>6.8.1</version>
|
<version>6.8.1</version>
|
||||||
|
@ -20,7 +20,7 @@ public enum DisguiseSound {
|
|||||||
|
|
||||||
COW(Sound.COW_HURT, Sound.COW_WALK, Sound.COW_HURT, Sound.COW_IDLE),
|
COW(Sound.COW_HURT, Sound.COW_WALK, Sound.COW_HURT, Sound.COW_IDLE),
|
||||||
|
|
||||||
CREEPER(Sound.CREEPER_HISS, Sound.STEP_GRASS, Sound.CREEPER_DEATH, null),
|
CREEPER(Sound.CREEPER_HISS, Sound.STEP_GRASS, Sound.CREEPER_DEATH),
|
||||||
|
|
||||||
DONKEY("mob.horse.donkey.hit", Sound.STEP_GRASS, "mob.horse.donkey.death", "mob.horse.donkey.idle"),
|
DONKEY("mob.horse.donkey.hit", Sound.STEP_GRASS, "mob.horse.donkey.death", "mob.horse.donkey.idle"),
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ public enum DisguiseSound {
|
|||||||
GHAST(Sound.GHAST_SCREAM, null, Sound.GHAST_DEATH, Sound.GHAST_MOAN, Sound.GHAST_CHARGE, Sound.GHAST_FIREBALL,
|
GHAST(Sound.GHAST_SCREAM, null, Sound.GHAST_DEATH, Sound.GHAST_MOAN, Sound.GHAST_CHARGE, Sound.GHAST_FIREBALL,
|
||||||
Sound.GHAST_SCREAM2, Sound.FALL_BIG, Sound.FALL_SMALL),
|
Sound.GHAST_SCREAM2, Sound.FALL_BIG, Sound.FALL_SMALL),
|
||||||
|
|
||||||
GIANT(Sound.HURT_FLESH, Sound.STEP_GRASS, null, null),
|
GIANT(Sound.HURT_FLESH, Sound.STEP_GRASS),
|
||||||
|
|
||||||
HORSE("mob.horse.hit", Sound.STEP_GRASS, "mob.horse.death", "mob.horse.idle"),
|
HORSE("mob.horse.hit", Sound.STEP_GRASS, "mob.horse.death", "mob.horse.idle"),
|
||||||
|
|
||||||
@ -63,11 +63,11 @@ public enum DisguiseSound {
|
|||||||
|
|
||||||
SLIME(Sound.SLIME_ATTACK, Sound.SLIME_WALK2, null, null, Sound.SLIME_WALK),
|
SLIME(Sound.SLIME_ATTACK, Sound.SLIME_WALK2, null, null, Sound.SLIME_WALK),
|
||||||
|
|
||||||
SNOWMAN(null, null, null, null),
|
SNOWMAN(),
|
||||||
|
|
||||||
SPIDER(Sound.SPIDER_IDLE, Sound.SPIDER_WALK, Sound.SPIDER_DEATH, Sound.SPIDER_IDLE),
|
SPIDER(Sound.SPIDER_IDLE, Sound.SPIDER_WALK, Sound.SPIDER_DEATH, Sound.SPIDER_IDLE),
|
||||||
|
|
||||||
SQUID(null, null, null, null),
|
SQUID(),
|
||||||
|
|
||||||
UNDEAD_HORSE("mob.horse.zombie.hit", Sound.STEP_GRASS, "mob.horse.zombie.death", "mob.horse.zombie.idle"),
|
UNDEAD_HORSE("mob.horse.zombie.hit", Sound.STEP_GRASS, "mob.horse.zombie.death", "mob.horse.zombie.idle"),
|
||||||
|
|
||||||
|
@ -9,9 +9,11 @@ import org.bukkit.event.HandlerList;
|
|||||||
|
|
||||||
public class DisguisedEvent extends Event implements Cancellable {
|
public class DisguisedEvent extends Event implements Cancellable {
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
||||||
|
|
||||||
public static HandlerList getHandlerList() {
|
public static HandlerList getHandlerList() {
|
||||||
return handlers;
|
return handlers;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Disguise disguise;
|
private Disguise disguise;
|
||||||
private Entity disguised;
|
private Entity disguised;
|
||||||
|
|
||||||
|
@ -9,9 +9,11 @@ import org.bukkit.event.HandlerList;
|
|||||||
|
|
||||||
public class RedisguisedEvent extends Event implements Cancellable {
|
public class RedisguisedEvent extends Event implements Cancellable {
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
||||||
|
|
||||||
public static HandlerList getHandlerList() {
|
public static HandlerList getHandlerList() {
|
||||||
return handlers;
|
return handlers;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Entity disguised;
|
private Entity disguised;
|
||||||
private boolean isCancelled;
|
private boolean isCancelled;
|
||||||
private Disguise newDisguise;
|
private Disguise newDisguise;
|
||||||
|
@ -9,9 +9,11 @@ import org.bukkit.event.HandlerList;
|
|||||||
|
|
||||||
public class UndisguisedEvent extends Event implements Cancellable {
|
public class UndisguisedEvent extends Event implements Cancellable {
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
||||||
|
|
||||||
public static HandlerList getHandlerList() {
|
public static HandlerList getHandlerList() {
|
||||||
return handlers;
|
return handlers;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Disguise disguise;
|
private Disguise disguise;
|
||||||
private Entity disguised;
|
private Entity disguised;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user