Fix indent and broken with setter
This commit is contained in:
parent
5b835073e0
commit
ea0539b24e
@ -36,7 +36,8 @@ public final class SoundEffect implements Serializable
|
|||||||
// FIELDS: WITH
|
// FIELDS: WITH
|
||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
|
|
||||||
public SoundEffect withSound(Sound sound) { return new SoundEffect(soundId, volume, pitch); }
|
public SoundEffect withSoundId(String soundId) { return new SoundEffect(soundId, volume, pitch); }
|
||||||
|
public SoundEffect withSound(Sound sound) { return new SoundEffect(TypeSound.get().getId(sound), volume, pitch); }
|
||||||
public SoundEffect withVolume(float volume) { return new SoundEffect(soundId, volume, pitch); }
|
public SoundEffect withVolume(float volume) { return new SoundEffect(soundId, volume, pitch); }
|
||||||
public SoundEffect withPitch(float pitch) { return new SoundEffect(soundId, volume, pitch); }
|
public SoundEffect withPitch(float pitch) { return new SoundEffect(soundId, volume, pitch); }
|
||||||
|
|
||||||
|
@ -111,12 +111,12 @@ public class TypeSound extends TypeEnum<Sound>
|
|||||||
"CREEPER_HISS", "ENTITY_CREEPER_PRIMED",
|
"CREEPER_HISS", "ENTITY_CREEPER_PRIMED",
|
||||||
"CREEPER_DEATH", "ENTITY_CREEPER_DEATH",
|
"CREEPER_DEATH", "ENTITY_CREEPER_DEATH",
|
||||||
|
|
||||||
"ENDERDRAGON_DEATH", "ENTITY_ENDERDRAGON_DEATH",
|
"ENDERDRAGON_DEATH", "ENTITY_ENDERDRAGON_DEATH",
|
||||||
"ENDERDRAGON_GROWL", "ENTITY_ENDERDRAGON_GROWL",
|
"ENDERDRAGON_GROWL", "ENTITY_ENDERDRAGON_GROWL",
|
||||||
"ENDERDRAGON_HIT", "ENTITY_ENDERDRAGON_HURT",
|
"ENDERDRAGON_HIT", "ENTITY_ENDERDRAGON_HURT",
|
||||||
"ENDERDRAGON_WINGS", "ENTITY_ENDERDRAGON_FLAP",
|
"ENDERDRAGON_WINGS", "ENTITY_ENDERDRAGON_FLAP",
|
||||||
|
|
||||||
"ENDERMAN_DEATH", "ENTITY_ENDERMEN_DEATH",
|
"ENDERMAN_DEATH", "ENTITY_ENDERMEN_DEATH",
|
||||||
"ENDERMAN_HIT", "ENTITY_ENDERMEN_HURT",
|
"ENDERMAN_HIT", "ENTITY_ENDERMEN_HURT",
|
||||||
"ENDERMAN_IDLE", "ENTITY_ENDERMEN_AMBIENT",
|
"ENDERMAN_IDLE", "ENTITY_ENDERMEN_AMBIENT",
|
||||||
"ENDERMAN_TELEPORT", "ENTITY_ENDERMEN_TELEPORT",
|
"ENDERMAN_TELEPORT", "ENTITY_ENDERMEN_TELEPORT",
|
||||||
@ -124,14 +124,14 @@ public class TypeSound extends TypeEnum<Sound>
|
|||||||
"ENDERMAN_STARE", "ENTITY_ENDERMEN_STARE",
|
"ENDERMAN_STARE", "ENTITY_ENDERMEN_STARE",
|
||||||
|
|
||||||
// Really unsure about all of these
|
// Really unsure about all of these
|
||||||
"GHAST_SCREAM", "ENTITY_GHAST_AMBIENT",
|
"GHAST_SCREAM", "ENTITY_GHAST_AMBIENT",
|
||||||
"GHAST_SCREAM2", "ENTITY_GHAST_SCREAM",
|
"GHAST_SCREAM2", "ENTITY_GHAST_SCREAM",
|
||||||
"GHAST_CHARGE", "ENTITY_GHAST_WARN",
|
"GHAST_CHARGE", "ENTITY_GHAST_WARN",
|
||||||
"GHAST_DEATH", "ENTITY_GHAST_DEATH",
|
"GHAST_DEATH", "ENTITY_GHAST_DEATH",
|
||||||
"GHAST_FIREBALL", "ENTITY_GHAST_SHOOT",
|
"GHAST_FIREBALL", "ENTITY_GHAST_SHOOT",
|
||||||
"GHAST_MOAN", "ENTITY_GHAST_HURT",
|
"GHAST_MOAN", "ENTITY_GHAST_HURT",
|
||||||
|
|
||||||
"IRONGOLEM_DEATH", "ENTITY_IRONGOLEM_DEATH",
|
"IRONGOLEM_DEATH", "ENTITY_IRONGOLEM_DEATH",
|
||||||
"IRONGOLEM_HIT", "ENTITY_IRONGOLEM_HURT",
|
"IRONGOLEM_HIT", "ENTITY_IRONGOLEM_HURT",
|
||||||
"IRONGOLEM_THROW", "ENTITY_IRONGOLEM_ATTACK",
|
"IRONGOLEM_THROW", "ENTITY_IRONGOLEM_ATTACK",
|
||||||
"IRONGOLEM_WALK", "ENTITY_IRONGOLEM_STEP",
|
"IRONGOLEM_WALK", "ENTITY_IRONGOLEM_STEP",
|
||||||
@ -140,7 +140,7 @@ public class TypeSound extends TypeEnum<Sound>
|
|||||||
"MAGMACUBE_WALK2", "ENTITY_MAGMACUBE_HURT", // TODO: This is a wild guess.
|
"MAGMACUBE_WALK2", "ENTITY_MAGMACUBE_HURT", // TODO: This is a wild guess.
|
||||||
"MAGMACUBE_JUMP", "ENTITY_MAGMACUBE_JUMP",
|
"MAGMACUBE_JUMP", "ENTITY_MAGMACUBE_JUMP",
|
||||||
|
|
||||||
"PIG_IDLE", "ENTITY_PIG_AMBIENT",
|
"PIG_IDLE", "ENTITY_PIG_AMBIENT",
|
||||||
"PIG_DEATH", "ENTITY_PIG_DEATH",
|
"PIG_DEATH", "ENTITY_PIG_DEATH",
|
||||||
"PIG_WALK", "ENTITY_PIG_STEP",
|
"PIG_WALK", "ENTITY_PIG_STEP",
|
||||||
|
|
||||||
@ -148,12 +148,12 @@ public class TypeSound extends TypeEnum<Sound>
|
|||||||
"SHEEP_SHEAR", "ENTITY_SHEEP_SHEAR",
|
"SHEEP_SHEAR", "ENTITY_SHEEP_SHEAR",
|
||||||
"SHEEP_WALK", "ENTITY_SHEEP_STEP",
|
"SHEEP_WALK", "ENTITY_SHEEP_STEP",
|
||||||
|
|
||||||
"SILVERFISH_HIT", "ENTITY_SILVERFISH_HURT",
|
"SILVERFISH_HIT", "ENTITY_SILVERFISH_HURT",
|
||||||
"SILVERFISH_KILL", "ENTITY_SILVERFISH_DEATH",
|
"SILVERFISH_KILL", "ENTITY_SILVERFISH_DEATH",
|
||||||
"SILVERFISH_IDLE", "ENTITY_SILVERFISH_AMBIENT",
|
"SILVERFISH_IDLE", "ENTITY_SILVERFISH_AMBIENT",
|
||||||
"SILVERFISH_WALK", "ENTITY_SILVERFISH_STEP",
|
"SILVERFISH_WALK", "ENTITY_SILVERFISH_STEP",
|
||||||
|
|
||||||
"SKELETON_IDLE", "ENTITY_SKELETON_AMBIENT",
|
"SKELETON_IDLE", "ENTITY_SKELETON_AMBIENT",
|
||||||
"SKELETON_DEATH", "ENTITY_SKELETON_DEATH",
|
"SKELETON_DEATH", "ENTITY_SKELETON_DEATH",
|
||||||
"SKELETON_HURT", "ENTITY_SKELETON_HURT",
|
"SKELETON_HURT", "ENTITY_SKELETON_HURT",
|
||||||
"SKELETON_WALK", "ENTITY_SKELETON_STEP",
|
"SKELETON_WALK", "ENTITY_SKELETON_STEP",
|
||||||
@ -162,11 +162,11 @@ public class TypeSound extends TypeEnum<Sound>
|
|||||||
"SLIME_WALK", "ENTITY_SLIME_SQUISH",
|
"SLIME_WALK", "ENTITY_SLIME_SQUISH",
|
||||||
"SLIME_WALK2", "ENTITY_SLIME_JUMP",
|
"SLIME_WALK2", "ENTITY_SLIME_JUMP",
|
||||||
|
|
||||||
"SPIDER_IDLE", "ENTITY_SPIDER_AMBIENT",
|
"SPIDER_IDLE", "ENTITY_SPIDER_AMBIENT",
|
||||||
"SPIDER_DEATH", "ENTITY_SPIDER_DEATH",
|
"SPIDER_DEATH", "ENTITY_SPIDER_DEATH",
|
||||||
"SPIDER_WALK", "ENTITY_SPIDER_STEP",
|
"SPIDER_WALK", "ENTITY_SPIDER_STEP",
|
||||||
|
|
||||||
"WITHER_DEATH", "ENTITY_WITHER_DEATH",
|
"WITHER_DEATH", "ENTITY_WITHER_DEATH",
|
||||||
"WITHER_HURT", "ENTITY_WITHER_HURT",
|
"WITHER_HURT", "ENTITY_WITHER_HURT",
|
||||||
"WITHER_IDLE", "ENTITY_WITHER_AMBIENT",
|
"WITHER_IDLE", "ENTITY_WITHER_AMBIENT",
|
||||||
"WITHER_SHOOT", "ENTITY_WITHER_SHOOT",
|
"WITHER_SHOOT", "ENTITY_WITHER_SHOOT",
|
||||||
@ -231,7 +231,7 @@ public class TypeSound extends TypeEnum<Sound>
|
|||||||
"HORSE_SOFT", "ENTITY_HORSE_STEP",
|
"HORSE_SOFT", "ENTITY_HORSE_STEP",
|
||||||
"HORSE_WOOD", "ENTITY_HORSE_STEP_WOOD",
|
"HORSE_WOOD", "ENTITY_HORSE_STEP_WOOD",
|
||||||
|
|
||||||
"DONKEY_ANGRY", "ENTITY_DONKEY_ANGRY",
|
"DONKEY_ANGRY", "ENTITY_DONKEY_ANGRY",
|
||||||
"DONKEY_DEATH", "ENTITY_DONKEY_DEATH",
|
"DONKEY_DEATH", "ENTITY_DONKEY_DEATH",
|
||||||
"DONKEY_HIT", "ENTITY_DONKEY_HURT",
|
"DONKEY_HIT", "ENTITY_DONKEY_HURT",
|
||||||
"DONKEY_IDLE", "ENTITY_DONKEY_AMBIENT",
|
"DONKEY_IDLE", "ENTITY_DONKEY_AMBIENT",
|
||||||
|
Loading…
Reference in New Issue
Block a user