Use player object instead of string
This commit is contained in:
parent
d399d80a6c
commit
3d99e4975a
@ -31,17 +31,23 @@ public enum DisguiseSound {
|
|||||||
"mob.horse.leather", "mob.horse.donkey.angry", "mob.horse.wood", "mob.horse.armor", "mob.horse.soft",
|
"mob.horse.leather", "mob.horse.donkey.angry", "mob.horse.wood", "mob.horse.armor", "mob.horse.soft",
|
||||||
"mob.horse.land", "mob.horse.jump", "mob.horse.angry"),
|
"mob.horse.land", "mob.horse.jump", "mob.horse.angry"),
|
||||||
|
|
||||||
|
ELDER_GUARDIAN("mob.guardian.elder.hit", null, "mob.guardian.elder.death", "mob.guardian.elder.death"),
|
||||||
|
|
||||||
ENDER_DRAGON("mob.enderdragon.hit", null, "mob.enderdragon.end", "mob.enderdragon.growl", "damage.fallsmall",
|
ENDER_DRAGON("mob.enderdragon.hit", null, "mob.enderdragon.end", "mob.enderdragon.growl", "damage.fallsmall",
|
||||||
"mob.enderdragon.wings", "damage.fallbig"),
|
"mob.enderdragon.wings", "damage.fallbig"),
|
||||||
|
|
||||||
ENDERMAN("mob.endermen.hit", "step.grass", "mob.endermen.death", "mob.endermen.idle", "mob.endermen.scream",
|
ENDERMAN("mob.endermen.hit", "step.grass", "mob.endermen.death", "mob.endermen.idle", "mob.endermen.scream",
|
||||||
"mob.endermen.portal", "mob.endermen.stare"),
|
"mob.endermen.portal", "mob.endermen.stare"),
|
||||||
|
|
||||||
|
ENDERMITE("mob.silverfish.hit", "mob.silverfish.step", "mob.silverfish.kill", "mob.silverfish.say"),
|
||||||
|
|
||||||
GHAST("mob.ghast.scream", null, "mob.ghast.death", "mob.ghast.moan", "damage.fallsmall", "mob.ghast.fireball",
|
GHAST("mob.ghast.scream", null, "mob.ghast.death", "mob.ghast.moan", "damage.fallsmall", "mob.ghast.fireball",
|
||||||
"damage.fallbig", "mob.ghast.affectionate_scream", "mob.ghast.charge"),
|
"damage.fallbig", "mob.ghast.affectionate_scream", "mob.ghast.charge"),
|
||||||
|
|
||||||
GIANT("damage.hit", "step.grass", null, null),
|
GIANT("damage.hit", "step.grass", null, null),
|
||||||
|
|
||||||
|
GUARDIAN("mob.guardian.hit", null, "mob.guardian.death", "mob.guardian.death"),
|
||||||
|
|
||||||
HORSE("mob.horse.hit", "step.grass", "mob.horse.death", "mob.horse.idle", "mob.horse.gallop", "mob.horse.leather",
|
HORSE("mob.horse.hit", "step.grass", "mob.horse.death", "mob.horse.idle", "mob.horse.gallop", "mob.horse.leather",
|
||||||
"mob.horse.wood", "mob.horse.armor", "mob.horse.soft", "mob.horse.land", "mob.horse.jump", "mob.horse.angry",
|
"mob.horse.wood", "mob.horse.armor", "mob.horse.soft", "mob.horse.land", "mob.horse.jump", "mob.horse.angry",
|
||||||
"mob.horse.leather"),
|
"mob.horse.leather"),
|
||||||
@ -63,6 +69,8 @@ public enum DisguiseSound {
|
|||||||
PLAYER(LibVersion.is1_7() ? "game.player.hurt" : "damage.hit", "step.grass", LibVersion.is1_7() ? "game.player.hurt"
|
PLAYER(LibVersion.is1_7() ? "game.player.hurt" : "damage.hit", "step.grass", LibVersion.is1_7() ? "game.player.hurt"
|
||||||
: "damage.hit", null),
|
: "damage.hit", null),
|
||||||
|
|
||||||
|
RABBIT("mob.rabbit.hurt", "mob.rabbit.hop", "mob.rabbit.death", "mob.rabbit.idle"),
|
||||||
|
|
||||||
SHEEP("mob.sheep.say", "mob.sheep.step", null, "mob.sheep.say", "mob.sheep.shear"),
|
SHEEP("mob.sheep.say", "mob.sheep.step", null, "mob.sheep.say", "mob.sheep.shear"),
|
||||||
|
|
||||||
SILVERFISH("mob.silverfish.hit", "mob.silverfish.step", "mob.silverfish.kill", "mob.silverfish.say"),
|
SILVERFISH("mob.silverfish.hit", "mob.silverfish.step", "mob.silverfish.kill", "mob.silverfish.say"),
|
||||||
|
Loading…
Reference in New Issue
Block a user