BY_ID = Maps.newHashMap();
+ public static final Art KEBAB = getArt("kebab");
+ public static final Art AZTEC = getArt("aztec");
+ public static final Art ALBAN = getArt("alban");
+ public static final Art AZTEC2 = getArt("aztec2");
+ public static final Art BOMB = getArt("bomb");
+ public static final Art PLANT = getArt("plant");
+ public static final Art WASTELAND = getArt("wasteland");
+ public static final Art POOL = getArt("pool");
+ public static final Art COURBET = getArt("courbet");
+ public static final Art SEA = getArt("sea");
+ public static final Art SUNSET = getArt("sunset");
+ public static final Art CREEBET = getArt("creebet");
+ public static final Art WANDERER = getArt("wanderer");
+ public static final Art GRAHAM = getArt("graham");
+ public static final Art MATCH = getArt("match");
+ public static final Art BUST = getArt("bust");
+ public static final Art STAGE = getArt("stage");
+ public static final Art VOID = getArt("void");
+ public static final Art SKULL_AND_ROSES = getArt("skull_and_roses");
+ public static final Art WITHER = getArt("wither");
+ public static final Art FIGHTERS = getArt("fighters");
+ public static final Art POINTER = getArt("pointer");
+ public static final Art PIGSCENE = getArt("pigscene");
+ public static final Art BURNING_SKULL = getArt("burning_skull");
+ public static final Art SKELETON = getArt("skeleton");
+ public static final Art DONKEY_KONG = getArt("donkey_kong");
- private Art(int id, int width, int height) {
- this.id = id;
- this.width = width;
- this.height = height;
- this.key = NamespacedKey.minecraft(name().toLowerCase(java.util.Locale.ENGLISH));
+ @NotNull
+ private static Art getArt(@NotNull String key) {
+ NamespacedKey namespacedKey = NamespacedKey.minecraft(key);
+ Art art = Registry.ART.get(namespacedKey);
+ Preconditions.checkNotNull(art, "No Art found for %s. This is a bug.", namespacedKey);
+ BY_ID.put(art.ordinal(), art);
+ return art;
+ }
+
+ /**
+ * Get a painting by its unique name
+ *
+ * This ignores underscores and capitalization
+ *
+ * @param name The name
+ * @return The painting
+ */
+ @Nullable
+ public static Art getByName(@NotNull String name) {
+ Validate.notNull(name, "Name cannot be null");
+
+ return Registry.ART.get(NamespacedKey.fromString(name.toLowerCase(java.util.Locale.ENGLISH)));
}
/**
@@ -54,18 +73,14 @@ public enum Art implements Keyed {
*
* @return The width of the painting, in blocks
*/
- public int getBlockWidth() {
- return width;
- }
+ public abstract int getBlockWidth();
/**
* Gets the height of the painting, in blocks
*
* @return The height of the painting, in blocks
*/
- public int getBlockHeight() {
- return height;
- }
+ public abstract int getBlockHeight();
/**
* Get the ID of this painting.
@@ -74,15 +89,7 @@ public enum Art implements Keyed {
* @deprecated Magic value
*/
@Deprecated
- public int getId() {
- return id;
- }
-
- @NotNull
- @Override
- public NamespacedKey getKey() {
- return key;
- }
+ public abstract int getId();
/**
* Get a painting by its numeric ID
@@ -98,24 +105,25 @@ public enum Art implements Keyed {
}
/**
- * Get a painting by its unique name
- *
- * This ignores underscores and capitalization
- *
- * @param name The name
- * @return The painting
+ * @param name of the art.
+ * @return the art with the given name.
+ * @deprecated only for backwards compatibility, use {@link Registry#get(NamespacedKey)} instead.
*/
- @Nullable
- public static Art getByName(@NotNull String name) {
- Validate.notNull(name, "Name cannot be null");
-
- return BY_NAME.get(name.toLowerCase(java.util.Locale.ENGLISH));
+ @NotNull
+ @Deprecated
+ public static Art valueOf(@NotNull String name) {
+ Art art = Registry.ART.get(NamespacedKey.fromString(name.toLowerCase()));
+ Preconditions.checkArgument(art != null, "No Art found with the name %s", name);
+ return art;
}
- static {
- for (Art art : values()) {
- BY_ID.put(art.id, art);
- BY_NAME.put(art.toString().toLowerCase(java.util.Locale.ENGLISH), art);
- }
+ /**
+ * @return an array of all known Arts.
+ * @deprecated use {@link Registry#iterator()}.
+ */
+ @NotNull
+ @Deprecated
+ public static Art[] values() {
+ return Lists.newArrayList(Registry.ART).toArray(new Art[0]);
}
}
diff --git a/src/main/java/org/bukkit/Fluid.java b/src/main/java/org/bukkit/Fluid.java
index 525ede42..d03aec59 100644
--- a/src/main/java/org/bukkit/Fluid.java
+++ b/src/main/java/org/bukkit/Fluid.java
@@ -1,24 +1,46 @@
package org.bukkit;
-import java.util.Locale;
+import com.google.common.base.Preconditions;
+import com.google.common.collect.Lists;
+import org.bukkit.util.OldEnum;
import org.jetbrains.annotations.NotNull;
-public enum Fluid implements Keyed {
+public abstract class Fluid extends OldEnum implements Keyed {
- WATER,
- FLOWING_WATER,
- LAVA,
- FLOWING_LAVA;
-
- private final NamespacedKey key;
-
- private Fluid() {
- this.key = NamespacedKey.minecraft(this.name().toLowerCase(Locale.ROOT));
- }
+ public static final Fluid EMPTY = getFluid("empty");
+ public static final Fluid WATER = getFluid("water");
+ public static final Fluid FLOWING_WATER = getFluid("flowing_water");
+ public static final Fluid LAVA = getFluid("lava");
+ public static final Fluid FLOWING_LAVA = getFluid("flowing_lava");
@NotNull
- @Override
- public NamespacedKey getKey() {
- return key;
+ private static Fluid getFluid(@NotNull String key) {
+ NamespacedKey namespacedKey = NamespacedKey.minecraft(key);
+ Fluid fluid = Registry.FLUID.get(namespacedKey);
+ Preconditions.checkNotNull(fluid, "No Fluid found for %s. This is a bug.", namespacedKey);
+ return fluid;
+ }
+
+ /**
+ * @param name of the fluid.
+ * @return the fluid with the given name.
+ * @deprecated only for backwards compatibility, use {@link Registry#get(NamespacedKey)} instead.
+ */
+ @NotNull
+ @Deprecated
+ public static Fluid valueOf(@NotNull String name) {
+ Fluid fluid = Registry.FLUID.get(NamespacedKey.fromString(name.toLowerCase()));
+ Preconditions.checkArgument(fluid != null, "No Fluid found with the name %s", name);
+ return fluid;
+ }
+
+ /**
+ * @return an array of all known Fluid.
+ * @deprecated use {@link Registry#iterator()}.
+ */
+ @NotNull
+ @Deprecated
+ public static Fluid[] values() {
+ return Lists.newArrayList(Registry.FLUID).toArray(new Fluid[0]);
}
}
diff --git a/src/main/java/org/bukkit/Registry.java b/src/main/java/org/bukkit/Registry.java
index b8983f4d..76836e74 100644
--- a/src/main/java/org/bukkit/Registry.java
+++ b/src/main/java/org/bukkit/Registry.java
@@ -2,7 +2,6 @@ package org.bukkit;
import com.google.common.base.Predicates;
import com.google.common.collect.ImmutableMap;
-import java.util.Arrays;
import java.util.Iterator;
import java.util.Map;
import java.util.Objects;
@@ -16,6 +15,7 @@ import org.bukkit.entity.EntityType;
import org.bukkit.entity.Villager;
import org.bukkit.entity.memory.MemoryKey;
import org.bukkit.loot.LootTables;
+import org.bukkit.potion.PotionEffectType;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -52,19 +52,19 @@ public interface Registry extends Iterable {
*
* @see Art
*/
- Registry ART = new SimpleRegistry<>(Art.class);
+ Registry ART = Objects.requireNonNull(Bukkit.getRegistry(Art.class), "No registry present for Art. This is a bug.");
/**
* Attribute.
*
* @see Attribute
*/
- Registry ATTRIBUTE = new SimpleRegistry<>(Attribute.class);
+ Registry ATTRIBUTE = Objects.requireNonNull(Bukkit.getRegistry(Attribute.class), "No registry present for Attribute. This is a bug.");
/**
* Server biomes.
*
* @see Biome
*/
- Registry BIOME = Objects.requireNonNull(Bukkit.getRegistry(Biome.class), "No registry present for Biome");
+ Registry BIOME = Objects.requireNonNull(Bukkit.getRegistry(Biome.class), "No registry present for Biome. This is a bug.");
/**
* Custom boss bars.
*
@@ -90,26 +90,13 @@ public interface Registry extends Iterable {
*
* @see Enchantment#getByKey(org.bukkit.NamespacedKey)
*/
- Registry ENCHANTMENT = new Registry() {
-
- @Nullable
- @Override
- public Enchantment get(@NotNull NamespacedKey key) {
- return Enchantment.getByKey(key);
- }
-
- @NotNull
- @Override
- public Iterator iterator() {
- return Arrays.asList(Enchantment.values()).iterator();
- }
- };
+ Registry ENCHANTMENT = Objects.requireNonNull(Bukkit.getRegistry(Enchantment.class), "No registry present for Enchantment. This is a bug.");
/**
* Server entity types.
*
* @see EntityType
*/
- Registry ENTITY_TYPE = new SimpleRegistry<>(EntityType.class, (entity) -> entity != EntityType.UNKNOWN);
+ Registry ENTITY_TYPE = Objects.requireNonNull(Bukkit.getRegistry(EntityType.class), "No registry present for EntityType. This is a bug.");
/**
* Default server loot tables.
*
@@ -133,19 +120,19 @@ public interface Registry extends Iterable {
*
* @see Sound
*/
- Registry SOUNDS = new SimpleRegistry<>(Sound.class);
+ Registry SOUNDS = Objects.requireNonNull(Bukkit.getRegistry(Sound.class), "No registry present for Sound. This is a bug.");
/**
* Villager profession.
*
* @see Villager.Profession
*/
- Registry VILLAGER_PROFESSION = new SimpleRegistry<>(Villager.Profession.class);
+ Registry VILLAGER_PROFESSION = Objects.requireNonNull(Bukkit.getRegistry(Villager.Profession.class), "No registry present for Villager Profession. This is a bug.");
/**
* Villager type.
*
* @see Villager.Type
*/
- Registry VILLAGER_TYPE = new SimpleRegistry<>(Villager.Type.class);
+ Registry VILLAGER_TYPE = Objects.requireNonNull(Bukkit.getRegistry(Villager.Type.class), "No registry present for Villager Type. This is a bug.");
/**
* Memory Keys.
*
@@ -170,7 +157,7 @@ public interface Registry extends Iterable {
*
* @see Fluid
*/
- Registry FLUID = new SimpleRegistry<>(Fluid.class);
+ Registry FLUID = Objects.requireNonNull(Bukkit.getRegistry(Fluid.class), "No registry present for Fluid. This is a bug.");
/**
* Game events.
*
@@ -191,6 +178,13 @@ public interface Registry extends Iterable {
}
};
+ /**
+ * Server potion effect types.
+ *
+ * @see PotionEffectType
+ */
+ Registry POTION_EFFECT_TYPE = Objects.requireNonNull(Bukkit.getRegistry(PotionEffectType.class), "No registry present for Potion Effect Type. This is a bug.");
+
/**
* Get the object by its key.
*
diff --git a/src/main/java/org/bukkit/Sound.java b/src/main/java/org/bukkit/Sound.java
index 2c8cc0c2..9dc5f718 100644
--- a/src/main/java/org/bukkit/Sound.java
+++ b/src/main/java/org/bukkit/Sound.java
@@ -1,5 +1,8 @@
package org.bukkit;
+import com.google.common.base.Preconditions;
+import com.google.common.collect.Lists;
+import org.bukkit.util.OldEnum;
import org.jetbrains.annotations.NotNull;
/**
@@ -7,1211 +10,1241 @@ import org.jetbrains.annotations.NotNull;
*
* WARNING: At any time, sounds may be added/removed from this Enum or even
* MineCraft itself! There is no guarantee the sounds will play. There is no
- * guarantee values will not be removed from this Enum. As such, you should not
+ * guarantee values will not be removed from this class. As such, you should not
* depend on the ordinal values of this class.
*/
-public enum Sound implements Keyed {
+public abstract class Sound extends OldEnum implements Keyed {
- AMBIENT_BASALT_DELTAS_ADDITIONS("ambient.basalt_deltas.additions"),
- AMBIENT_BASALT_DELTAS_LOOP("ambient.basalt_deltas.loop"),
- AMBIENT_BASALT_DELTAS_MOOD("ambient.basalt_deltas.mood"),
- AMBIENT_CAVE("ambient.cave"),
- AMBIENT_CRIMSON_FOREST_ADDITIONS("ambient.crimson_forest.additions"),
- AMBIENT_CRIMSON_FOREST_LOOP("ambient.crimson_forest.loop"),
- AMBIENT_CRIMSON_FOREST_MOOD("ambient.crimson_forest.mood"),
- AMBIENT_NETHER_WASTES_ADDITIONS("ambient.nether_wastes.additions"),
- AMBIENT_NETHER_WASTES_LOOP("ambient.nether_wastes.loop"),
- AMBIENT_NETHER_WASTES_MOOD("ambient.nether_wastes.mood"),
- AMBIENT_SOUL_SAND_VALLEY_ADDITIONS("ambient.soul_sand_valley.additions"),
- AMBIENT_SOUL_SAND_VALLEY_LOOP("ambient.soul_sand_valley.loop"),
- AMBIENT_SOUL_SAND_VALLEY_MOOD("ambient.soul_sand_valley.mood"),
- AMBIENT_UNDERWATER_ENTER("ambient.underwater.enter"),
- AMBIENT_UNDERWATER_EXIT("ambient.underwater.exit"),
- AMBIENT_UNDERWATER_LOOP("ambient.underwater.loop"),
- AMBIENT_UNDERWATER_LOOP_ADDITIONS("ambient.underwater.loop.additions"),
- AMBIENT_UNDERWATER_LOOP_ADDITIONS_RARE("ambient.underwater.loop.additions.rare"),
- AMBIENT_UNDERWATER_LOOP_ADDITIONS_ULTRA_RARE("ambient.underwater.loop.additions.ultra_rare"),
- AMBIENT_WARPED_FOREST_ADDITIONS("ambient.warped_forest.additions"),
- AMBIENT_WARPED_FOREST_LOOP("ambient.warped_forest.loop"),
- AMBIENT_WARPED_FOREST_MOOD("ambient.warped_forest.mood"),
- BLOCK_AMETHYST_BLOCK_BREAK("block.amethyst_block.break"),
- BLOCK_AMETHYST_BLOCK_CHIME("block.amethyst_block.chime"),
- BLOCK_AMETHYST_BLOCK_FALL("block.amethyst_block.fall"),
- BLOCK_AMETHYST_BLOCK_HIT("block.amethyst_block.hit"),
- BLOCK_AMETHYST_BLOCK_PLACE("block.amethyst_block.place"),
- BLOCK_AMETHYST_BLOCK_STEP("block.amethyst_block.step"),
- BLOCK_AMETHYST_CLUSTER_BREAK("block.amethyst_cluster.break"),
- BLOCK_AMETHYST_CLUSTER_FALL("block.amethyst_cluster.fall"),
- BLOCK_AMETHYST_CLUSTER_HIT("block.amethyst_cluster.hit"),
- BLOCK_AMETHYST_CLUSTER_PLACE("block.amethyst_cluster.place"),
- BLOCK_AMETHYST_CLUSTER_STEP("block.amethyst_cluster.step"),
- BLOCK_ANCIENT_DEBRIS_BREAK("block.ancient_debris.break"),
- BLOCK_ANCIENT_DEBRIS_FALL("block.ancient_debris.fall"),
- BLOCK_ANCIENT_DEBRIS_HIT("block.ancient_debris.hit"),
- BLOCK_ANCIENT_DEBRIS_PLACE("block.ancient_debris.place"),
- BLOCK_ANCIENT_DEBRIS_STEP("block.ancient_debris.step"),
- BLOCK_ANVIL_BREAK("block.anvil.break"),
- BLOCK_ANVIL_DESTROY("block.anvil.destroy"),
- BLOCK_ANVIL_FALL("block.anvil.fall"),
- BLOCK_ANVIL_HIT("block.anvil.hit"),
- BLOCK_ANVIL_LAND("block.anvil.land"),
- BLOCK_ANVIL_PLACE("block.anvil.place"),
- BLOCK_ANVIL_STEP("block.anvil.step"),
- BLOCK_ANVIL_USE("block.anvil.use"),
- BLOCK_AZALEA_BREAK("block.azalea.break"),
- BLOCK_AZALEA_FALL("block.azalea.fall"),
- BLOCK_AZALEA_HIT("block.azalea.hit"),
- BLOCK_AZALEA_LEAVES_BREAK("block.azalea_leaves.break"),
- BLOCK_AZALEA_LEAVES_FALL("block.azalea_leaves.fall"),
- BLOCK_AZALEA_LEAVES_HIT("block.azalea_leaves.hit"),
- BLOCK_AZALEA_LEAVES_PLACE("block.azalea_leaves.place"),
- BLOCK_AZALEA_LEAVES_STEP("block.azalea_leaves.step"),
- BLOCK_AZALEA_PLACE("block.azalea.place"),
- BLOCK_AZALEA_STEP("block.azalea.step"),
- BLOCK_BAMBOO_BREAK("block.bamboo.break"),
- BLOCK_BAMBOO_FALL("block.bamboo.fall"),
- BLOCK_BAMBOO_HIT("block.bamboo.hit"),
- BLOCK_BAMBOO_PLACE("block.bamboo.place"),
- BLOCK_BAMBOO_SAPLING_BREAK("block.bamboo_sapling.break"),
- BLOCK_BAMBOO_SAPLING_HIT("block.bamboo_sapling.hit"),
- BLOCK_BAMBOO_SAPLING_PLACE("block.bamboo_sapling.place"),
- BLOCK_BAMBOO_STEP("block.bamboo.step"),
- BLOCK_BARREL_CLOSE("block.barrel.close"),
- BLOCK_BARREL_OPEN("block.barrel.open"),
- BLOCK_BASALT_BREAK("block.basalt.break"),
- BLOCK_BASALT_FALL("block.basalt.fall"),
- BLOCK_BASALT_HIT("block.basalt.hit"),
- BLOCK_BASALT_PLACE("block.basalt.place"),
- BLOCK_BASALT_STEP("block.basalt.step"),
- BLOCK_BEACON_ACTIVATE("block.beacon.activate"),
- BLOCK_BEACON_AMBIENT("block.beacon.ambient"),
- BLOCK_BEACON_DEACTIVATE("block.beacon.deactivate"),
- BLOCK_BEACON_POWER_SELECT("block.beacon.power_select"),
- BLOCK_BEEHIVE_DRIP("block.beehive.drip"),
- BLOCK_BEEHIVE_ENTER("block.beehive.enter"),
- BLOCK_BEEHIVE_EXIT("block.beehive.exit"),
- BLOCK_BEEHIVE_SHEAR("block.beehive.shear"),
- BLOCK_BEEHIVE_WORK("block.beehive.work"),
- BLOCK_BELL_RESONATE("block.bell.resonate"),
- BLOCK_BELL_USE("block.bell.use"),
- BLOCK_BIG_DRIPLEAF_BREAK("block.big_dripleaf.break"),
- BLOCK_BIG_DRIPLEAF_FALL("block.big_dripleaf.fall"),
- BLOCK_BIG_DRIPLEAF_HIT("block.big_dripleaf.hit"),
- BLOCK_BIG_DRIPLEAF_PLACE("block.big_dripleaf.place"),
- BLOCK_BIG_DRIPLEAF_STEP("block.big_dripleaf.step"),
- BLOCK_BIG_DRIPLEAF_TILT_DOWN("block.big_dripleaf.tilt_down"),
- BLOCK_BIG_DRIPLEAF_TILT_UP("block.big_dripleaf.tilt_up"),
- BLOCK_BLASTFURNACE_FIRE_CRACKLE("block.blastfurnace.fire_crackle"),
- BLOCK_BONE_BLOCK_BREAK("block.bone_block.break"),
- BLOCK_BONE_BLOCK_FALL("block.bone_block.fall"),
- BLOCK_BONE_BLOCK_HIT("block.bone_block.hit"),
- BLOCK_BONE_BLOCK_PLACE("block.bone_block.place"),
- BLOCK_BONE_BLOCK_STEP("block.bone_block.step"),
- BLOCK_BREWING_STAND_BREW("block.brewing_stand.brew"),
- BLOCK_BUBBLE_COLUMN_BUBBLE_POP("block.bubble_column.bubble_pop"),
- BLOCK_BUBBLE_COLUMN_UPWARDS_AMBIENT("block.bubble_column.upwards_ambient"),
- BLOCK_BUBBLE_COLUMN_UPWARDS_INSIDE("block.bubble_column.upwards_inside"),
- BLOCK_BUBBLE_COLUMN_WHIRLPOOL_AMBIENT("block.bubble_column.whirlpool_ambient"),
- BLOCK_BUBBLE_COLUMN_WHIRLPOOL_INSIDE("block.bubble_column.whirlpool_inside"),
- BLOCK_CAKE_ADD_CANDLE("block.cake.add_candle"),
- BLOCK_CALCITE_BREAK("block.calcite.break"),
- BLOCK_CALCITE_FALL("block.calcite.fall"),
- BLOCK_CALCITE_HIT("block.calcite.hit"),
- BLOCK_CALCITE_PLACE("block.calcite.place"),
- BLOCK_CALCITE_STEP("block.calcite.step"),
- BLOCK_CAMPFIRE_CRACKLE("block.campfire.crackle"),
- BLOCK_CANDLE_AMBIENT("block.candle.ambient"),
- BLOCK_CANDLE_BREAK("block.candle.break"),
- BLOCK_CANDLE_EXTINGUISH("block.candle.extinguish"),
- BLOCK_CANDLE_FALL("block.candle.fall"),
- BLOCK_CANDLE_HIT("block.candle.hit"),
- BLOCK_CANDLE_PLACE("block.candle.place"),
- BLOCK_CANDLE_STEP("block.candle.step"),
- BLOCK_CAVE_VINES_BREAK("block.cave_vines.break"),
- BLOCK_CAVE_VINES_FALL("block.cave_vines.fall"),
- BLOCK_CAVE_VINES_HIT("block.cave_vines.hit"),
- BLOCK_CAVE_VINES_PICK_BERRIES("block.cave_vines.pick_berries"),
- BLOCK_CAVE_VINES_PLACE("block.cave_vines.place"),
- BLOCK_CAVE_VINES_STEP("block.cave_vines.step"),
- BLOCK_CHAIN_BREAK("block.chain.break"),
- BLOCK_CHAIN_FALL("block.chain.fall"),
- BLOCK_CHAIN_HIT("block.chain.hit"),
- BLOCK_CHAIN_PLACE("block.chain.place"),
- BLOCK_CHAIN_STEP("block.chain.step"),
- BLOCK_CHEST_CLOSE("block.chest.close"),
- BLOCK_CHEST_LOCKED("block.chest.locked"),
- BLOCK_CHEST_OPEN("block.chest.open"),
- BLOCK_CHORUS_FLOWER_DEATH("block.chorus_flower.death"),
- BLOCK_CHORUS_FLOWER_GROW("block.chorus_flower.grow"),
- BLOCK_COMPARATOR_CLICK("block.comparator.click"),
- BLOCK_COMPOSTER_EMPTY("block.composter.empty"),
- BLOCK_COMPOSTER_FILL("block.composter.fill"),
- BLOCK_COMPOSTER_FILL_SUCCESS("block.composter.fill_success"),
- BLOCK_COMPOSTER_READY("block.composter.ready"),
- BLOCK_CONDUIT_ACTIVATE("block.conduit.activate"),
- BLOCK_CONDUIT_AMBIENT("block.conduit.ambient"),
- BLOCK_CONDUIT_AMBIENT_SHORT("block.conduit.ambient.short"),
- BLOCK_CONDUIT_ATTACK_TARGET("block.conduit.attack.target"),
- BLOCK_CONDUIT_DEACTIVATE("block.conduit.deactivate"),
- BLOCK_COPPER_BREAK("block.copper.break"),
- BLOCK_COPPER_FALL("block.copper.fall"),
- BLOCK_COPPER_HIT("block.copper.hit"),
- BLOCK_COPPER_PLACE("block.copper.place"),
- BLOCK_COPPER_STEP("block.copper.step"),
- BLOCK_CORAL_BLOCK_BREAK("block.coral_block.break"),
- BLOCK_CORAL_BLOCK_FALL("block.coral_block.fall"),
- BLOCK_CORAL_BLOCK_HIT("block.coral_block.hit"),
- BLOCK_CORAL_BLOCK_PLACE("block.coral_block.place"),
- BLOCK_CORAL_BLOCK_STEP("block.coral_block.step"),
- BLOCK_CROP_BREAK("block.crop.break"),
- BLOCK_DEEPSLATE_BREAK("block.deepslate.break"),
- BLOCK_DEEPSLATE_BRICKS_BREAK("block.deepslate_bricks.break"),
- BLOCK_DEEPSLATE_BRICKS_FALL("block.deepslate_bricks.fall"),
- BLOCK_DEEPSLATE_BRICKS_HIT("block.deepslate_bricks.hit"),
- BLOCK_DEEPSLATE_BRICKS_PLACE("block.deepslate_bricks.place"),
- BLOCK_DEEPSLATE_BRICKS_STEP("block.deepslate_bricks.step"),
- BLOCK_DEEPSLATE_FALL("block.deepslate.fall"),
- BLOCK_DEEPSLATE_HIT("block.deepslate.hit"),
- BLOCK_DEEPSLATE_PLACE("block.deepslate.place"),
- BLOCK_DEEPSLATE_STEP("block.deepslate.step"),
- BLOCK_DEEPSLATE_TILES_BREAK("block.deepslate_tiles.break"),
- BLOCK_DEEPSLATE_TILES_FALL("block.deepslate_tiles.fall"),
- BLOCK_DEEPSLATE_TILES_HIT("block.deepslate_tiles.hit"),
- BLOCK_DEEPSLATE_TILES_PLACE("block.deepslate_tiles.place"),
- BLOCK_DEEPSLATE_TILES_STEP("block.deepslate_tiles.step"),
- BLOCK_DISPENSER_DISPENSE("block.dispenser.dispense"),
- BLOCK_DISPENSER_FAIL("block.dispenser.fail"),
- BLOCK_DISPENSER_LAUNCH("block.dispenser.launch"),
- BLOCK_DRIPSTONE_BLOCK_BREAK("block.dripstone_block.break"),
- BLOCK_DRIPSTONE_BLOCK_FALL("block.dripstone_block.fall"),
- BLOCK_DRIPSTONE_BLOCK_HIT("block.dripstone_block.hit"),
- BLOCK_DRIPSTONE_BLOCK_PLACE("block.dripstone_block.place"),
- BLOCK_DRIPSTONE_BLOCK_STEP("block.dripstone_block.step"),
- BLOCK_ENCHANTMENT_TABLE_USE("block.enchantment_table.use"),
- BLOCK_ENDER_CHEST_CLOSE("block.ender_chest.close"),
- BLOCK_ENDER_CHEST_OPEN("block.ender_chest.open"),
- BLOCK_END_GATEWAY_SPAWN("block.end_gateway.spawn"),
- BLOCK_END_PORTAL_FRAME_FILL("block.end_portal_frame.fill"),
- BLOCK_END_PORTAL_SPAWN("block.end_portal.spawn"),
- BLOCK_FENCE_GATE_CLOSE("block.fence_gate.close"),
- BLOCK_FENCE_GATE_OPEN("block.fence_gate.open"),
- BLOCK_FIRE_AMBIENT("block.fire.ambient"),
- BLOCK_FIRE_EXTINGUISH("block.fire.extinguish"),
- BLOCK_FLOWERING_AZALEA_BREAK("block.flowering_azalea.break"),
- BLOCK_FLOWERING_AZALEA_FALL("block.flowering_azalea.fall"),
- BLOCK_FLOWERING_AZALEA_HIT("block.flowering_azalea.hit"),
- BLOCK_FLOWERING_AZALEA_PLACE("block.flowering_azalea.place"),
- BLOCK_FLOWERING_AZALEA_STEP("block.flowering_azalea.step"),
- BLOCK_FUNGUS_BREAK("block.fungus.break"),
- BLOCK_FUNGUS_FALL("block.fungus.fall"),
- BLOCK_FUNGUS_HIT("block.fungus.hit"),
- BLOCK_FUNGUS_PLACE("block.fungus.place"),
- BLOCK_FUNGUS_STEP("block.fungus.step"),
- BLOCK_FURNACE_FIRE_CRACKLE("block.furnace.fire_crackle"),
- BLOCK_GILDED_BLACKSTONE_BREAK("block.gilded_blackstone.break"),
- BLOCK_GILDED_BLACKSTONE_FALL("block.gilded_blackstone.fall"),
- BLOCK_GILDED_BLACKSTONE_HIT("block.gilded_blackstone.hit"),
- BLOCK_GILDED_BLACKSTONE_PLACE("block.gilded_blackstone.place"),
- BLOCK_GILDED_BLACKSTONE_STEP("block.gilded_blackstone.step"),
- BLOCK_GLASS_BREAK("block.glass.break"),
- BLOCK_GLASS_FALL("block.glass.fall"),
- BLOCK_GLASS_HIT("block.glass.hit"),
- BLOCK_GLASS_PLACE("block.glass.place"),
- BLOCK_GLASS_STEP("block.glass.step"),
- BLOCK_GRASS_BREAK("block.grass.break"),
- BLOCK_GRASS_FALL("block.grass.fall"),
- BLOCK_GRASS_HIT("block.grass.hit"),
- BLOCK_GRASS_PLACE("block.grass.place"),
- BLOCK_GRASS_STEP("block.grass.step"),
- BLOCK_GRAVEL_BREAK("block.gravel.break"),
- BLOCK_GRAVEL_FALL("block.gravel.fall"),
- BLOCK_GRAVEL_HIT("block.gravel.hit"),
- BLOCK_GRAVEL_PLACE("block.gravel.place"),
- BLOCK_GRAVEL_STEP("block.gravel.step"),
- BLOCK_GRINDSTONE_USE("block.grindstone.use"),
- BLOCK_HANGING_ROOTS_BREAK("block.hanging_roots.break"),
- BLOCK_HANGING_ROOTS_FALL("block.hanging_roots.fall"),
- BLOCK_HANGING_ROOTS_HIT("block.hanging_roots.hit"),
- BLOCK_HANGING_ROOTS_PLACE("block.hanging_roots.place"),
- BLOCK_HANGING_ROOTS_STEP("block.hanging_roots.step"),
- BLOCK_HONEY_BLOCK_BREAK("block.honey_block.break"),
- BLOCK_HONEY_BLOCK_FALL("block.honey_block.fall"),
- BLOCK_HONEY_BLOCK_HIT("block.honey_block.hit"),
- BLOCK_HONEY_BLOCK_PLACE("block.honey_block.place"),
- BLOCK_HONEY_BLOCK_SLIDE("block.honey_block.slide"),
- BLOCK_HONEY_BLOCK_STEP("block.honey_block.step"),
- BLOCK_IRON_DOOR_CLOSE("block.iron_door.close"),
- BLOCK_IRON_DOOR_OPEN("block.iron_door.open"),
- BLOCK_IRON_TRAPDOOR_CLOSE("block.iron_trapdoor.close"),
- BLOCK_IRON_TRAPDOOR_OPEN("block.iron_trapdoor.open"),
- BLOCK_LADDER_BREAK("block.ladder.break"),
- BLOCK_LADDER_FALL("block.ladder.fall"),
- BLOCK_LADDER_HIT("block.ladder.hit"),
- BLOCK_LADDER_PLACE("block.ladder.place"),
- BLOCK_LADDER_STEP("block.ladder.step"),
- BLOCK_LANTERN_BREAK("block.lantern.break"),
- BLOCK_LANTERN_FALL("block.lantern.fall"),
- BLOCK_LANTERN_HIT("block.lantern.hit"),
- BLOCK_LANTERN_PLACE("block.lantern.place"),
- BLOCK_LANTERN_STEP("block.lantern.step"),
- BLOCK_LARGE_AMETHYST_BUD_BREAK("block.large_amethyst_bud.break"),
- BLOCK_LARGE_AMETHYST_BUD_PLACE("block.large_amethyst_bud.place"),
- BLOCK_LAVA_AMBIENT("block.lava.ambient"),
- BLOCK_LAVA_EXTINGUISH("block.lava.extinguish"),
- BLOCK_LAVA_POP("block.lava.pop"),
- BLOCK_LEVER_CLICK("block.lever.click"),
- BLOCK_LILY_PAD_PLACE("block.lily_pad.place"),
- BLOCK_LODESTONE_BREAK("block.lodestone.break"),
- BLOCK_LODESTONE_FALL("block.lodestone.fall"),
- BLOCK_LODESTONE_HIT("block.lodestone.hit"),
- BLOCK_LODESTONE_PLACE("block.lodestone.place"),
- BLOCK_LODESTONE_STEP("block.lodestone.step"),
- BLOCK_MEDIUM_AMETHYST_BUD_BREAK("block.medium_amethyst_bud.break"),
- BLOCK_MEDIUM_AMETHYST_BUD_PLACE("block.medium_amethyst_bud.place"),
- BLOCK_METAL_BREAK("block.metal.break"),
- BLOCK_METAL_FALL("block.metal.fall"),
- BLOCK_METAL_HIT("block.metal.hit"),
- BLOCK_METAL_PLACE("block.metal.place"),
- BLOCK_METAL_PRESSURE_PLATE_CLICK_OFF("block.metal_pressure_plate.click_off"),
- BLOCK_METAL_PRESSURE_PLATE_CLICK_ON("block.metal_pressure_plate.click_on"),
- BLOCK_METAL_STEP("block.metal.step"),
- BLOCK_MOSS_BREAK("block.moss.break"),
- BLOCK_MOSS_CARPET_BREAK("block.moss_carpet.break"),
- BLOCK_MOSS_CARPET_FALL("block.moss_carpet.fall"),
- BLOCK_MOSS_CARPET_HIT("block.moss_carpet.hit"),
- BLOCK_MOSS_CARPET_PLACE("block.moss_carpet.place"),
- BLOCK_MOSS_CARPET_STEP("block.moss_carpet.step"),
- BLOCK_MOSS_FALL("block.moss.fall"),
- BLOCK_MOSS_HIT("block.moss.hit"),
- BLOCK_MOSS_PLACE("block.moss.place"),
- BLOCK_MOSS_STEP("block.moss.step"),
- BLOCK_NETHERITE_BLOCK_BREAK("block.netherite_block.break"),
- BLOCK_NETHERITE_BLOCK_FALL("block.netherite_block.fall"),
- BLOCK_NETHERITE_BLOCK_HIT("block.netherite_block.hit"),
- BLOCK_NETHERITE_BLOCK_PLACE("block.netherite_block.place"),
- BLOCK_NETHERITE_BLOCK_STEP("block.netherite_block.step"),
- BLOCK_NETHERRACK_BREAK("block.netherrack.break"),
- BLOCK_NETHERRACK_FALL("block.netherrack.fall"),
- BLOCK_NETHERRACK_HIT("block.netherrack.hit"),
- BLOCK_NETHERRACK_PLACE("block.netherrack.place"),
- BLOCK_NETHERRACK_STEP("block.netherrack.step"),
- BLOCK_NETHER_BRICKS_BREAK("block.nether_bricks.break"),
- BLOCK_NETHER_BRICKS_FALL("block.nether_bricks.fall"),
- BLOCK_NETHER_BRICKS_HIT("block.nether_bricks.hit"),
- BLOCK_NETHER_BRICKS_PLACE("block.nether_bricks.place"),
- BLOCK_NETHER_BRICKS_STEP("block.nether_bricks.step"),
- BLOCK_NETHER_GOLD_ORE_BREAK("block.nether_gold_ore.break"),
- BLOCK_NETHER_GOLD_ORE_FALL("block.nether_gold_ore.fall"),
- BLOCK_NETHER_GOLD_ORE_HIT("block.nether_gold_ore.hit"),
- BLOCK_NETHER_GOLD_ORE_PLACE("block.nether_gold_ore.place"),
- BLOCK_NETHER_GOLD_ORE_STEP("block.nether_gold_ore.step"),
- BLOCK_NETHER_ORE_BREAK("block.nether_ore.break"),
- BLOCK_NETHER_ORE_FALL("block.nether_ore.fall"),
- BLOCK_NETHER_ORE_HIT("block.nether_ore.hit"),
- BLOCK_NETHER_ORE_PLACE("block.nether_ore.place"),
- BLOCK_NETHER_ORE_STEP("block.nether_ore.step"),
- BLOCK_NETHER_SPROUTS_BREAK("block.nether_sprouts.break"),
- BLOCK_NETHER_SPROUTS_FALL("block.nether_sprouts.fall"),
- BLOCK_NETHER_SPROUTS_HIT("block.nether_sprouts.hit"),
- BLOCK_NETHER_SPROUTS_PLACE("block.nether_sprouts.place"),
- BLOCK_NETHER_SPROUTS_STEP("block.nether_sprouts.step"),
- BLOCK_NETHER_WART_BREAK("block.nether_wart.break"),
- BLOCK_NOTE_BLOCK_BANJO("block.note_block.banjo"),
- BLOCK_NOTE_BLOCK_BASEDRUM("block.note_block.basedrum"),
- BLOCK_NOTE_BLOCK_BASS("block.note_block.bass"),
- BLOCK_NOTE_BLOCK_BELL("block.note_block.bell"),
- BLOCK_NOTE_BLOCK_BIT("block.note_block.bit"),
- BLOCK_NOTE_BLOCK_CHIME("block.note_block.chime"),
- BLOCK_NOTE_BLOCK_COW_BELL("block.note_block.cow_bell"),
- BLOCK_NOTE_BLOCK_DIDGERIDOO("block.note_block.didgeridoo"),
- BLOCK_NOTE_BLOCK_FLUTE("block.note_block.flute"),
- BLOCK_NOTE_BLOCK_GUITAR("block.note_block.guitar"),
- BLOCK_NOTE_BLOCK_HARP("block.note_block.harp"),
- BLOCK_NOTE_BLOCK_HAT("block.note_block.hat"),
- BLOCK_NOTE_BLOCK_IRON_XYLOPHONE("block.note_block.iron_xylophone"),
- BLOCK_NOTE_BLOCK_PLING("block.note_block.pling"),
- BLOCK_NOTE_BLOCK_SNARE("block.note_block.snare"),
- BLOCK_NOTE_BLOCK_XYLOPHONE("block.note_block.xylophone"),
- BLOCK_NYLIUM_BREAK("block.nylium.break"),
- BLOCK_NYLIUM_FALL("block.nylium.fall"),
- BLOCK_NYLIUM_HIT("block.nylium.hit"),
- BLOCK_NYLIUM_PLACE("block.nylium.place"),
- BLOCK_NYLIUM_STEP("block.nylium.step"),
- BLOCK_PISTON_CONTRACT("block.piston.contract"),
- BLOCK_PISTON_EXTEND("block.piston.extend"),
- BLOCK_POINTED_DRIPSTONE_BREAK("block.pointed_dripstone.break"),
- BLOCK_POINTED_DRIPSTONE_DRIP_LAVA("block.pointed_dripstone.drip_lava"),
- BLOCK_POINTED_DRIPSTONE_DRIP_LAVA_INTO_CAULDRON("block.pointed_dripstone.drip_lava_into_cauldron"),
- BLOCK_POINTED_DRIPSTONE_DRIP_WATER("block.pointed_dripstone.drip_water"),
- BLOCK_POINTED_DRIPSTONE_DRIP_WATER_INTO_CAULDRON("block.pointed_dripstone.drip_water_into_cauldron"),
- BLOCK_POINTED_DRIPSTONE_FALL("block.pointed_dripstone.fall"),
- BLOCK_POINTED_DRIPSTONE_HIT("block.pointed_dripstone.hit"),
- BLOCK_POINTED_DRIPSTONE_LAND("block.pointed_dripstone.land"),
- BLOCK_POINTED_DRIPSTONE_PLACE("block.pointed_dripstone.place"),
- BLOCK_POINTED_DRIPSTONE_STEP("block.pointed_dripstone.step"),
- BLOCK_POLISHED_DEEPSLATE_BREAK("block.polished_deepslate.break"),
- BLOCK_POLISHED_DEEPSLATE_FALL("block.polished_deepslate.fall"),
- BLOCK_POLISHED_DEEPSLATE_HIT("block.polished_deepslate.hit"),
- BLOCK_POLISHED_DEEPSLATE_PLACE("block.polished_deepslate.place"),
- BLOCK_POLISHED_DEEPSLATE_STEP("block.polished_deepslate.step"),
- BLOCK_PORTAL_AMBIENT("block.portal.ambient"),
- BLOCK_PORTAL_TRAVEL("block.portal.travel"),
- BLOCK_PORTAL_TRIGGER("block.portal.trigger"),
- BLOCK_POWDER_SNOW_BREAK("block.powder_snow.break"),
- BLOCK_POWDER_SNOW_FALL("block.powder_snow.fall"),
- BLOCK_POWDER_SNOW_HIT("block.powder_snow.hit"),
- BLOCK_POWDER_SNOW_PLACE("block.powder_snow.place"),
- BLOCK_POWDER_SNOW_STEP("block.powder_snow.step"),
- BLOCK_PUMPKIN_CARVE("block.pumpkin.carve"),
- BLOCK_REDSTONE_TORCH_BURNOUT("block.redstone_torch.burnout"),
- BLOCK_RESPAWN_ANCHOR_AMBIENT("block.respawn_anchor.ambient"),
- BLOCK_RESPAWN_ANCHOR_CHARGE("block.respawn_anchor.charge"),
- BLOCK_RESPAWN_ANCHOR_DEPLETE("block.respawn_anchor.deplete"),
- BLOCK_RESPAWN_ANCHOR_SET_SPAWN("block.respawn_anchor.set_spawn"),
- BLOCK_ROOTED_DIRT_BREAK("block.rooted_dirt.break"),
- BLOCK_ROOTED_DIRT_FALL("block.rooted_dirt.fall"),
- BLOCK_ROOTED_DIRT_HIT("block.rooted_dirt.hit"),
- BLOCK_ROOTED_DIRT_PLACE("block.rooted_dirt.place"),
- BLOCK_ROOTED_DIRT_STEP("block.rooted_dirt.step"),
- BLOCK_ROOTS_BREAK("block.roots.break"),
- BLOCK_ROOTS_FALL("block.roots.fall"),
- BLOCK_ROOTS_HIT("block.roots.hit"),
- BLOCK_ROOTS_PLACE("block.roots.place"),
- BLOCK_ROOTS_STEP("block.roots.step"),
- BLOCK_SAND_BREAK("block.sand.break"),
- BLOCK_SAND_FALL("block.sand.fall"),
- BLOCK_SAND_HIT("block.sand.hit"),
- BLOCK_SAND_PLACE("block.sand.place"),
- BLOCK_SAND_STEP("block.sand.step"),
- BLOCK_SCAFFOLDING_BREAK("block.scaffolding.break"),
- BLOCK_SCAFFOLDING_FALL("block.scaffolding.fall"),
- BLOCK_SCAFFOLDING_HIT("block.scaffolding.hit"),
- BLOCK_SCAFFOLDING_PLACE("block.scaffolding.place"),
- BLOCK_SCAFFOLDING_STEP("block.scaffolding.step"),
- BLOCK_SCULK_SENSOR_BREAK("block.sculk_sensor.break"),
- BLOCK_SCULK_SENSOR_CLICKING("block.sculk_sensor.clicking"),
- BLOCK_SCULK_SENSOR_CLICKING_STOP("block.sculk_sensor.clicking_stop"),
- BLOCK_SCULK_SENSOR_FALL("block.sculk_sensor.fall"),
- BLOCK_SCULK_SENSOR_HIT("block.sculk_sensor.hit"),
- BLOCK_SCULK_SENSOR_PLACE("block.sculk_sensor.place"),
- BLOCK_SCULK_SENSOR_STEP("block.sculk_sensor.step"),
- BLOCK_SHROOMLIGHT_BREAK("block.shroomlight.break"),
- BLOCK_SHROOMLIGHT_FALL("block.shroomlight.fall"),
- BLOCK_SHROOMLIGHT_HIT("block.shroomlight.hit"),
- BLOCK_SHROOMLIGHT_PLACE("block.shroomlight.place"),
- BLOCK_SHROOMLIGHT_STEP("block.shroomlight.step"),
- BLOCK_SHULKER_BOX_CLOSE("block.shulker_box.close"),
- BLOCK_SHULKER_BOX_OPEN("block.shulker_box.open"),
- BLOCK_SLIME_BLOCK_BREAK("block.slime_block.break"),
- BLOCK_SLIME_BLOCK_FALL("block.slime_block.fall"),
- BLOCK_SLIME_BLOCK_HIT("block.slime_block.hit"),
- BLOCK_SLIME_BLOCK_PLACE("block.slime_block.place"),
- BLOCK_SLIME_BLOCK_STEP("block.slime_block.step"),
- BLOCK_SMALL_AMETHYST_BUD_BREAK("block.small_amethyst_bud.break"),
- BLOCK_SMALL_AMETHYST_BUD_PLACE("block.small_amethyst_bud.place"),
- BLOCK_SMALL_DRIPLEAF_BREAK("block.small_dripleaf.break"),
- BLOCK_SMALL_DRIPLEAF_FALL("block.small_dripleaf.fall"),
- BLOCK_SMALL_DRIPLEAF_HIT("block.small_dripleaf.hit"),
- BLOCK_SMALL_DRIPLEAF_PLACE("block.small_dripleaf.place"),
- BLOCK_SMALL_DRIPLEAF_STEP("block.small_dripleaf.step"),
- BLOCK_SMITHING_TABLE_USE("block.smithing_table.use"),
- BLOCK_SMOKER_SMOKE("block.smoker.smoke"),
- BLOCK_SNOW_BREAK("block.snow.break"),
- BLOCK_SNOW_FALL("block.snow.fall"),
- BLOCK_SNOW_HIT("block.snow.hit"),
- BLOCK_SNOW_PLACE("block.snow.place"),
- BLOCK_SNOW_STEP("block.snow.step"),
- BLOCK_SOUL_SAND_BREAK("block.soul_sand.break"),
- BLOCK_SOUL_SAND_FALL("block.soul_sand.fall"),
- BLOCK_SOUL_SAND_HIT("block.soul_sand.hit"),
- BLOCK_SOUL_SAND_PLACE("block.soul_sand.place"),
- BLOCK_SOUL_SAND_STEP("block.soul_sand.step"),
- BLOCK_SOUL_SOIL_BREAK("block.soul_soil.break"),
- BLOCK_SOUL_SOIL_FALL("block.soul_soil.fall"),
- BLOCK_SOUL_SOIL_HIT("block.soul_soil.hit"),
- BLOCK_SOUL_SOIL_PLACE("block.soul_soil.place"),
- BLOCK_SOUL_SOIL_STEP("block.soul_soil.step"),
- BLOCK_SPORE_BLOSSOM_BREAK("block.spore_blossom.break"),
- BLOCK_SPORE_BLOSSOM_FALL("block.spore_blossom.fall"),
- BLOCK_SPORE_BLOSSOM_HIT("block.spore_blossom.hit"),
- BLOCK_SPORE_BLOSSOM_PLACE("block.spore_blossom.place"),
- BLOCK_SPORE_BLOSSOM_STEP("block.spore_blossom.step"),
- BLOCK_STEM_BREAK("block.stem.break"),
- BLOCK_STEM_FALL("block.stem.fall"),
- BLOCK_STEM_HIT("block.stem.hit"),
- BLOCK_STEM_PLACE("block.stem.place"),
- BLOCK_STEM_STEP("block.stem.step"),
- BLOCK_STONE_BREAK("block.stone.break"),
- BLOCK_STONE_BUTTON_CLICK_OFF("block.stone_button.click_off"),
- BLOCK_STONE_BUTTON_CLICK_ON("block.stone_button.click_on"),
- BLOCK_STONE_FALL("block.stone.fall"),
- BLOCK_STONE_HIT("block.stone.hit"),
- BLOCK_STONE_PLACE("block.stone.place"),
- BLOCK_STONE_PRESSURE_PLATE_CLICK_OFF("block.stone_pressure_plate.click_off"),
- BLOCK_STONE_PRESSURE_PLATE_CLICK_ON("block.stone_pressure_plate.click_on"),
- BLOCK_STONE_STEP("block.stone.step"),
- BLOCK_SWEET_BERRY_BUSH_BREAK("block.sweet_berry_bush.break"),
- BLOCK_SWEET_BERRY_BUSH_PICK_BERRIES("block.sweet_berry_bush.pick_berries"),
- BLOCK_SWEET_BERRY_BUSH_PLACE("block.sweet_berry_bush.place"),
- BLOCK_TRIPWIRE_ATTACH("block.tripwire.attach"),
- BLOCK_TRIPWIRE_CLICK_OFF("block.tripwire.click_off"),
- BLOCK_TRIPWIRE_CLICK_ON("block.tripwire.click_on"),
- BLOCK_TRIPWIRE_DETACH("block.tripwire.detach"),
- BLOCK_TUFF_BREAK("block.tuff.break"),
- BLOCK_TUFF_FALL("block.tuff.fall"),
- BLOCK_TUFF_HIT("block.tuff.hit"),
- BLOCK_TUFF_PLACE("block.tuff.place"),
- BLOCK_TUFF_STEP("block.tuff.step"),
- BLOCK_VINE_BREAK("block.vine.break"),
- BLOCK_VINE_FALL("block.vine.fall"),
- BLOCK_VINE_HIT("block.vine.hit"),
- BLOCK_VINE_PLACE("block.vine.place"),
- BLOCK_VINE_STEP("block.vine.step"),
- BLOCK_WART_BLOCK_BREAK("block.wart_block.break"),
- BLOCK_WART_BLOCK_FALL("block.wart_block.fall"),
- BLOCK_WART_BLOCK_HIT("block.wart_block.hit"),
- BLOCK_WART_BLOCK_PLACE("block.wart_block.place"),
- BLOCK_WART_BLOCK_STEP("block.wart_block.step"),
- BLOCK_WATER_AMBIENT("block.water.ambient"),
- BLOCK_WEEPING_VINES_BREAK("block.weeping_vines.break"),
- BLOCK_WEEPING_VINES_FALL("block.weeping_vines.fall"),
- BLOCK_WEEPING_VINES_HIT("block.weeping_vines.hit"),
- BLOCK_WEEPING_VINES_PLACE("block.weeping_vines.place"),
- BLOCK_WEEPING_VINES_STEP("block.weeping_vines.step"),
- BLOCK_WET_GRASS_BREAK("block.wet_grass.break"),
- BLOCK_WET_GRASS_FALL("block.wet_grass.fall"),
- BLOCK_WET_GRASS_HIT("block.wet_grass.hit"),
- BLOCK_WET_GRASS_PLACE("block.wet_grass.place"),
- BLOCK_WET_GRASS_STEP("block.wet_grass.step"),
- BLOCK_WOODEN_BUTTON_CLICK_OFF("block.wooden_button.click_off"),
- BLOCK_WOODEN_BUTTON_CLICK_ON("block.wooden_button.click_on"),
- BLOCK_WOODEN_DOOR_CLOSE("block.wooden_door.close"),
- BLOCK_WOODEN_DOOR_OPEN("block.wooden_door.open"),
- BLOCK_WOODEN_PRESSURE_PLATE_CLICK_OFF("block.wooden_pressure_plate.click_off"),
- BLOCK_WOODEN_PRESSURE_PLATE_CLICK_ON("block.wooden_pressure_plate.click_on"),
- BLOCK_WOODEN_TRAPDOOR_CLOSE("block.wooden_trapdoor.close"),
- BLOCK_WOODEN_TRAPDOOR_OPEN("block.wooden_trapdoor.open"),
- BLOCK_WOOD_BREAK("block.wood.break"),
- BLOCK_WOOD_FALL("block.wood.fall"),
- BLOCK_WOOD_HIT("block.wood.hit"),
- BLOCK_WOOD_PLACE("block.wood.place"),
- BLOCK_WOOD_STEP("block.wood.step"),
- BLOCK_WOOL_BREAK("block.wool.break"),
- BLOCK_WOOL_FALL("block.wool.fall"),
- BLOCK_WOOL_HIT("block.wool.hit"),
- BLOCK_WOOL_PLACE("block.wool.place"),
- BLOCK_WOOL_STEP("block.wool.step"),
- ENCHANT_THORNS_HIT("enchant.thorns.hit"),
- ENTITY_ARMOR_STAND_BREAK("entity.armor_stand.break"),
- ENTITY_ARMOR_STAND_FALL("entity.armor_stand.fall"),
- ENTITY_ARMOR_STAND_HIT("entity.armor_stand.hit"),
- ENTITY_ARMOR_STAND_PLACE("entity.armor_stand.place"),
- ENTITY_ARROW_HIT("entity.arrow.hit"),
- ENTITY_ARROW_HIT_PLAYER("entity.arrow.hit_player"),
- ENTITY_ARROW_SHOOT("entity.arrow.shoot"),
- ENTITY_AXOLOTL_ATTACK("entity.axolotl.attack"),
- ENTITY_AXOLOTL_DEATH("entity.axolotl.death"),
- ENTITY_AXOLOTL_HURT("entity.axolotl.hurt"),
- ENTITY_AXOLOTL_IDLE_AIR("entity.axolotl.idle_air"),
- ENTITY_AXOLOTL_IDLE_WATER("entity.axolotl.idle_water"),
- ENTITY_AXOLOTL_SPLASH("entity.axolotl.splash"),
- ENTITY_AXOLOTL_SWIM("entity.axolotl.swim"),
- ENTITY_BAT_AMBIENT("entity.bat.ambient"),
- ENTITY_BAT_DEATH("entity.bat.death"),
- ENTITY_BAT_HURT("entity.bat.hurt"),
- ENTITY_BAT_LOOP("entity.bat.loop"),
- ENTITY_BAT_TAKEOFF("entity.bat.takeoff"),
- ENTITY_BEE_DEATH("entity.bee.death"),
- ENTITY_BEE_HURT("entity.bee.hurt"),
- ENTITY_BEE_LOOP("entity.bee.loop"),
- ENTITY_BEE_LOOP_AGGRESSIVE("entity.bee.loop_aggressive"),
- ENTITY_BEE_POLLINATE("entity.bee.pollinate"),
- ENTITY_BEE_STING("entity.bee.sting"),
- ENTITY_BLAZE_AMBIENT("entity.blaze.ambient"),
- ENTITY_BLAZE_BURN("entity.blaze.burn"),
- ENTITY_BLAZE_DEATH("entity.blaze.death"),
- ENTITY_BLAZE_HURT("entity.blaze.hurt"),
- ENTITY_BLAZE_SHOOT("entity.blaze.shoot"),
- ENTITY_BOAT_PADDLE_LAND("entity.boat.paddle_land"),
- ENTITY_BOAT_PADDLE_WATER("entity.boat.paddle_water"),
- ENTITY_CAT_AMBIENT("entity.cat.ambient"),
- ENTITY_CAT_BEG_FOR_FOOD("entity.cat.beg_for_food"),
- ENTITY_CAT_DEATH("entity.cat.death"),
- ENTITY_CAT_EAT("entity.cat.eat"),
- ENTITY_CAT_HISS("entity.cat.hiss"),
- ENTITY_CAT_HURT("entity.cat.hurt"),
- ENTITY_CAT_PURR("entity.cat.purr"),
- ENTITY_CAT_PURREOW("entity.cat.purreow"),
- ENTITY_CAT_STRAY_AMBIENT("entity.cat.stray_ambient"),
- ENTITY_CHICKEN_AMBIENT("entity.chicken.ambient"),
- ENTITY_CHICKEN_DEATH("entity.chicken.death"),
- ENTITY_CHICKEN_EGG("entity.chicken.egg"),
- ENTITY_CHICKEN_HURT("entity.chicken.hurt"),
- ENTITY_CHICKEN_STEP("entity.chicken.step"),
- ENTITY_COD_AMBIENT("entity.cod.ambient"),
- ENTITY_COD_DEATH("entity.cod.death"),
- ENTITY_COD_FLOP("entity.cod.flop"),
- ENTITY_COD_HURT("entity.cod.hurt"),
- ENTITY_COW_AMBIENT("entity.cow.ambient"),
- ENTITY_COW_DEATH("entity.cow.death"),
- ENTITY_COW_HURT("entity.cow.hurt"),
- ENTITY_COW_MILK("entity.cow.milk"),
- ENTITY_COW_STEP("entity.cow.step"),
- ENTITY_CREEPER_DEATH("entity.creeper.death"),
- ENTITY_CREEPER_HURT("entity.creeper.hurt"),
- ENTITY_CREEPER_PRIMED("entity.creeper.primed"),
- ENTITY_DOLPHIN_AMBIENT("entity.dolphin.ambient"),
- ENTITY_DOLPHIN_AMBIENT_WATER("entity.dolphin.ambient_water"),
- ENTITY_DOLPHIN_ATTACK("entity.dolphin.attack"),
- ENTITY_DOLPHIN_DEATH("entity.dolphin.death"),
- ENTITY_DOLPHIN_EAT("entity.dolphin.eat"),
- ENTITY_DOLPHIN_HURT("entity.dolphin.hurt"),
- ENTITY_DOLPHIN_JUMP("entity.dolphin.jump"),
- ENTITY_DOLPHIN_PLAY("entity.dolphin.play"),
- ENTITY_DOLPHIN_SPLASH("entity.dolphin.splash"),
- ENTITY_DOLPHIN_SWIM("entity.dolphin.swim"),
- ENTITY_DONKEY_AMBIENT("entity.donkey.ambient"),
- ENTITY_DONKEY_ANGRY("entity.donkey.angry"),
- ENTITY_DONKEY_CHEST("entity.donkey.chest"),
- ENTITY_DONKEY_DEATH("entity.donkey.death"),
- ENTITY_DONKEY_EAT("entity.donkey.eat"),
- ENTITY_DONKEY_HURT("entity.donkey.hurt"),
- ENTITY_DRAGON_FIREBALL_EXPLODE("entity.dragon_fireball.explode"),
- ENTITY_DROWNED_AMBIENT("entity.drowned.ambient"),
- ENTITY_DROWNED_AMBIENT_WATER("entity.drowned.ambient_water"),
- ENTITY_DROWNED_DEATH("entity.drowned.death"),
- ENTITY_DROWNED_DEATH_WATER("entity.drowned.death_water"),
- ENTITY_DROWNED_HURT("entity.drowned.hurt"),
- ENTITY_DROWNED_HURT_WATER("entity.drowned.hurt_water"),
- ENTITY_DROWNED_SHOOT("entity.drowned.shoot"),
- ENTITY_DROWNED_STEP("entity.drowned.step"),
- ENTITY_DROWNED_SWIM("entity.drowned.swim"),
- ENTITY_EGG_THROW("entity.egg.throw"),
- ENTITY_ELDER_GUARDIAN_AMBIENT("entity.elder_guardian.ambient"),
- ENTITY_ELDER_GUARDIAN_AMBIENT_LAND("entity.elder_guardian.ambient_land"),
- ENTITY_ELDER_GUARDIAN_CURSE("entity.elder_guardian.curse"),
- ENTITY_ELDER_GUARDIAN_DEATH("entity.elder_guardian.death"),
- ENTITY_ELDER_GUARDIAN_DEATH_LAND("entity.elder_guardian.death_land"),
- ENTITY_ELDER_GUARDIAN_FLOP("entity.elder_guardian.flop"),
- ENTITY_ELDER_GUARDIAN_HURT("entity.elder_guardian.hurt"),
- ENTITY_ELDER_GUARDIAN_HURT_LAND("entity.elder_guardian.hurt_land"),
- ENTITY_ENDERMAN_AMBIENT("entity.enderman.ambient"),
- ENTITY_ENDERMAN_DEATH("entity.enderman.death"),
- ENTITY_ENDERMAN_HURT("entity.enderman.hurt"),
- ENTITY_ENDERMAN_SCREAM("entity.enderman.scream"),
- ENTITY_ENDERMAN_STARE("entity.enderman.stare"),
- ENTITY_ENDERMAN_TELEPORT("entity.enderman.teleport"),
- ENTITY_ENDERMITE_AMBIENT("entity.endermite.ambient"),
- ENTITY_ENDERMITE_DEATH("entity.endermite.death"),
- ENTITY_ENDERMITE_HURT("entity.endermite.hurt"),
- ENTITY_ENDERMITE_STEP("entity.endermite.step"),
- ENTITY_ENDER_DRAGON_AMBIENT("entity.ender_dragon.ambient"),
- ENTITY_ENDER_DRAGON_DEATH("entity.ender_dragon.death"),
- ENTITY_ENDER_DRAGON_FLAP("entity.ender_dragon.flap"),
- ENTITY_ENDER_DRAGON_GROWL("entity.ender_dragon.growl"),
- ENTITY_ENDER_DRAGON_HURT("entity.ender_dragon.hurt"),
- ENTITY_ENDER_DRAGON_SHOOT("entity.ender_dragon.shoot"),
- ENTITY_ENDER_EYE_DEATH("entity.ender_eye.death"),
- ENTITY_ENDER_EYE_LAUNCH("entity.ender_eye.launch"),
- ENTITY_ENDER_PEARL_THROW("entity.ender_pearl.throw"),
- ENTITY_EVOKER_AMBIENT("entity.evoker.ambient"),
- ENTITY_EVOKER_CAST_SPELL("entity.evoker.cast_spell"),
- ENTITY_EVOKER_CELEBRATE("entity.evoker.celebrate"),
- ENTITY_EVOKER_DEATH("entity.evoker.death"),
- ENTITY_EVOKER_FANGS_ATTACK("entity.evoker_fangs.attack"),
- ENTITY_EVOKER_HURT("entity.evoker.hurt"),
- ENTITY_EVOKER_PREPARE_ATTACK("entity.evoker.prepare_attack"),
- ENTITY_EVOKER_PREPARE_SUMMON("entity.evoker.prepare_summon"),
- ENTITY_EVOKER_PREPARE_WOLOLO("entity.evoker.prepare_wololo"),
- ENTITY_EXPERIENCE_BOTTLE_THROW("entity.experience_bottle.throw"),
- ENTITY_EXPERIENCE_ORB_PICKUP("entity.experience_orb.pickup"),
- ENTITY_FIREWORK_ROCKET_BLAST("entity.firework_rocket.blast"),
- ENTITY_FIREWORK_ROCKET_BLAST_FAR("entity.firework_rocket.blast_far"),
- ENTITY_FIREWORK_ROCKET_LARGE_BLAST("entity.firework_rocket.large_blast"),
- ENTITY_FIREWORK_ROCKET_LARGE_BLAST_FAR("entity.firework_rocket.large_blast_far"),
- ENTITY_FIREWORK_ROCKET_LAUNCH("entity.firework_rocket.launch"),
- ENTITY_FIREWORK_ROCKET_SHOOT("entity.firework_rocket.shoot"),
- ENTITY_FIREWORK_ROCKET_TWINKLE("entity.firework_rocket.twinkle"),
- ENTITY_FIREWORK_ROCKET_TWINKLE_FAR("entity.firework_rocket.twinkle_far"),
- ENTITY_FISHING_BOBBER_RETRIEVE("entity.fishing_bobber.retrieve"),
- ENTITY_FISHING_BOBBER_SPLASH("entity.fishing_bobber.splash"),
- ENTITY_FISHING_BOBBER_THROW("entity.fishing_bobber.throw"),
- ENTITY_FISH_SWIM("entity.fish.swim"),
- ENTITY_FOX_AGGRO("entity.fox.aggro"),
- ENTITY_FOX_AMBIENT("entity.fox.ambient"),
- ENTITY_FOX_BITE("entity.fox.bite"),
- ENTITY_FOX_DEATH("entity.fox.death"),
- ENTITY_FOX_EAT("entity.fox.eat"),
- ENTITY_FOX_HURT("entity.fox.hurt"),
- ENTITY_FOX_SCREECH("entity.fox.screech"),
- ENTITY_FOX_SLEEP("entity.fox.sleep"),
- ENTITY_FOX_SNIFF("entity.fox.sniff"),
- ENTITY_FOX_SPIT("entity.fox.spit"),
- ENTITY_FOX_TELEPORT("entity.fox.teleport"),
- ENTITY_GENERIC_BIG_FALL("entity.generic.big_fall"),
- ENTITY_GENERIC_BURN("entity.generic.burn"),
- ENTITY_GENERIC_DEATH("entity.generic.death"),
- ENTITY_GENERIC_DRINK("entity.generic.drink"),
- ENTITY_GENERIC_EAT("entity.generic.eat"),
- ENTITY_GENERIC_EXPLODE("entity.generic.explode"),
- ENTITY_GENERIC_EXTINGUISH_FIRE("entity.generic.extinguish_fire"),
- ENTITY_GENERIC_HURT("entity.generic.hurt"),
- ENTITY_GENERIC_SMALL_FALL("entity.generic.small_fall"),
- ENTITY_GENERIC_SPLASH("entity.generic.splash"),
- ENTITY_GENERIC_SWIM("entity.generic.swim"),
- ENTITY_GHAST_AMBIENT("entity.ghast.ambient"),
- ENTITY_GHAST_DEATH("entity.ghast.death"),
- ENTITY_GHAST_HURT("entity.ghast.hurt"),
- ENTITY_GHAST_SCREAM("entity.ghast.scream"),
- ENTITY_GHAST_SHOOT("entity.ghast.shoot"),
- ENTITY_GHAST_WARN("entity.ghast.warn"),
- ENTITY_GLOW_ITEM_FRAME_ADD_ITEM("entity.glow_item_frame.add_item"),
- ENTITY_GLOW_ITEM_FRAME_BREAK("entity.glow_item_frame.break"),
- ENTITY_GLOW_ITEM_FRAME_PLACE("entity.glow_item_frame.place"),
- ENTITY_GLOW_ITEM_FRAME_REMOVE_ITEM("entity.glow_item_frame.remove_item"),
- ENTITY_GLOW_ITEM_FRAME_ROTATE_ITEM("entity.glow_item_frame.rotate_item"),
- ENTITY_GLOW_SQUID_AMBIENT("entity.glow_squid.ambient"),
- ENTITY_GLOW_SQUID_DEATH("entity.glow_squid.death"),
- ENTITY_GLOW_SQUID_HURT("entity.glow_squid.hurt"),
- ENTITY_GLOW_SQUID_SQUIRT("entity.glow_squid.squirt"),
- ENTITY_GOAT_AMBIENT("entity.goat.ambient"),
- ENTITY_GOAT_DEATH("entity.goat.death"),
- ENTITY_GOAT_EAT("entity.goat.eat"),
- ENTITY_GOAT_HURT("entity.goat.hurt"),
- ENTITY_GOAT_LONG_JUMP("entity.goat.long_jump"),
- ENTITY_GOAT_MILK("entity.goat.milk"),
- ENTITY_GOAT_PREPARE_RAM("entity.goat.prepare_ram"),
- ENTITY_GOAT_RAM_IMPACT("entity.goat.ram_impact"),
- ENTITY_GOAT_SCREAMING_AMBIENT("entity.goat.screaming.ambient"),
- ENTITY_GOAT_SCREAMING_DEATH("entity.goat.screaming.death"),
- ENTITY_GOAT_SCREAMING_EAT("entity.goat.screaming.eat"),
- ENTITY_GOAT_SCREAMING_HURT("entity.goat.screaming.hurt"),
- ENTITY_GOAT_SCREAMING_LONG_JUMP("entity.goat.screaming.long_jump"),
- ENTITY_GOAT_SCREAMING_MILK("entity.goat.screaming.milk"),
- ENTITY_GOAT_SCREAMING_PREPARE_RAM("entity.goat.screaming.prepare_ram"),
- ENTITY_GOAT_SCREAMING_RAM_IMPACT("entity.goat.screaming.ram_impact"),
- ENTITY_GOAT_STEP("entity.goat.step"),
- ENTITY_GUARDIAN_AMBIENT("entity.guardian.ambient"),
- ENTITY_GUARDIAN_AMBIENT_LAND("entity.guardian.ambient_land"),
- ENTITY_GUARDIAN_ATTACK("entity.guardian.attack"),
- ENTITY_GUARDIAN_DEATH("entity.guardian.death"),
- ENTITY_GUARDIAN_DEATH_LAND("entity.guardian.death_land"),
- ENTITY_GUARDIAN_FLOP("entity.guardian.flop"),
- ENTITY_GUARDIAN_HURT("entity.guardian.hurt"),
- ENTITY_GUARDIAN_HURT_LAND("entity.guardian.hurt_land"),
- ENTITY_HOGLIN_AMBIENT("entity.hoglin.ambient"),
- ENTITY_HOGLIN_ANGRY("entity.hoglin.angry"),
- ENTITY_HOGLIN_ATTACK("entity.hoglin.attack"),
- ENTITY_HOGLIN_CONVERTED_TO_ZOMBIFIED("entity.hoglin.converted_to_zombified"),
- ENTITY_HOGLIN_DEATH("entity.hoglin.death"),
- ENTITY_HOGLIN_HURT("entity.hoglin.hurt"),
- ENTITY_HOGLIN_RETREAT("entity.hoglin.retreat"),
- ENTITY_HOGLIN_STEP("entity.hoglin.step"),
- ENTITY_HORSE_AMBIENT("entity.horse.ambient"),
- ENTITY_HORSE_ANGRY("entity.horse.angry"),
- ENTITY_HORSE_ARMOR("entity.horse.armor"),
- ENTITY_HORSE_BREATHE("entity.horse.breathe"),
- ENTITY_HORSE_DEATH("entity.horse.death"),
- ENTITY_HORSE_EAT("entity.horse.eat"),
- ENTITY_HORSE_GALLOP("entity.horse.gallop"),
- ENTITY_HORSE_HURT("entity.horse.hurt"),
- ENTITY_HORSE_JUMP("entity.horse.jump"),
- ENTITY_HORSE_LAND("entity.horse.land"),
- ENTITY_HORSE_SADDLE("entity.horse.saddle"),
- ENTITY_HORSE_STEP("entity.horse.step"),
- ENTITY_HORSE_STEP_WOOD("entity.horse.step_wood"),
- ENTITY_HOSTILE_BIG_FALL("entity.hostile.big_fall"),
- ENTITY_HOSTILE_DEATH("entity.hostile.death"),
- ENTITY_HOSTILE_HURT("entity.hostile.hurt"),
- ENTITY_HOSTILE_SMALL_FALL("entity.hostile.small_fall"),
- ENTITY_HOSTILE_SPLASH("entity.hostile.splash"),
- ENTITY_HOSTILE_SWIM("entity.hostile.swim"),
- ENTITY_HUSK_AMBIENT("entity.husk.ambient"),
- ENTITY_HUSK_CONVERTED_TO_ZOMBIE("entity.husk.converted_to_zombie"),
- ENTITY_HUSK_DEATH("entity.husk.death"),
- ENTITY_HUSK_HURT("entity.husk.hurt"),
- ENTITY_HUSK_STEP("entity.husk.step"),
- ENTITY_ILLUSIONER_AMBIENT("entity.illusioner.ambient"),
- ENTITY_ILLUSIONER_CAST_SPELL("entity.illusioner.cast_spell"),
- ENTITY_ILLUSIONER_DEATH("entity.illusioner.death"),
- ENTITY_ILLUSIONER_HURT("entity.illusioner.hurt"),
- ENTITY_ILLUSIONER_MIRROR_MOVE("entity.illusioner.mirror_move"),
- ENTITY_ILLUSIONER_PREPARE_BLINDNESS("entity.illusioner.prepare_blindness"),
- ENTITY_ILLUSIONER_PREPARE_MIRROR("entity.illusioner.prepare_mirror"),
- ENTITY_IRON_GOLEM_ATTACK("entity.iron_golem.attack"),
- ENTITY_IRON_GOLEM_DAMAGE("entity.iron_golem.damage"),
- ENTITY_IRON_GOLEM_DEATH("entity.iron_golem.death"),
- ENTITY_IRON_GOLEM_HURT("entity.iron_golem.hurt"),
- ENTITY_IRON_GOLEM_REPAIR("entity.iron_golem.repair"),
- ENTITY_IRON_GOLEM_STEP("entity.iron_golem.step"),
- ENTITY_ITEM_BREAK("entity.item.break"),
- ENTITY_ITEM_FRAME_ADD_ITEM("entity.item_frame.add_item"),
- ENTITY_ITEM_FRAME_BREAK("entity.item_frame.break"),
- ENTITY_ITEM_FRAME_PLACE("entity.item_frame.place"),
- ENTITY_ITEM_FRAME_REMOVE_ITEM("entity.item_frame.remove_item"),
- ENTITY_ITEM_FRAME_ROTATE_ITEM("entity.item_frame.rotate_item"),
- ENTITY_ITEM_PICKUP("entity.item.pickup"),
- ENTITY_LEASH_KNOT_BREAK("entity.leash_knot.break"),
- ENTITY_LEASH_KNOT_PLACE("entity.leash_knot.place"),
- ENTITY_LIGHTNING_BOLT_IMPACT("entity.lightning_bolt.impact"),
- ENTITY_LIGHTNING_BOLT_THUNDER("entity.lightning_bolt.thunder"),
- ENTITY_LINGERING_POTION_THROW("entity.lingering_potion.throw"),
- ENTITY_LLAMA_AMBIENT("entity.llama.ambient"),
- ENTITY_LLAMA_ANGRY("entity.llama.angry"),
- ENTITY_LLAMA_CHEST("entity.llama.chest"),
- ENTITY_LLAMA_DEATH("entity.llama.death"),
- ENTITY_LLAMA_EAT("entity.llama.eat"),
- ENTITY_LLAMA_HURT("entity.llama.hurt"),
- ENTITY_LLAMA_SPIT("entity.llama.spit"),
- ENTITY_LLAMA_STEP("entity.llama.step"),
- ENTITY_LLAMA_SWAG("entity.llama.swag"),
- ENTITY_MAGMA_CUBE_DEATH("entity.magma_cube.death"),
- ENTITY_MAGMA_CUBE_DEATH_SMALL("entity.magma_cube.death_small"),
- ENTITY_MAGMA_CUBE_HURT("entity.magma_cube.hurt"),
- ENTITY_MAGMA_CUBE_HURT_SMALL("entity.magma_cube.hurt_small"),
- ENTITY_MAGMA_CUBE_JUMP("entity.magma_cube.jump"),
- ENTITY_MAGMA_CUBE_SQUISH("entity.magma_cube.squish"),
- ENTITY_MAGMA_CUBE_SQUISH_SMALL("entity.magma_cube.squish_small"),
- ENTITY_MINECART_INSIDE("entity.minecart.inside"),
- ENTITY_MINECART_INSIDE_UNDERWATER("entity.minecart.inside.underwater"),
- ENTITY_MINECART_RIDING("entity.minecart.riding"),
- ENTITY_MOOSHROOM_CONVERT("entity.mooshroom.convert"),
- ENTITY_MOOSHROOM_EAT("entity.mooshroom.eat"),
- ENTITY_MOOSHROOM_MILK("entity.mooshroom.milk"),
- ENTITY_MOOSHROOM_SHEAR("entity.mooshroom.shear"),
- ENTITY_MOOSHROOM_SUSPICIOUS_MILK("entity.mooshroom.suspicious_milk"),
- ENTITY_MULE_AMBIENT("entity.mule.ambient"),
- ENTITY_MULE_ANGRY("entity.mule.angry"),
- ENTITY_MULE_CHEST("entity.mule.chest"),
- ENTITY_MULE_DEATH("entity.mule.death"),
- ENTITY_MULE_EAT("entity.mule.eat"),
- ENTITY_MULE_HURT("entity.mule.hurt"),
- ENTITY_OCELOT_AMBIENT("entity.ocelot.ambient"),
- ENTITY_OCELOT_DEATH("entity.ocelot.death"),
- ENTITY_OCELOT_HURT("entity.ocelot.hurt"),
- ENTITY_PAINTING_BREAK("entity.painting.break"),
- ENTITY_PAINTING_PLACE("entity.painting.place"),
- ENTITY_PANDA_AGGRESSIVE_AMBIENT("entity.panda.aggressive_ambient"),
- ENTITY_PANDA_AMBIENT("entity.panda.ambient"),
- ENTITY_PANDA_BITE("entity.panda.bite"),
- ENTITY_PANDA_CANT_BREED("entity.panda.cant_breed"),
- ENTITY_PANDA_DEATH("entity.panda.death"),
- ENTITY_PANDA_EAT("entity.panda.eat"),
- ENTITY_PANDA_HURT("entity.panda.hurt"),
- ENTITY_PANDA_PRE_SNEEZE("entity.panda.pre_sneeze"),
- ENTITY_PANDA_SNEEZE("entity.panda.sneeze"),
- ENTITY_PANDA_STEP("entity.panda.step"),
- ENTITY_PANDA_WORRIED_AMBIENT("entity.panda.worried_ambient"),
- ENTITY_PARROT_AMBIENT("entity.parrot.ambient"),
- ENTITY_PARROT_DEATH("entity.parrot.death"),
- ENTITY_PARROT_EAT("entity.parrot.eat"),
- ENTITY_PARROT_FLY("entity.parrot.fly"),
- ENTITY_PARROT_HURT("entity.parrot.hurt"),
- ENTITY_PARROT_IMITATE_BLAZE("entity.parrot.imitate.blaze"),
- ENTITY_PARROT_IMITATE_CREEPER("entity.parrot.imitate.creeper"),
- ENTITY_PARROT_IMITATE_DROWNED("entity.parrot.imitate.drowned"),
- ENTITY_PARROT_IMITATE_ELDER_GUARDIAN("entity.parrot.imitate.elder_guardian"),
- ENTITY_PARROT_IMITATE_ENDERMITE("entity.parrot.imitate.endermite"),
- ENTITY_PARROT_IMITATE_ENDER_DRAGON("entity.parrot.imitate.ender_dragon"),
- ENTITY_PARROT_IMITATE_EVOKER("entity.parrot.imitate.evoker"),
- ENTITY_PARROT_IMITATE_GHAST("entity.parrot.imitate.ghast"),
- ENTITY_PARROT_IMITATE_GUARDIAN("entity.parrot.imitate.guardian"),
- ENTITY_PARROT_IMITATE_HOGLIN("entity.parrot.imitate.hoglin"),
- ENTITY_PARROT_IMITATE_HUSK("entity.parrot.imitate.husk"),
- ENTITY_PARROT_IMITATE_ILLUSIONER("entity.parrot.imitate.illusioner"),
- ENTITY_PARROT_IMITATE_MAGMA_CUBE("entity.parrot.imitate.magma_cube"),
- ENTITY_PARROT_IMITATE_PHANTOM("entity.parrot.imitate.phantom"),
- ENTITY_PARROT_IMITATE_PIGLIN("entity.parrot.imitate.piglin"),
- ENTITY_PARROT_IMITATE_PIGLIN_BRUTE("entity.parrot.imitate.piglin_brute"),
- ENTITY_PARROT_IMITATE_PILLAGER("entity.parrot.imitate.pillager"),
- ENTITY_PARROT_IMITATE_RAVAGER("entity.parrot.imitate.ravager"),
- ENTITY_PARROT_IMITATE_SHULKER("entity.parrot.imitate.shulker"),
- ENTITY_PARROT_IMITATE_SILVERFISH("entity.parrot.imitate.silverfish"),
- ENTITY_PARROT_IMITATE_SKELETON("entity.parrot.imitate.skeleton"),
- ENTITY_PARROT_IMITATE_SLIME("entity.parrot.imitate.slime"),
- ENTITY_PARROT_IMITATE_SPIDER("entity.parrot.imitate.spider"),
- ENTITY_PARROT_IMITATE_STRAY("entity.parrot.imitate.stray"),
- ENTITY_PARROT_IMITATE_VEX("entity.parrot.imitate.vex"),
- ENTITY_PARROT_IMITATE_VINDICATOR("entity.parrot.imitate.vindicator"),
- ENTITY_PARROT_IMITATE_WITCH("entity.parrot.imitate.witch"),
- ENTITY_PARROT_IMITATE_WITHER("entity.parrot.imitate.wither"),
- ENTITY_PARROT_IMITATE_WITHER_SKELETON("entity.parrot.imitate.wither_skeleton"),
- ENTITY_PARROT_IMITATE_ZOGLIN("entity.parrot.imitate.zoglin"),
- ENTITY_PARROT_IMITATE_ZOMBIE("entity.parrot.imitate.zombie"),
- ENTITY_PARROT_IMITATE_ZOMBIE_VILLAGER("entity.parrot.imitate.zombie_villager"),
- ENTITY_PARROT_STEP("entity.parrot.step"),
- ENTITY_PHANTOM_AMBIENT("entity.phantom.ambient"),
- ENTITY_PHANTOM_BITE("entity.phantom.bite"),
- ENTITY_PHANTOM_DEATH("entity.phantom.death"),
- ENTITY_PHANTOM_FLAP("entity.phantom.flap"),
- ENTITY_PHANTOM_HURT("entity.phantom.hurt"),
- ENTITY_PHANTOM_SWOOP("entity.phantom.swoop"),
- ENTITY_PIGLIN_ADMIRING_ITEM("entity.piglin.admiring_item"),
- ENTITY_PIGLIN_AMBIENT("entity.piglin.ambient"),
- ENTITY_PIGLIN_ANGRY("entity.piglin.angry"),
- ENTITY_PIGLIN_BRUTE_AMBIENT("entity.piglin_brute.ambient"),
- ENTITY_PIGLIN_BRUTE_ANGRY("entity.piglin_brute.angry"),
- ENTITY_PIGLIN_BRUTE_CONVERTED_TO_ZOMBIFIED("entity.piglin_brute.converted_to_zombified"),
- ENTITY_PIGLIN_BRUTE_DEATH("entity.piglin_brute.death"),
- ENTITY_PIGLIN_BRUTE_HURT("entity.piglin_brute.hurt"),
- ENTITY_PIGLIN_BRUTE_STEP("entity.piglin_brute.step"),
- ENTITY_PIGLIN_CELEBRATE("entity.piglin.celebrate"),
- ENTITY_PIGLIN_CONVERTED_TO_ZOMBIFIED("entity.piglin.converted_to_zombified"),
- ENTITY_PIGLIN_DEATH("entity.piglin.death"),
- ENTITY_PIGLIN_HURT("entity.piglin.hurt"),
- ENTITY_PIGLIN_JEALOUS("entity.piglin.jealous"),
- ENTITY_PIGLIN_RETREAT("entity.piglin.retreat"),
- ENTITY_PIGLIN_STEP("entity.piglin.step"),
- ENTITY_PIG_AMBIENT("entity.pig.ambient"),
- ENTITY_PIG_DEATH("entity.pig.death"),
- ENTITY_PIG_HURT("entity.pig.hurt"),
- ENTITY_PIG_SADDLE("entity.pig.saddle"),
- ENTITY_PIG_STEP("entity.pig.step"),
- ENTITY_PILLAGER_AMBIENT("entity.pillager.ambient"),
- ENTITY_PILLAGER_CELEBRATE("entity.pillager.celebrate"),
- ENTITY_PILLAGER_DEATH("entity.pillager.death"),
- ENTITY_PILLAGER_HURT("entity.pillager.hurt"),
- ENTITY_PLAYER_ATTACK_CRIT("entity.player.attack.crit"),
- ENTITY_PLAYER_ATTACK_KNOCKBACK("entity.player.attack.knockback"),
- ENTITY_PLAYER_ATTACK_NODAMAGE("entity.player.attack.nodamage"),
- ENTITY_PLAYER_ATTACK_STRONG("entity.player.attack.strong"),
- ENTITY_PLAYER_ATTACK_SWEEP("entity.player.attack.sweep"),
- ENTITY_PLAYER_ATTACK_WEAK("entity.player.attack.weak"),
- ENTITY_PLAYER_BIG_FALL("entity.player.big_fall"),
- ENTITY_PLAYER_BREATH("entity.player.breath"),
- ENTITY_PLAYER_BURP("entity.player.burp"),
- ENTITY_PLAYER_DEATH("entity.player.death"),
- ENTITY_PLAYER_HURT("entity.player.hurt"),
- ENTITY_PLAYER_HURT_DROWN("entity.player.hurt_drown"),
- ENTITY_PLAYER_HURT_FREEZE("entity.player.hurt_freeze"),
- ENTITY_PLAYER_HURT_ON_FIRE("entity.player.hurt_on_fire"),
- ENTITY_PLAYER_HURT_SWEET_BERRY_BUSH("entity.player.hurt_sweet_berry_bush"),
- ENTITY_PLAYER_LEVELUP("entity.player.levelup"),
- ENTITY_PLAYER_SMALL_FALL("entity.player.small_fall"),
- ENTITY_PLAYER_SPLASH("entity.player.splash"),
- ENTITY_PLAYER_SPLASH_HIGH_SPEED("entity.player.splash.high_speed"),
- ENTITY_PLAYER_SWIM("entity.player.swim"),
- ENTITY_POLAR_BEAR_AMBIENT("entity.polar_bear.ambient"),
- ENTITY_POLAR_BEAR_AMBIENT_BABY("entity.polar_bear.ambient_baby"),
- ENTITY_POLAR_BEAR_DEATH("entity.polar_bear.death"),
- ENTITY_POLAR_BEAR_HURT("entity.polar_bear.hurt"),
- ENTITY_POLAR_BEAR_STEP("entity.polar_bear.step"),
- ENTITY_POLAR_BEAR_WARNING("entity.polar_bear.warning"),
- ENTITY_PUFFER_FISH_AMBIENT("entity.puffer_fish.ambient"),
- ENTITY_PUFFER_FISH_BLOW_OUT("entity.puffer_fish.blow_out"),
- ENTITY_PUFFER_FISH_BLOW_UP("entity.puffer_fish.blow_up"),
- ENTITY_PUFFER_FISH_DEATH("entity.puffer_fish.death"),
- ENTITY_PUFFER_FISH_FLOP("entity.puffer_fish.flop"),
- ENTITY_PUFFER_FISH_HURT("entity.puffer_fish.hurt"),
- ENTITY_PUFFER_FISH_STING("entity.puffer_fish.sting"),
- ENTITY_RABBIT_AMBIENT("entity.rabbit.ambient"),
- ENTITY_RABBIT_ATTACK("entity.rabbit.attack"),
- ENTITY_RABBIT_DEATH("entity.rabbit.death"),
- ENTITY_RABBIT_HURT("entity.rabbit.hurt"),
- ENTITY_RABBIT_JUMP("entity.rabbit.jump"),
- ENTITY_RAVAGER_AMBIENT("entity.ravager.ambient"),
- ENTITY_RAVAGER_ATTACK("entity.ravager.attack"),
- ENTITY_RAVAGER_CELEBRATE("entity.ravager.celebrate"),
- ENTITY_RAVAGER_DEATH("entity.ravager.death"),
- ENTITY_RAVAGER_HURT("entity.ravager.hurt"),
- ENTITY_RAVAGER_ROAR("entity.ravager.roar"),
- ENTITY_RAVAGER_STEP("entity.ravager.step"),
- ENTITY_RAVAGER_STUNNED("entity.ravager.stunned"),
- ENTITY_SALMON_AMBIENT("entity.salmon.ambient"),
- ENTITY_SALMON_DEATH("entity.salmon.death"),
- ENTITY_SALMON_FLOP("entity.salmon.flop"),
- ENTITY_SALMON_HURT("entity.salmon.hurt"),
- ENTITY_SHEEP_AMBIENT("entity.sheep.ambient"),
- ENTITY_SHEEP_DEATH("entity.sheep.death"),
- ENTITY_SHEEP_HURT("entity.sheep.hurt"),
- ENTITY_SHEEP_SHEAR("entity.sheep.shear"),
- ENTITY_SHEEP_STEP("entity.sheep.step"),
- ENTITY_SHULKER_AMBIENT("entity.shulker.ambient"),
- ENTITY_SHULKER_BULLET_HIT("entity.shulker_bullet.hit"),
- ENTITY_SHULKER_BULLET_HURT("entity.shulker_bullet.hurt"),
- ENTITY_SHULKER_CLOSE("entity.shulker.close"),
- ENTITY_SHULKER_DEATH("entity.shulker.death"),
- ENTITY_SHULKER_HURT("entity.shulker.hurt"),
- ENTITY_SHULKER_HURT_CLOSED("entity.shulker.hurt_closed"),
- ENTITY_SHULKER_OPEN("entity.shulker.open"),
- ENTITY_SHULKER_SHOOT("entity.shulker.shoot"),
- ENTITY_SHULKER_TELEPORT("entity.shulker.teleport"),
- ENTITY_SILVERFISH_AMBIENT("entity.silverfish.ambient"),
- ENTITY_SILVERFISH_DEATH("entity.silverfish.death"),
- ENTITY_SILVERFISH_HURT("entity.silverfish.hurt"),
- ENTITY_SILVERFISH_STEP("entity.silverfish.step"),
- ENTITY_SKELETON_AMBIENT("entity.skeleton.ambient"),
- ENTITY_SKELETON_CONVERTED_TO_STRAY("entity.skeleton.converted_to_stray"),
- ENTITY_SKELETON_DEATH("entity.skeleton.death"),
- ENTITY_SKELETON_HORSE_AMBIENT("entity.skeleton_horse.ambient"),
- ENTITY_SKELETON_HORSE_AMBIENT_WATER("entity.skeleton_horse.ambient_water"),
- ENTITY_SKELETON_HORSE_DEATH("entity.skeleton_horse.death"),
- ENTITY_SKELETON_HORSE_GALLOP_WATER("entity.skeleton_horse.gallop_water"),
- ENTITY_SKELETON_HORSE_HURT("entity.skeleton_horse.hurt"),
- ENTITY_SKELETON_HORSE_JUMP_WATER("entity.skeleton_horse.jump_water"),
- ENTITY_SKELETON_HORSE_STEP_WATER("entity.skeleton_horse.step_water"),
- ENTITY_SKELETON_HORSE_SWIM("entity.skeleton_horse.swim"),
- ENTITY_SKELETON_HURT("entity.skeleton.hurt"),
- ENTITY_SKELETON_SHOOT("entity.skeleton.shoot"),
- ENTITY_SKELETON_STEP("entity.skeleton.step"),
- ENTITY_SLIME_ATTACK("entity.slime.attack"),
- ENTITY_SLIME_DEATH("entity.slime.death"),
- ENTITY_SLIME_DEATH_SMALL("entity.slime.death_small"),
- ENTITY_SLIME_HURT("entity.slime.hurt"),
- ENTITY_SLIME_HURT_SMALL("entity.slime.hurt_small"),
- ENTITY_SLIME_JUMP("entity.slime.jump"),
- ENTITY_SLIME_JUMP_SMALL("entity.slime.jump_small"),
- ENTITY_SLIME_SQUISH("entity.slime.squish"),
- ENTITY_SLIME_SQUISH_SMALL("entity.slime.squish_small"),
- ENTITY_SNOWBALL_THROW("entity.snowball.throw"),
- ENTITY_SNOW_GOLEM_AMBIENT("entity.snow_golem.ambient"),
- ENTITY_SNOW_GOLEM_DEATH("entity.snow_golem.death"),
- ENTITY_SNOW_GOLEM_HURT("entity.snow_golem.hurt"),
- ENTITY_SNOW_GOLEM_SHEAR("entity.snow_golem.shear"),
- ENTITY_SNOW_GOLEM_SHOOT("entity.snow_golem.shoot"),
- ENTITY_SPIDER_AMBIENT("entity.spider.ambient"),
- ENTITY_SPIDER_DEATH("entity.spider.death"),
- ENTITY_SPIDER_HURT("entity.spider.hurt"),
- ENTITY_SPIDER_STEP("entity.spider.step"),
- ENTITY_SPLASH_POTION_BREAK("entity.splash_potion.break"),
- ENTITY_SPLASH_POTION_THROW("entity.splash_potion.throw"),
- ENTITY_SQUID_AMBIENT("entity.squid.ambient"),
- ENTITY_SQUID_DEATH("entity.squid.death"),
- ENTITY_SQUID_HURT("entity.squid.hurt"),
- ENTITY_SQUID_SQUIRT("entity.squid.squirt"),
- ENTITY_STRAY_AMBIENT("entity.stray.ambient"),
- ENTITY_STRAY_DEATH("entity.stray.death"),
- ENTITY_STRAY_HURT("entity.stray.hurt"),
- ENTITY_STRAY_STEP("entity.stray.step"),
- ENTITY_STRIDER_AMBIENT("entity.strider.ambient"),
- ENTITY_STRIDER_DEATH("entity.strider.death"),
- ENTITY_STRIDER_EAT("entity.strider.eat"),
- ENTITY_STRIDER_HAPPY("entity.strider.happy"),
- ENTITY_STRIDER_HURT("entity.strider.hurt"),
- ENTITY_STRIDER_RETREAT("entity.strider.retreat"),
- ENTITY_STRIDER_SADDLE("entity.strider.saddle"),
- ENTITY_STRIDER_STEP("entity.strider.step"),
- ENTITY_STRIDER_STEP_LAVA("entity.strider.step_lava"),
- ENTITY_TNT_PRIMED("entity.tnt.primed"),
- ENTITY_TROPICAL_FISH_AMBIENT("entity.tropical_fish.ambient"),
- ENTITY_TROPICAL_FISH_DEATH("entity.tropical_fish.death"),
- ENTITY_TROPICAL_FISH_FLOP("entity.tropical_fish.flop"),
- ENTITY_TROPICAL_FISH_HURT("entity.tropical_fish.hurt"),
- ENTITY_TURTLE_AMBIENT_LAND("entity.turtle.ambient_land"),
- ENTITY_TURTLE_DEATH("entity.turtle.death"),
- ENTITY_TURTLE_DEATH_BABY("entity.turtle.death_baby"),
- ENTITY_TURTLE_EGG_BREAK("entity.turtle.egg_break"),
- ENTITY_TURTLE_EGG_CRACK("entity.turtle.egg_crack"),
- ENTITY_TURTLE_EGG_HATCH("entity.turtle.egg_hatch"),
- ENTITY_TURTLE_HURT("entity.turtle.hurt"),
- ENTITY_TURTLE_HURT_BABY("entity.turtle.hurt_baby"),
- ENTITY_TURTLE_LAY_EGG("entity.turtle.lay_egg"),
- ENTITY_TURTLE_SHAMBLE("entity.turtle.shamble"),
- ENTITY_TURTLE_SHAMBLE_BABY("entity.turtle.shamble_baby"),
- ENTITY_TURTLE_SWIM("entity.turtle.swim"),
- ENTITY_VEX_AMBIENT("entity.vex.ambient"),
- ENTITY_VEX_CHARGE("entity.vex.charge"),
- ENTITY_VEX_DEATH("entity.vex.death"),
- ENTITY_VEX_HURT("entity.vex.hurt"),
- ENTITY_VILLAGER_AMBIENT("entity.villager.ambient"),
- ENTITY_VILLAGER_CELEBRATE("entity.villager.celebrate"),
- ENTITY_VILLAGER_DEATH("entity.villager.death"),
- ENTITY_VILLAGER_HURT("entity.villager.hurt"),
- ENTITY_VILLAGER_NO("entity.villager.no"),
- ENTITY_VILLAGER_TRADE("entity.villager.trade"),
- ENTITY_VILLAGER_WORK_ARMORER("entity.villager.work_armorer"),
- ENTITY_VILLAGER_WORK_BUTCHER("entity.villager.work_butcher"),
- ENTITY_VILLAGER_WORK_CARTOGRAPHER("entity.villager.work_cartographer"),
- ENTITY_VILLAGER_WORK_CLERIC("entity.villager.work_cleric"),
- ENTITY_VILLAGER_WORK_FARMER("entity.villager.work_farmer"),
- ENTITY_VILLAGER_WORK_FISHERMAN("entity.villager.work_fisherman"),
- ENTITY_VILLAGER_WORK_FLETCHER("entity.villager.work_fletcher"),
- ENTITY_VILLAGER_WORK_LEATHERWORKER("entity.villager.work_leatherworker"),
- ENTITY_VILLAGER_WORK_LIBRARIAN("entity.villager.work_librarian"),
- ENTITY_VILLAGER_WORK_MASON("entity.villager.work_mason"),
- ENTITY_VILLAGER_WORK_SHEPHERD("entity.villager.work_shepherd"),
- ENTITY_VILLAGER_WORK_TOOLSMITH("entity.villager.work_toolsmith"),
- ENTITY_VILLAGER_WORK_WEAPONSMITH("entity.villager.work_weaponsmith"),
- ENTITY_VILLAGER_YES("entity.villager.yes"),
- ENTITY_VINDICATOR_AMBIENT("entity.vindicator.ambient"),
- ENTITY_VINDICATOR_CELEBRATE("entity.vindicator.celebrate"),
- ENTITY_VINDICATOR_DEATH("entity.vindicator.death"),
- ENTITY_VINDICATOR_HURT("entity.vindicator.hurt"),
- ENTITY_WANDERING_TRADER_AMBIENT("entity.wandering_trader.ambient"),
- ENTITY_WANDERING_TRADER_DEATH("entity.wandering_trader.death"),
- ENTITY_WANDERING_TRADER_DISAPPEARED("entity.wandering_trader.disappeared"),
- ENTITY_WANDERING_TRADER_DRINK_MILK("entity.wandering_trader.drink_milk"),
- ENTITY_WANDERING_TRADER_DRINK_POTION("entity.wandering_trader.drink_potion"),
- ENTITY_WANDERING_TRADER_HURT("entity.wandering_trader.hurt"),
- ENTITY_WANDERING_TRADER_NO("entity.wandering_trader.no"),
- ENTITY_WANDERING_TRADER_REAPPEARED("entity.wandering_trader.reappeared"),
- ENTITY_WANDERING_TRADER_TRADE("entity.wandering_trader.trade"),
- ENTITY_WANDERING_TRADER_YES("entity.wandering_trader.yes"),
- ENTITY_WITCH_AMBIENT("entity.witch.ambient"),
- ENTITY_WITCH_CELEBRATE("entity.witch.celebrate"),
- ENTITY_WITCH_DEATH("entity.witch.death"),
- ENTITY_WITCH_DRINK("entity.witch.drink"),
- ENTITY_WITCH_HURT("entity.witch.hurt"),
- ENTITY_WITCH_THROW("entity.witch.throw"),
- ENTITY_WITHER_AMBIENT("entity.wither.ambient"),
- ENTITY_WITHER_BREAK_BLOCK("entity.wither.break_block"),
- ENTITY_WITHER_DEATH("entity.wither.death"),
- ENTITY_WITHER_HURT("entity.wither.hurt"),
- ENTITY_WITHER_SHOOT("entity.wither.shoot"),
- ENTITY_WITHER_SKELETON_AMBIENT("entity.wither_skeleton.ambient"),
- ENTITY_WITHER_SKELETON_DEATH("entity.wither_skeleton.death"),
- ENTITY_WITHER_SKELETON_HURT("entity.wither_skeleton.hurt"),
- ENTITY_WITHER_SKELETON_STEP("entity.wither_skeleton.step"),
- ENTITY_WITHER_SPAWN("entity.wither.spawn"),
- ENTITY_WOLF_AMBIENT("entity.wolf.ambient"),
- ENTITY_WOLF_DEATH("entity.wolf.death"),
- ENTITY_WOLF_GROWL("entity.wolf.growl"),
- ENTITY_WOLF_HOWL("entity.wolf.howl"),
- ENTITY_WOLF_HURT("entity.wolf.hurt"),
- ENTITY_WOLF_PANT("entity.wolf.pant"),
- ENTITY_WOLF_SHAKE("entity.wolf.shake"),
- ENTITY_WOLF_STEP("entity.wolf.step"),
- ENTITY_WOLF_WHINE("entity.wolf.whine"),
- ENTITY_ZOGLIN_AMBIENT("entity.zoglin.ambient"),
- ENTITY_ZOGLIN_ANGRY("entity.zoglin.angry"),
- ENTITY_ZOGLIN_ATTACK("entity.zoglin.attack"),
- ENTITY_ZOGLIN_DEATH("entity.zoglin.death"),
- ENTITY_ZOGLIN_HURT("entity.zoglin.hurt"),
- ENTITY_ZOGLIN_STEP("entity.zoglin.step"),
- ENTITY_ZOMBIE_AMBIENT("entity.zombie.ambient"),
- ENTITY_ZOMBIE_ATTACK_IRON_DOOR("entity.zombie.attack_iron_door"),
- ENTITY_ZOMBIE_ATTACK_WOODEN_DOOR("entity.zombie.attack_wooden_door"),
- ENTITY_ZOMBIE_BREAK_WOODEN_DOOR("entity.zombie.break_wooden_door"),
- ENTITY_ZOMBIE_CONVERTED_TO_DROWNED("entity.zombie.converted_to_drowned"),
- ENTITY_ZOMBIE_DEATH("entity.zombie.death"),
- ENTITY_ZOMBIE_DESTROY_EGG("entity.zombie.destroy_egg"),
- ENTITY_ZOMBIE_HORSE_AMBIENT("entity.zombie_horse.ambient"),
- ENTITY_ZOMBIE_HORSE_DEATH("entity.zombie_horse.death"),
- ENTITY_ZOMBIE_HORSE_HURT("entity.zombie_horse.hurt"),
- ENTITY_ZOMBIE_HURT("entity.zombie.hurt"),
- ENTITY_ZOMBIE_INFECT("entity.zombie.infect"),
- ENTITY_ZOMBIE_STEP("entity.zombie.step"),
- ENTITY_ZOMBIE_VILLAGER_AMBIENT("entity.zombie_villager.ambient"),
- ENTITY_ZOMBIE_VILLAGER_CONVERTED("entity.zombie_villager.converted"),
- ENTITY_ZOMBIE_VILLAGER_CURE("entity.zombie_villager.cure"),
- ENTITY_ZOMBIE_VILLAGER_DEATH("entity.zombie_villager.death"),
- ENTITY_ZOMBIE_VILLAGER_HURT("entity.zombie_villager.hurt"),
- ENTITY_ZOMBIE_VILLAGER_STEP("entity.zombie_villager.step"),
- ENTITY_ZOMBIFIED_PIGLIN_AMBIENT("entity.zombified_piglin.ambient"),
- ENTITY_ZOMBIFIED_PIGLIN_ANGRY("entity.zombified_piglin.angry"),
- ENTITY_ZOMBIFIED_PIGLIN_DEATH("entity.zombified_piglin.death"),
- ENTITY_ZOMBIFIED_PIGLIN_HURT("entity.zombified_piglin.hurt"),
- EVENT_RAID_HORN("event.raid.horn"),
- ITEM_ARMOR_EQUIP_CHAIN("item.armor.equip_chain"),
- ITEM_ARMOR_EQUIP_DIAMOND("item.armor.equip_diamond"),
- ITEM_ARMOR_EQUIP_ELYTRA("item.armor.equip_elytra"),
- ITEM_ARMOR_EQUIP_GENERIC("item.armor.equip_generic"),
- ITEM_ARMOR_EQUIP_GOLD("item.armor.equip_gold"),
- ITEM_ARMOR_EQUIP_IRON("item.armor.equip_iron"),
- ITEM_ARMOR_EQUIP_LEATHER("item.armor.equip_leather"),
- ITEM_ARMOR_EQUIP_NETHERITE("item.armor.equip_netherite"),
- ITEM_ARMOR_EQUIP_TURTLE("item.armor.equip_turtle"),
- ITEM_AXE_SCRAPE("item.axe.scrape"),
- ITEM_AXE_STRIP("item.axe.strip"),
- ITEM_AXE_WAX_OFF("item.axe.wax_off"),
- ITEM_BONE_MEAL_USE("item.bone_meal.use"),
- ITEM_BOOK_PAGE_TURN("item.book.page_turn"),
- ITEM_BOOK_PUT("item.book.put"),
- ITEM_BOTTLE_EMPTY("item.bottle.empty"),
- ITEM_BOTTLE_FILL("item.bottle.fill"),
- ITEM_BOTTLE_FILL_DRAGONBREATH("item.bottle.fill_dragonbreath"),
- ITEM_BUCKET_EMPTY("item.bucket.empty"),
- ITEM_BUCKET_EMPTY_AXOLOTL("item.bucket.empty_axolotl"),
- ITEM_BUCKET_EMPTY_FISH("item.bucket.empty_fish"),
- ITEM_BUCKET_EMPTY_LAVA("item.bucket.empty_lava"),
- ITEM_BUCKET_EMPTY_POWDER_SNOW("item.bucket.empty_powder_snow"),
- ITEM_BUCKET_FILL("item.bucket.fill"),
- ITEM_BUCKET_FILL_AXOLOTL("item.bucket.fill_axolotl"),
- ITEM_BUCKET_FILL_FISH("item.bucket.fill_fish"),
- ITEM_BUCKET_FILL_LAVA("item.bucket.fill_lava"),
- ITEM_BUCKET_FILL_POWDER_SNOW("item.bucket.fill_powder_snow"),
- ITEM_CHORUS_FRUIT_TELEPORT("item.chorus_fruit.teleport"),
- ITEM_CROP_PLANT("item.crop.plant"),
- ITEM_CROSSBOW_HIT("item.crossbow.hit"),
- ITEM_CROSSBOW_LOADING_END("item.crossbow.loading_end"),
- ITEM_CROSSBOW_LOADING_MIDDLE("item.crossbow.loading_middle"),
- ITEM_CROSSBOW_LOADING_START("item.crossbow.loading_start"),
- ITEM_CROSSBOW_QUICK_CHARGE_1("item.crossbow.quick_charge_1"),
- ITEM_CROSSBOW_QUICK_CHARGE_2("item.crossbow.quick_charge_2"),
- ITEM_CROSSBOW_QUICK_CHARGE_3("item.crossbow.quick_charge_3"),
- ITEM_CROSSBOW_SHOOT("item.crossbow.shoot"),
- ITEM_DYE_USE("item.dye.use"),
- ITEM_ELYTRA_FLYING("item.elytra.flying"),
- ITEM_FIRECHARGE_USE("item.firecharge.use"),
- ITEM_FLINTANDSTEEL_USE("item.flintandsteel.use"),
- ITEM_GLOW_INK_SAC_USE("item.glow_ink_sac.use"),
- ITEM_HOE_TILL("item.hoe.till"),
- ITEM_HONEYCOMB_WAX_ON("item.honeycomb.wax_on"),
- ITEM_HONEY_BOTTLE_DRINK("item.honey_bottle.drink"),
- ITEM_INK_SAC_USE("item.ink_sac.use"),
- ITEM_LODESTONE_COMPASS_LOCK("item.lodestone_compass.lock"),
- ITEM_NETHER_WART_PLANT("item.nether_wart.plant"),
- ITEM_SHIELD_BLOCK("item.shield.block"),
- ITEM_SHIELD_BREAK("item.shield.break"),
- ITEM_SHOVEL_FLATTEN("item.shovel.flatten"),
- ITEM_SPYGLASS_STOP_USING("item.spyglass.stop_using"),
- ITEM_SPYGLASS_USE("item.spyglass.use"),
- ITEM_TOTEM_USE("item.totem.use"),
- ITEM_TRIDENT_HIT("item.trident.hit"),
- ITEM_TRIDENT_HIT_GROUND("item.trident.hit_ground"),
- ITEM_TRIDENT_RETURN("item.trident.return"),
- ITEM_TRIDENT_RIPTIDE_1("item.trident.riptide_1"),
- ITEM_TRIDENT_RIPTIDE_2("item.trident.riptide_2"),
- ITEM_TRIDENT_RIPTIDE_3("item.trident.riptide_3"),
- ITEM_TRIDENT_THROW("item.trident.throw"),
- ITEM_TRIDENT_THUNDER("item.trident.thunder"),
- MUSIC_CREATIVE("music.creative"),
- MUSIC_CREDITS("music.credits"),
- MUSIC_DISC_11("music_disc.11"),
- MUSIC_DISC_13("music_disc.13"),
- MUSIC_DISC_BLOCKS("music_disc.blocks"),
- MUSIC_DISC_CAT("music_disc.cat"),
- MUSIC_DISC_CHIRP("music_disc.chirp"),
- MUSIC_DISC_FAR("music_disc.far"),
- MUSIC_DISC_MALL("music_disc.mall"),
- MUSIC_DISC_MELLOHI("music_disc.mellohi"),
- MUSIC_DISC_PIGSTEP("music_disc.pigstep"),
- MUSIC_DISC_STAL("music_disc.stal"),
- MUSIC_DISC_STRAD("music_disc.strad"),
- MUSIC_DISC_WAIT("music_disc.wait"),
- MUSIC_DISC_WARD("music_disc.ward"),
- MUSIC_DRAGON("music.dragon"),
- MUSIC_END("music.end"),
- MUSIC_GAME("music.game"),
- MUSIC_MENU("music.menu"),
- MUSIC_NETHER_BASALT_DELTAS("music.nether.basalt_deltas"),
- MUSIC_NETHER_CRIMSON_FOREST("music.nether.crimson_forest"),
- MUSIC_NETHER_NETHER_WASTES("music.nether.nether_wastes"),
- MUSIC_NETHER_SOUL_SAND_VALLEY("music.nether.soul_sand_valley"),
- MUSIC_NETHER_WARPED_FOREST("music.nether.warped_forest"),
- MUSIC_UNDER_WATER("music.under_water"),
- PARTICLE_SOUL_ESCAPE("particle.soul_escape"),
- UI_BUTTON_CLICK("ui.button.click"),
- UI_CARTOGRAPHY_TABLE_TAKE_RESULT("ui.cartography_table.take_result"),
- UI_LOOM_SELECT_PATTERN("ui.loom.select_pattern"),
- UI_LOOM_TAKE_RESULT("ui.loom.take_result"),
- UI_STONECUTTER_SELECT_RECIPE("ui.stonecutter.select_recipe"),
- UI_STONECUTTER_TAKE_RESULT("ui.stonecutter.take_result"),
- UI_TOAST_CHALLENGE_COMPLETE("ui.toast.challenge_complete"),
- UI_TOAST_IN("ui.toast.in"),
- UI_TOAST_OUT("ui.toast.out"),
- WEATHER_RAIN("weather.rain"),
- WEATHER_RAIN_ABOVE("weather.rain.above");
+ public static final Sound AMBIENT_BASALT_DELTAS_ADDITIONS = getSound("ambient.basalt_deltas.additions");
+ public static final Sound AMBIENT_BASALT_DELTAS_LOOP = getSound("ambient.basalt_deltas.loop");
+ public static final Sound AMBIENT_BASALT_DELTAS_MOOD = getSound("ambient.basalt_deltas.mood");
+ public static final Sound AMBIENT_CAVE = getSound("ambient.cave");
+ public static final Sound AMBIENT_CRIMSON_FOREST_ADDITIONS = getSound("ambient.crimson_forest.additions");
+ public static final Sound AMBIENT_CRIMSON_FOREST_LOOP = getSound("ambient.crimson_forest.loop");
+ public static final Sound AMBIENT_CRIMSON_FOREST_MOOD = getSound("ambient.crimson_forest.mood");
+ public static final Sound AMBIENT_NETHER_WASTES_ADDITIONS = getSound("ambient.nether_wastes.additions");
+ public static final Sound AMBIENT_NETHER_WASTES_LOOP = getSound("ambient.nether_wastes.loop");
+ public static final Sound AMBIENT_NETHER_WASTES_MOOD = getSound("ambient.nether_wastes.mood");
+ public static final Sound AMBIENT_SOUL_SAND_VALLEY_ADDITIONS = getSound("ambient.soul_sand_valley.additions");
+ public static final Sound AMBIENT_SOUL_SAND_VALLEY_LOOP = getSound("ambient.soul_sand_valley.loop");
+ public static final Sound AMBIENT_SOUL_SAND_VALLEY_MOOD = getSound("ambient.soul_sand_valley.mood");
+ public static final Sound AMBIENT_UNDERWATER_ENTER = getSound("ambient.underwater.enter");
+ public static final Sound AMBIENT_UNDERWATER_EXIT = getSound("ambient.underwater.exit");
+ public static final Sound AMBIENT_UNDERWATER_LOOP = getSound("ambient.underwater.loop");
+ public static final Sound AMBIENT_UNDERWATER_LOOP_ADDITIONS = getSound("ambient.underwater.loop.additions");
+ public static final Sound AMBIENT_UNDERWATER_LOOP_ADDITIONS_RARE = getSound("ambient.underwater.loop.additions.rare");
+ public static final Sound AMBIENT_UNDERWATER_LOOP_ADDITIONS_ULTRA_RARE = getSound("ambient.underwater.loop.additions.ultra_rare");
+ public static final Sound AMBIENT_WARPED_FOREST_ADDITIONS = getSound("ambient.warped_forest.additions");
+ public static final Sound AMBIENT_WARPED_FOREST_LOOP = getSound("ambient.warped_forest.loop");
+ public static final Sound AMBIENT_WARPED_FOREST_MOOD = getSound("ambient.warped_forest.mood");
+ public static final Sound BLOCK_AMETHYST_BLOCK_BREAK = getSound("block.amethyst_block.break");
+ public static final Sound BLOCK_AMETHYST_BLOCK_CHIME = getSound("block.amethyst_block.chime");
+ public static final Sound BLOCK_AMETHYST_BLOCK_FALL = getSound("block.amethyst_block.fall");
+ public static final Sound BLOCK_AMETHYST_BLOCK_HIT = getSound("block.amethyst_block.hit");
+ public static final Sound BLOCK_AMETHYST_BLOCK_PLACE = getSound("block.amethyst_block.place");
+ public static final Sound BLOCK_AMETHYST_BLOCK_STEP = getSound("block.amethyst_block.step");
+ public static final Sound BLOCK_AMETHYST_CLUSTER_BREAK = getSound("block.amethyst_cluster.break");
+ public static final Sound BLOCK_AMETHYST_CLUSTER_FALL = getSound("block.amethyst_cluster.fall");
+ public static final Sound BLOCK_AMETHYST_CLUSTER_HIT = getSound("block.amethyst_cluster.hit");
+ public static final Sound BLOCK_AMETHYST_CLUSTER_PLACE = getSound("block.amethyst_cluster.place");
+ public static final Sound BLOCK_AMETHYST_CLUSTER_STEP = getSound("block.amethyst_cluster.step");
+ public static final Sound BLOCK_ANCIENT_DEBRIS_BREAK = getSound("block.ancient_debris.break");
+ public static final Sound BLOCK_ANCIENT_DEBRIS_FALL = getSound("block.ancient_debris.fall");
+ public static final Sound BLOCK_ANCIENT_DEBRIS_HIT = getSound("block.ancient_debris.hit");
+ public static final Sound BLOCK_ANCIENT_DEBRIS_PLACE = getSound("block.ancient_debris.place");
+ public static final Sound BLOCK_ANCIENT_DEBRIS_STEP = getSound("block.ancient_debris.step");
+ public static final Sound BLOCK_ANVIL_BREAK = getSound("block.anvil.break");
+ public static final Sound BLOCK_ANVIL_DESTROY = getSound("block.anvil.destroy");
+ public static final Sound BLOCK_ANVIL_FALL = getSound("block.anvil.fall");
+ public static final Sound BLOCK_ANVIL_HIT = getSound("block.anvil.hit");
+ public static final Sound BLOCK_ANVIL_LAND = getSound("block.anvil.land");
+ public static final Sound BLOCK_ANVIL_PLACE = getSound("block.anvil.place");
+ public static final Sound BLOCK_ANVIL_STEP = getSound("block.anvil.step");
+ public static final Sound BLOCK_ANVIL_USE = getSound("block.anvil.use");
+ public static final Sound BLOCK_AZALEA_BREAK = getSound("block.azalea.break");
+ public static final Sound BLOCK_AZALEA_FALL = getSound("block.azalea.fall");
+ public static final Sound BLOCK_AZALEA_HIT = getSound("block.azalea.hit");
+ public static final Sound BLOCK_AZALEA_LEAVES_BREAK = getSound("block.azalea_leaves.break");
+ public static final Sound BLOCK_AZALEA_LEAVES_FALL = getSound("block.azalea_leaves.fall");
+ public static final Sound BLOCK_AZALEA_LEAVES_HIT = getSound("block.azalea_leaves.hit");
+ public static final Sound BLOCK_AZALEA_LEAVES_PLACE = getSound("block.azalea_leaves.place");
+ public static final Sound BLOCK_AZALEA_LEAVES_STEP = getSound("block.azalea_leaves.step");
+ public static final Sound BLOCK_AZALEA_PLACE = getSound("block.azalea.place");
+ public static final Sound BLOCK_AZALEA_STEP = getSound("block.azalea.step");
+ public static final Sound BLOCK_BAMBOO_BREAK = getSound("block.bamboo.break");
+ public static final Sound BLOCK_BAMBOO_FALL = getSound("block.bamboo.fall");
+ public static final Sound BLOCK_BAMBOO_HIT = getSound("block.bamboo.hit");
+ public static final Sound BLOCK_BAMBOO_PLACE = getSound("block.bamboo.place");
+ public static final Sound BLOCK_BAMBOO_SAPLING_BREAK = getSound("block.bamboo_sapling.break");
+ public static final Sound BLOCK_BAMBOO_SAPLING_HIT = getSound("block.bamboo_sapling.hit");
+ public static final Sound BLOCK_BAMBOO_SAPLING_PLACE = getSound("block.bamboo_sapling.place");
+ public static final Sound BLOCK_BAMBOO_STEP = getSound("block.bamboo.step");
+ public static final Sound BLOCK_BARREL_CLOSE = getSound("block.barrel.close");
+ public static final Sound BLOCK_BARREL_OPEN = getSound("block.barrel.open");
+ public static final Sound BLOCK_BASALT_BREAK = getSound("block.basalt.break");
+ public static final Sound BLOCK_BASALT_FALL = getSound("block.basalt.fall");
+ public static final Sound BLOCK_BASALT_HIT = getSound("block.basalt.hit");
+ public static final Sound BLOCK_BASALT_PLACE = getSound("block.basalt.place");
+ public static final Sound BLOCK_BASALT_STEP = getSound("block.basalt.step");
+ public static final Sound BLOCK_BEACON_ACTIVATE = getSound("block.beacon.activate");
+ public static final Sound BLOCK_BEACON_AMBIENT = getSound("block.beacon.ambient");
+ public static final Sound BLOCK_BEACON_DEACTIVATE = getSound("block.beacon.deactivate");
+ public static final Sound BLOCK_BEACON_POWER_SELECT = getSound("block.beacon.power_select");
+ public static final Sound BLOCK_BEEHIVE_DRIP = getSound("block.beehive.drip");
+ public static final Sound BLOCK_BEEHIVE_ENTER = getSound("block.beehive.enter");
+ public static final Sound BLOCK_BEEHIVE_EXIT = getSound("block.beehive.exit");
+ public static final Sound BLOCK_BEEHIVE_SHEAR = getSound("block.beehive.shear");
+ public static final Sound BLOCK_BEEHIVE_WORK = getSound("block.beehive.work");
+ public static final Sound BLOCK_BELL_RESONATE = getSound("block.bell.resonate");
+ public static final Sound BLOCK_BELL_USE = getSound("block.bell.use");
+ public static final Sound BLOCK_BIG_DRIPLEAF_BREAK = getSound("block.big_dripleaf.break");
+ public static final Sound BLOCK_BIG_DRIPLEAF_FALL = getSound("block.big_dripleaf.fall");
+ public static final Sound BLOCK_BIG_DRIPLEAF_HIT = getSound("block.big_dripleaf.hit");
+ public static final Sound BLOCK_BIG_DRIPLEAF_PLACE = getSound("block.big_dripleaf.place");
+ public static final Sound BLOCK_BIG_DRIPLEAF_STEP = getSound("block.big_dripleaf.step");
+ public static final Sound BLOCK_BIG_DRIPLEAF_TILT_DOWN = getSound("block.big_dripleaf.tilt_down");
+ public static final Sound BLOCK_BIG_DRIPLEAF_TILT_UP = getSound("block.big_dripleaf.tilt_up");
+ public static final Sound BLOCK_BLASTFURNACE_FIRE_CRACKLE = getSound("block.blastfurnace.fire_crackle");
+ public static final Sound BLOCK_BONE_BLOCK_BREAK = getSound("block.bone_block.break");
+ public static final Sound BLOCK_BONE_BLOCK_FALL = getSound("block.bone_block.fall");
+ public static final Sound BLOCK_BONE_BLOCK_HIT = getSound("block.bone_block.hit");
+ public static final Sound BLOCK_BONE_BLOCK_PLACE = getSound("block.bone_block.place");
+ public static final Sound BLOCK_BONE_BLOCK_STEP = getSound("block.bone_block.step");
+ public static final Sound BLOCK_BREWING_STAND_BREW = getSound("block.brewing_stand.brew");
+ public static final Sound BLOCK_BUBBLE_COLUMN_BUBBLE_POP = getSound("block.bubble_column.bubble_pop");
+ public static final Sound BLOCK_BUBBLE_COLUMN_UPWARDS_AMBIENT = getSound("block.bubble_column.upwards_ambient");
+ public static final Sound BLOCK_BUBBLE_COLUMN_UPWARDS_INSIDE = getSound("block.bubble_column.upwards_inside");
+ public static final Sound BLOCK_BUBBLE_COLUMN_WHIRLPOOL_AMBIENT = getSound("block.bubble_column.whirlpool_ambient");
+ public static final Sound BLOCK_BUBBLE_COLUMN_WHIRLPOOL_INSIDE = getSound("block.bubble_column.whirlpool_inside");
+ public static final Sound BLOCK_CAKE_ADD_CANDLE = getSound("block.cake.add_candle");
+ public static final Sound BLOCK_CALCITE_BREAK = getSound("block.calcite.break");
+ public static final Sound BLOCK_CALCITE_FALL = getSound("block.calcite.fall");
+ public static final Sound BLOCK_CALCITE_HIT = getSound("block.calcite.hit");
+ public static final Sound BLOCK_CALCITE_PLACE = getSound("block.calcite.place");
+ public static final Sound BLOCK_CALCITE_STEP = getSound("block.calcite.step");
+ public static final Sound BLOCK_CAMPFIRE_CRACKLE = getSound("block.campfire.crackle");
+ public static final Sound BLOCK_CANDLE_AMBIENT = getSound("block.candle.ambient");
+ public static final Sound BLOCK_CANDLE_BREAK = getSound("block.candle.break");
+ public static final Sound BLOCK_CANDLE_EXTINGUISH = getSound("block.candle.extinguish");
+ public static final Sound BLOCK_CANDLE_FALL = getSound("block.candle.fall");
+ public static final Sound BLOCK_CANDLE_HIT = getSound("block.candle.hit");
+ public static final Sound BLOCK_CANDLE_PLACE = getSound("block.candle.place");
+ public static final Sound BLOCK_CANDLE_STEP = getSound("block.candle.step");
+ public static final Sound BLOCK_CAVE_VINES_BREAK = getSound("block.cave_vines.break");
+ public static final Sound BLOCK_CAVE_VINES_FALL = getSound("block.cave_vines.fall");
+ public static final Sound BLOCK_CAVE_VINES_HIT = getSound("block.cave_vines.hit");
+ public static final Sound BLOCK_CAVE_VINES_PICK_BERRIES = getSound("block.cave_vines.pick_berries");
+ public static final Sound BLOCK_CAVE_VINES_PLACE = getSound("block.cave_vines.place");
+ public static final Sound BLOCK_CAVE_VINES_STEP = getSound("block.cave_vines.step");
+ public static final Sound BLOCK_CHAIN_BREAK = getSound("block.chain.break");
+ public static final Sound BLOCK_CHAIN_FALL = getSound("block.chain.fall");
+ public static final Sound BLOCK_CHAIN_HIT = getSound("block.chain.hit");
+ public static final Sound BLOCK_CHAIN_PLACE = getSound("block.chain.place");
+ public static final Sound BLOCK_CHAIN_STEP = getSound("block.chain.step");
+ public static final Sound BLOCK_CHEST_CLOSE = getSound("block.chest.close");
+ public static final Sound BLOCK_CHEST_LOCKED = getSound("block.chest.locked");
+ public static final Sound BLOCK_CHEST_OPEN = getSound("block.chest.open");
+ public static final Sound BLOCK_CHORUS_FLOWER_DEATH = getSound("block.chorus_flower.death");
+ public static final Sound BLOCK_CHORUS_FLOWER_GROW = getSound("block.chorus_flower.grow");
+ public static final Sound BLOCK_COMPARATOR_CLICK = getSound("block.comparator.click");
+ public static final Sound BLOCK_COMPOSTER_EMPTY = getSound("block.composter.empty");
+ public static final Sound BLOCK_COMPOSTER_FILL = getSound("block.composter.fill");
+ public static final Sound BLOCK_COMPOSTER_FILL_SUCCESS = getSound("block.composter.fill_success");
+ public static final Sound BLOCK_COMPOSTER_READY = getSound("block.composter.ready");
+ public static final Sound BLOCK_CONDUIT_ACTIVATE = getSound("block.conduit.activate");
+ public static final Sound BLOCK_CONDUIT_AMBIENT = getSound("block.conduit.ambient");
+ public static final Sound BLOCK_CONDUIT_AMBIENT_SHORT = getSound("block.conduit.ambient.short");
+ public static final Sound BLOCK_CONDUIT_ATTACK_TARGET = getSound("block.conduit.attack.target");
+ public static final Sound BLOCK_CONDUIT_DEACTIVATE = getSound("block.conduit.deactivate");
+ public static final Sound BLOCK_COPPER_BREAK = getSound("block.copper.break");
+ public static final Sound BLOCK_COPPER_FALL = getSound("block.copper.fall");
+ public static final Sound BLOCK_COPPER_HIT = getSound("block.copper.hit");
+ public static final Sound BLOCK_COPPER_PLACE = getSound("block.copper.place");
+ public static final Sound BLOCK_COPPER_STEP = getSound("block.copper.step");
+ public static final Sound BLOCK_CORAL_BLOCK_BREAK = getSound("block.coral_block.break");
+ public static final Sound BLOCK_CORAL_BLOCK_FALL = getSound("block.coral_block.fall");
+ public static final Sound BLOCK_CORAL_BLOCK_HIT = getSound("block.coral_block.hit");
+ public static final Sound BLOCK_CORAL_BLOCK_PLACE = getSound("block.coral_block.place");
+ public static final Sound BLOCK_CORAL_BLOCK_STEP = getSound("block.coral_block.step");
+ public static final Sound BLOCK_CROP_BREAK = getSound("block.crop.break");
+ public static final Sound BLOCK_DEEPSLATE_BREAK = getSound("block.deepslate.break");
+ public static final Sound BLOCK_DEEPSLATE_BRICKS_BREAK = getSound("block.deepslate_bricks.break");
+ public static final Sound BLOCK_DEEPSLATE_BRICKS_FALL = getSound("block.deepslate_bricks.fall");
+ public static final Sound BLOCK_DEEPSLATE_BRICKS_HIT = getSound("block.deepslate_bricks.hit");
+ public static final Sound BLOCK_DEEPSLATE_BRICKS_PLACE = getSound("block.deepslate_bricks.place");
+ public static final Sound BLOCK_DEEPSLATE_BRICKS_STEP = getSound("block.deepslate_bricks.step");
+ public static final Sound BLOCK_DEEPSLATE_FALL = getSound("block.deepslate.fall");
+ public static final Sound BLOCK_DEEPSLATE_HIT = getSound("block.deepslate.hit");
+ public static final Sound BLOCK_DEEPSLATE_PLACE = getSound("block.deepslate.place");
+ public static final Sound BLOCK_DEEPSLATE_STEP = getSound("block.deepslate.step");
+ public static final Sound BLOCK_DEEPSLATE_TILES_BREAK = getSound("block.deepslate_tiles.break");
+ public static final Sound BLOCK_DEEPSLATE_TILES_FALL = getSound("block.deepslate_tiles.fall");
+ public static final Sound BLOCK_DEEPSLATE_TILES_HIT = getSound("block.deepslate_tiles.hit");
+ public static final Sound BLOCK_DEEPSLATE_TILES_PLACE = getSound("block.deepslate_tiles.place");
+ public static final Sound BLOCK_DEEPSLATE_TILES_STEP = getSound("block.deepslate_tiles.step");
+ public static final Sound BLOCK_DISPENSER_DISPENSE = getSound("block.dispenser.dispense");
+ public static final Sound BLOCK_DISPENSER_FAIL = getSound("block.dispenser.fail");
+ public static final Sound BLOCK_DISPENSER_LAUNCH = getSound("block.dispenser.launch");
+ public static final Sound BLOCK_DRIPSTONE_BLOCK_BREAK = getSound("block.dripstone_block.break");
+ public static final Sound BLOCK_DRIPSTONE_BLOCK_FALL = getSound("block.dripstone_block.fall");
+ public static final Sound BLOCK_DRIPSTONE_BLOCK_HIT = getSound("block.dripstone_block.hit");
+ public static final Sound BLOCK_DRIPSTONE_BLOCK_PLACE = getSound("block.dripstone_block.place");
+ public static final Sound BLOCK_DRIPSTONE_BLOCK_STEP = getSound("block.dripstone_block.step");
+ public static final Sound BLOCK_ENCHANTMENT_TABLE_USE = getSound("block.enchantment_table.use");
+ public static final Sound BLOCK_ENDER_CHEST_CLOSE = getSound("block.ender_chest.close");
+ public static final Sound BLOCK_ENDER_CHEST_OPEN = getSound("block.ender_chest.open");
+ public static final Sound BLOCK_END_GATEWAY_SPAWN = getSound("block.end_gateway.spawn");
+ public static final Sound BLOCK_END_PORTAL_FRAME_FILL = getSound("block.end_portal_frame.fill");
+ public static final Sound BLOCK_END_PORTAL_SPAWN = getSound("block.end_portal.spawn");
+ public static final Sound BLOCK_FENCE_GATE_CLOSE = getSound("block.fence_gate.close");
+ public static final Sound BLOCK_FENCE_GATE_OPEN = getSound("block.fence_gate.open");
+ public static final Sound BLOCK_FIRE_AMBIENT = getSound("block.fire.ambient");
+ public static final Sound BLOCK_FIRE_EXTINGUISH = getSound("block.fire.extinguish");
+ public static final Sound BLOCK_FLOWERING_AZALEA_BREAK = getSound("block.flowering_azalea.break");
+ public static final Sound BLOCK_FLOWERING_AZALEA_FALL = getSound("block.flowering_azalea.fall");
+ public static final Sound BLOCK_FLOWERING_AZALEA_HIT = getSound("block.flowering_azalea.hit");
+ public static final Sound BLOCK_FLOWERING_AZALEA_PLACE = getSound("block.flowering_azalea.place");
+ public static final Sound BLOCK_FLOWERING_AZALEA_STEP = getSound("block.flowering_azalea.step");
+ public static final Sound BLOCK_FUNGUS_BREAK = getSound("block.fungus.break");
+ public static final Sound BLOCK_FUNGUS_FALL = getSound("block.fungus.fall");
+ public static final Sound BLOCK_FUNGUS_HIT = getSound("block.fungus.hit");
+ public static final Sound BLOCK_FUNGUS_PLACE = getSound("block.fungus.place");
+ public static final Sound BLOCK_FUNGUS_STEP = getSound("block.fungus.step");
+ public static final Sound BLOCK_FURNACE_FIRE_CRACKLE = getSound("block.furnace.fire_crackle");
+ public static final Sound BLOCK_GILDED_BLACKSTONE_BREAK = getSound("block.gilded_blackstone.break");
+ public static final Sound BLOCK_GILDED_BLACKSTONE_FALL = getSound("block.gilded_blackstone.fall");
+ public static final Sound BLOCK_GILDED_BLACKSTONE_HIT = getSound("block.gilded_blackstone.hit");
+ public static final Sound BLOCK_GILDED_BLACKSTONE_PLACE = getSound("block.gilded_blackstone.place");
+ public static final Sound BLOCK_GILDED_BLACKSTONE_STEP = getSound("block.gilded_blackstone.step");
+ public static final Sound BLOCK_GLASS_BREAK = getSound("block.glass.break");
+ public static final Sound BLOCK_GLASS_FALL = getSound("block.glass.fall");
+ public static final Sound BLOCK_GLASS_HIT = getSound("block.glass.hit");
+ public static final Sound BLOCK_GLASS_PLACE = getSound("block.glass.place");
+ public static final Sound BLOCK_GLASS_STEP = getSound("block.glass.step");
+ public static final Sound BLOCK_GRASS_BREAK = getSound("block.grass.break");
+ public static final Sound BLOCK_GRASS_FALL = getSound("block.grass.fall");
+ public static final Sound BLOCK_GRASS_HIT = getSound("block.grass.hit");
+ public static final Sound BLOCK_GRASS_PLACE = getSound("block.grass.place");
+ public static final Sound BLOCK_GRASS_STEP = getSound("block.grass.step");
+ public static final Sound BLOCK_GRAVEL_BREAK = getSound("block.gravel.break");
+ public static final Sound BLOCK_GRAVEL_FALL = getSound("block.gravel.fall");
+ public static final Sound BLOCK_GRAVEL_HIT = getSound("block.gravel.hit");
+ public static final Sound BLOCK_GRAVEL_PLACE = getSound("block.gravel.place");
+ public static final Sound BLOCK_GRAVEL_STEP = getSound("block.gravel.step");
+ public static final Sound BLOCK_GRINDSTONE_USE = getSound("block.grindstone.use");
+ public static final Sound BLOCK_HANGING_ROOTS_BREAK = getSound("block.hanging_roots.break");
+ public static final Sound BLOCK_HANGING_ROOTS_FALL = getSound("block.hanging_roots.fall");
+ public static final Sound BLOCK_HANGING_ROOTS_HIT = getSound("block.hanging_roots.hit");
+ public static final Sound BLOCK_HANGING_ROOTS_PLACE = getSound("block.hanging_roots.place");
+ public static final Sound BLOCK_HANGING_ROOTS_STEP = getSound("block.hanging_roots.step");
+ public static final Sound BLOCK_HONEY_BLOCK_BREAK = getSound("block.honey_block.break");
+ public static final Sound BLOCK_HONEY_BLOCK_FALL = getSound("block.honey_block.fall");
+ public static final Sound BLOCK_HONEY_BLOCK_HIT = getSound("block.honey_block.hit");
+ public static final Sound BLOCK_HONEY_BLOCK_PLACE = getSound("block.honey_block.place");
+ public static final Sound BLOCK_HONEY_BLOCK_SLIDE = getSound("block.honey_block.slide");
+ public static final Sound BLOCK_HONEY_BLOCK_STEP = getSound("block.honey_block.step");
+ public static final Sound BLOCK_IRON_DOOR_CLOSE = getSound("block.iron_door.close");
+ public static final Sound BLOCK_IRON_DOOR_OPEN = getSound("block.iron_door.open");
+ public static final Sound BLOCK_IRON_TRAPDOOR_CLOSE = getSound("block.iron_trapdoor.close");
+ public static final Sound BLOCK_IRON_TRAPDOOR_OPEN = getSound("block.iron_trapdoor.open");
+ public static final Sound BLOCK_LADDER_BREAK = getSound("block.ladder.break");
+ public static final Sound BLOCK_LADDER_FALL = getSound("block.ladder.fall");
+ public static final Sound BLOCK_LADDER_HIT = getSound("block.ladder.hit");
+ public static final Sound BLOCK_LADDER_PLACE = getSound("block.ladder.place");
+ public static final Sound BLOCK_LADDER_STEP = getSound("block.ladder.step");
+ public static final Sound BLOCK_LANTERN_BREAK = getSound("block.lantern.break");
+ public static final Sound BLOCK_LANTERN_FALL = getSound("block.lantern.fall");
+ public static final Sound BLOCK_LANTERN_HIT = getSound("block.lantern.hit");
+ public static final Sound BLOCK_LANTERN_PLACE = getSound("block.lantern.place");
+ public static final Sound BLOCK_LANTERN_STEP = getSound("block.lantern.step");
+ public static final Sound BLOCK_LARGE_AMETHYST_BUD_BREAK = getSound("block.large_amethyst_bud.break");
+ public static final Sound BLOCK_LARGE_AMETHYST_BUD_PLACE = getSound("block.large_amethyst_bud.place");
+ public static final Sound BLOCK_LAVA_AMBIENT = getSound("block.lava.ambient");
+ public static final Sound BLOCK_LAVA_EXTINGUISH = getSound("block.lava.extinguish");
+ public static final Sound BLOCK_LAVA_POP = getSound("block.lava.pop");
+ public static final Sound BLOCK_LEVER_CLICK = getSound("block.lever.click");
+ public static final Sound BLOCK_LILY_PAD_PLACE = getSound("block.lily_pad.place");
+ public static final Sound BLOCK_LODESTONE_BREAK = getSound("block.lodestone.break");
+ public static final Sound BLOCK_LODESTONE_FALL = getSound("block.lodestone.fall");
+ public static final Sound BLOCK_LODESTONE_HIT = getSound("block.lodestone.hit");
+ public static final Sound BLOCK_LODESTONE_PLACE = getSound("block.lodestone.place");
+ public static final Sound BLOCK_LODESTONE_STEP = getSound("block.lodestone.step");
+ public static final Sound BLOCK_MEDIUM_AMETHYST_BUD_BREAK = getSound("block.medium_amethyst_bud.break");
+ public static final Sound BLOCK_MEDIUM_AMETHYST_BUD_PLACE = getSound("block.medium_amethyst_bud.place");
+ public static final Sound BLOCK_METAL_BREAK = getSound("block.metal.break");
+ public static final Sound BLOCK_METAL_FALL = getSound("block.metal.fall");
+ public static final Sound BLOCK_METAL_HIT = getSound("block.metal.hit");
+ public static final Sound BLOCK_METAL_PLACE = getSound("block.metal.place");
+ public static final Sound BLOCK_METAL_PRESSURE_PLATE_CLICK_OFF = getSound("block.metal_pressure_plate.click_off");
+ public static final Sound BLOCK_METAL_PRESSURE_PLATE_CLICK_ON = getSound("block.metal_pressure_plate.click_on");
+ public static final Sound BLOCK_METAL_STEP = getSound("block.metal.step");
+ public static final Sound BLOCK_MOSS_BREAK = getSound("block.moss.break");
+ public static final Sound BLOCK_MOSS_CARPET_BREAK = getSound("block.moss_carpet.break");
+ public static final Sound BLOCK_MOSS_CARPET_FALL = getSound("block.moss_carpet.fall");
+ public static final Sound BLOCK_MOSS_CARPET_HIT = getSound("block.moss_carpet.hit");
+ public static final Sound BLOCK_MOSS_CARPET_PLACE = getSound("block.moss_carpet.place");
+ public static final Sound BLOCK_MOSS_CARPET_STEP = getSound("block.moss_carpet.step");
+ public static final Sound BLOCK_MOSS_FALL = getSound("block.moss.fall");
+ public static final Sound BLOCK_MOSS_HIT = getSound("block.moss.hit");
+ public static final Sound BLOCK_MOSS_PLACE = getSound("block.moss.place");
+ public static final Sound BLOCK_MOSS_STEP = getSound("block.moss.step");
+ public static final Sound BLOCK_NETHERITE_BLOCK_BREAK = getSound("block.netherite_block.break");
+ public static final Sound BLOCK_NETHERITE_BLOCK_FALL = getSound("block.netherite_block.fall");
+ public static final Sound BLOCK_NETHERITE_BLOCK_HIT = getSound("block.netherite_block.hit");
+ public static final Sound BLOCK_NETHERITE_BLOCK_PLACE = getSound("block.netherite_block.place");
+ public static final Sound BLOCK_NETHERITE_BLOCK_STEP = getSound("block.netherite_block.step");
+ public static final Sound BLOCK_NETHERRACK_BREAK = getSound("block.netherrack.break");
+ public static final Sound BLOCK_NETHERRACK_FALL = getSound("block.netherrack.fall");
+ public static final Sound BLOCK_NETHERRACK_HIT = getSound("block.netherrack.hit");
+ public static final Sound BLOCK_NETHERRACK_PLACE = getSound("block.netherrack.place");
+ public static final Sound BLOCK_NETHERRACK_STEP = getSound("block.netherrack.step");
+ public static final Sound BLOCK_NETHER_BRICKS_BREAK = getSound("block.nether_bricks.break");
+ public static final Sound BLOCK_NETHER_BRICKS_FALL = getSound("block.nether_bricks.fall");
+ public static final Sound BLOCK_NETHER_BRICKS_HIT = getSound("block.nether_bricks.hit");
+ public static final Sound BLOCK_NETHER_BRICKS_PLACE = getSound("block.nether_bricks.place");
+ public static final Sound BLOCK_NETHER_BRICKS_STEP = getSound("block.nether_bricks.step");
+ public static final Sound BLOCK_NETHER_GOLD_ORE_BREAK = getSound("block.nether_gold_ore.break");
+ public static final Sound BLOCK_NETHER_GOLD_ORE_FALL = getSound("block.nether_gold_ore.fall");
+ public static final Sound BLOCK_NETHER_GOLD_ORE_HIT = getSound("block.nether_gold_ore.hit");
+ public static final Sound BLOCK_NETHER_GOLD_ORE_PLACE = getSound("block.nether_gold_ore.place");
+ public static final Sound BLOCK_NETHER_GOLD_ORE_STEP = getSound("block.nether_gold_ore.step");
+ public static final Sound BLOCK_NETHER_ORE_BREAK = getSound("block.nether_ore.break");
+ public static final Sound BLOCK_NETHER_ORE_FALL = getSound("block.nether_ore.fall");
+ public static final Sound BLOCK_NETHER_ORE_HIT = getSound("block.nether_ore.hit");
+ public static final Sound BLOCK_NETHER_ORE_PLACE = getSound("block.nether_ore.place");
+ public static final Sound BLOCK_NETHER_ORE_STEP = getSound("block.nether_ore.step");
+ public static final Sound BLOCK_NETHER_SPROUTS_BREAK = getSound("block.nether_sprouts.break");
+ public static final Sound BLOCK_NETHER_SPROUTS_FALL = getSound("block.nether_sprouts.fall");
+ public static final Sound BLOCK_NETHER_SPROUTS_HIT = getSound("block.nether_sprouts.hit");
+ public static final Sound BLOCK_NETHER_SPROUTS_PLACE = getSound("block.nether_sprouts.place");
+ public static final Sound BLOCK_NETHER_SPROUTS_STEP = getSound("block.nether_sprouts.step");
+ public static final Sound BLOCK_NETHER_WART_BREAK = getSound("block.nether_wart.break");
+ public static final Sound BLOCK_NOTE_BLOCK_BANJO = getSound("block.note_block.banjo");
+ public static final Sound BLOCK_NOTE_BLOCK_BASEDRUM = getSound("block.note_block.basedrum");
+ public static final Sound BLOCK_NOTE_BLOCK_BASS = getSound("block.note_block.bass");
+ public static final Sound BLOCK_NOTE_BLOCK_BELL = getSound("block.note_block.bell");
+ public static final Sound BLOCK_NOTE_BLOCK_BIT = getSound("block.note_block.bit");
+ public static final Sound BLOCK_NOTE_BLOCK_CHIME = getSound("block.note_block.chime");
+ public static final Sound BLOCK_NOTE_BLOCK_COW_BELL = getSound("block.note_block.cow_bell");
+ public static final Sound BLOCK_NOTE_BLOCK_DIDGERIDOO = getSound("block.note_block.didgeridoo");
+ public static final Sound BLOCK_NOTE_BLOCK_FLUTE = getSound("block.note_block.flute");
+ public static final Sound BLOCK_NOTE_BLOCK_GUITAR = getSound("block.note_block.guitar");
+ public static final Sound BLOCK_NOTE_BLOCK_HARP = getSound("block.note_block.harp");
+ public static final Sound BLOCK_NOTE_BLOCK_HAT = getSound("block.note_block.hat");
+ public static final Sound BLOCK_NOTE_BLOCK_IRON_XYLOPHONE = getSound("block.note_block.iron_xylophone");
+ public static final Sound BLOCK_NOTE_BLOCK_PLING = getSound("block.note_block.pling");
+ public static final Sound BLOCK_NOTE_BLOCK_SNARE = getSound("block.note_block.snare");
+ public static final Sound BLOCK_NOTE_BLOCK_XYLOPHONE = getSound("block.note_block.xylophone");
+ public static final Sound BLOCK_NYLIUM_BREAK = getSound("block.nylium.break");
+ public static final Sound BLOCK_NYLIUM_FALL = getSound("block.nylium.fall");
+ public static final Sound BLOCK_NYLIUM_HIT = getSound("block.nylium.hit");
+ public static final Sound BLOCK_NYLIUM_PLACE = getSound("block.nylium.place");
+ public static final Sound BLOCK_NYLIUM_STEP = getSound("block.nylium.step");
+ public static final Sound BLOCK_PISTON_CONTRACT = getSound("block.piston.contract");
+ public static final Sound BLOCK_PISTON_EXTEND = getSound("block.piston.extend");
+ public static final Sound BLOCK_POINTED_DRIPSTONE_BREAK = getSound("block.pointed_dripstone.break");
+ public static final Sound BLOCK_POINTED_DRIPSTONE_DRIP_LAVA = getSound("block.pointed_dripstone.drip_lava");
+ public static final Sound BLOCK_POINTED_DRIPSTONE_DRIP_LAVA_INTO_CAULDRON = getSound("block.pointed_dripstone.drip_lava_into_cauldron");
+ public static final Sound BLOCK_POINTED_DRIPSTONE_DRIP_WATER = getSound("block.pointed_dripstone.drip_water");
+ public static final Sound BLOCK_POINTED_DRIPSTONE_DRIP_WATER_INTO_CAULDRON = getSound("block.pointed_dripstone.drip_water_into_cauldron");
+ public static final Sound BLOCK_POINTED_DRIPSTONE_FALL = getSound("block.pointed_dripstone.fall");
+ public static final Sound BLOCK_POINTED_DRIPSTONE_HIT = getSound("block.pointed_dripstone.hit");
+ public static final Sound BLOCK_POINTED_DRIPSTONE_LAND = getSound("block.pointed_dripstone.land");
+ public static final Sound BLOCK_POINTED_DRIPSTONE_PLACE = getSound("block.pointed_dripstone.place");
+ public static final Sound BLOCK_POINTED_DRIPSTONE_STEP = getSound("block.pointed_dripstone.step");
+ public static final Sound BLOCK_POLISHED_DEEPSLATE_BREAK = getSound("block.polished_deepslate.break");
+ public static final Sound BLOCK_POLISHED_DEEPSLATE_FALL = getSound("block.polished_deepslate.fall");
+ public static final Sound BLOCK_POLISHED_DEEPSLATE_HIT = getSound("block.polished_deepslate.hit");
+ public static final Sound BLOCK_POLISHED_DEEPSLATE_PLACE = getSound("block.polished_deepslate.place");
+ public static final Sound BLOCK_POLISHED_DEEPSLATE_STEP = getSound("block.polished_deepslate.step");
+ public static final Sound BLOCK_PORTAL_AMBIENT = getSound("block.portal.ambient");
+ public static final Sound BLOCK_PORTAL_TRAVEL = getSound("block.portal.travel");
+ public static final Sound BLOCK_PORTAL_TRIGGER = getSound("block.portal.trigger");
+ public static final Sound BLOCK_POWDER_SNOW_BREAK = getSound("block.powder_snow.break");
+ public static final Sound BLOCK_POWDER_SNOW_FALL = getSound("block.powder_snow.fall");
+ public static final Sound BLOCK_POWDER_SNOW_HIT = getSound("block.powder_snow.hit");
+ public static final Sound BLOCK_POWDER_SNOW_PLACE = getSound("block.powder_snow.place");
+ public static final Sound BLOCK_POWDER_SNOW_STEP = getSound("block.powder_snow.step");
+ public static final Sound BLOCK_PUMPKIN_CARVE = getSound("block.pumpkin.carve");
+ public static final Sound BLOCK_REDSTONE_TORCH_BURNOUT = getSound("block.redstone_torch.burnout");
+ public static final Sound BLOCK_RESPAWN_ANCHOR_AMBIENT = getSound("block.respawn_anchor.ambient");
+ public static final Sound BLOCK_RESPAWN_ANCHOR_CHARGE = getSound("block.respawn_anchor.charge");
+ public static final Sound BLOCK_RESPAWN_ANCHOR_DEPLETE = getSound("block.respawn_anchor.deplete");
+ public static final Sound BLOCK_RESPAWN_ANCHOR_SET_SPAWN = getSound("block.respawn_anchor.set_spawn");
+ public static final Sound BLOCK_ROOTED_DIRT_BREAK = getSound("block.rooted_dirt.break");
+ public static final Sound BLOCK_ROOTED_DIRT_FALL = getSound("block.rooted_dirt.fall");
+ public static final Sound BLOCK_ROOTED_DIRT_HIT = getSound("block.rooted_dirt.hit");
+ public static final Sound BLOCK_ROOTED_DIRT_PLACE = getSound("block.rooted_dirt.place");
+ public static final Sound BLOCK_ROOTED_DIRT_STEP = getSound("block.rooted_dirt.step");
+ public static final Sound BLOCK_ROOTS_BREAK = getSound("block.roots.break");
+ public static final Sound BLOCK_ROOTS_FALL = getSound("block.roots.fall");
+ public static final Sound BLOCK_ROOTS_HIT = getSound("block.roots.hit");
+ public static final Sound BLOCK_ROOTS_PLACE = getSound("block.roots.place");
+ public static final Sound BLOCK_ROOTS_STEP = getSound("block.roots.step");
+ public static final Sound BLOCK_SAND_BREAK = getSound("block.sand.break");
+ public static final Sound BLOCK_SAND_FALL = getSound("block.sand.fall");
+ public static final Sound BLOCK_SAND_HIT = getSound("block.sand.hit");
+ public static final Sound BLOCK_SAND_PLACE = getSound("block.sand.place");
+ public static final Sound BLOCK_SAND_STEP = getSound("block.sand.step");
+ public static final Sound BLOCK_SCAFFOLDING_BREAK = getSound("block.scaffolding.break");
+ public static final Sound BLOCK_SCAFFOLDING_FALL = getSound("block.scaffolding.fall");
+ public static final Sound BLOCK_SCAFFOLDING_HIT = getSound("block.scaffolding.hit");
+ public static final Sound BLOCK_SCAFFOLDING_PLACE = getSound("block.scaffolding.place");
+ public static final Sound BLOCK_SCAFFOLDING_STEP = getSound("block.scaffolding.step");
+ public static final Sound BLOCK_SCULK_SENSOR_BREAK = getSound("block.sculk_sensor.break");
+ public static final Sound BLOCK_SCULK_SENSOR_CLICKING = getSound("block.sculk_sensor.clicking");
+ public static final Sound BLOCK_SCULK_SENSOR_CLICKING_STOP = getSound("block.sculk_sensor.clicking_stop");
+ public static final Sound BLOCK_SCULK_SENSOR_FALL = getSound("block.sculk_sensor.fall");
+ public static final Sound BLOCK_SCULK_SENSOR_HIT = getSound("block.sculk_sensor.hit");
+ public static final Sound BLOCK_SCULK_SENSOR_PLACE = getSound("block.sculk_sensor.place");
+ public static final Sound BLOCK_SCULK_SENSOR_STEP = getSound("block.sculk_sensor.step");
+ public static final Sound BLOCK_SHROOMLIGHT_BREAK = getSound("block.shroomlight.break");
+ public static final Sound BLOCK_SHROOMLIGHT_FALL = getSound("block.shroomlight.fall");
+ public static final Sound BLOCK_SHROOMLIGHT_HIT = getSound("block.shroomlight.hit");
+ public static final Sound BLOCK_SHROOMLIGHT_PLACE = getSound("block.shroomlight.place");
+ public static final Sound BLOCK_SHROOMLIGHT_STEP = getSound("block.shroomlight.step");
+ public static final Sound BLOCK_SHULKER_BOX_CLOSE = getSound("block.shulker_box.close");
+ public static final Sound BLOCK_SHULKER_BOX_OPEN = getSound("block.shulker_box.open");
+ public static final Sound BLOCK_SLIME_BLOCK_BREAK = getSound("block.slime_block.break");
+ public static final Sound BLOCK_SLIME_BLOCK_FALL = getSound("block.slime_block.fall");
+ public static final Sound BLOCK_SLIME_BLOCK_HIT = getSound("block.slime_block.hit");
+ public static final Sound BLOCK_SLIME_BLOCK_PLACE = getSound("block.slime_block.place");
+ public static final Sound BLOCK_SLIME_BLOCK_STEP = getSound("block.slime_block.step");
+ public static final Sound BLOCK_SMALL_AMETHYST_BUD_BREAK = getSound("block.small_amethyst_bud.break");
+ public static final Sound BLOCK_SMALL_AMETHYST_BUD_PLACE = getSound("block.small_amethyst_bud.place");
+ public static final Sound BLOCK_SMALL_DRIPLEAF_BREAK = getSound("block.small_dripleaf.break");
+ public static final Sound BLOCK_SMALL_DRIPLEAF_FALL = getSound("block.small_dripleaf.fall");
+ public static final Sound BLOCK_SMALL_DRIPLEAF_HIT = getSound("block.small_dripleaf.hit");
+ public static final Sound BLOCK_SMALL_DRIPLEAF_PLACE = getSound("block.small_dripleaf.place");
+ public static final Sound BLOCK_SMALL_DRIPLEAF_STEP = getSound("block.small_dripleaf.step");
+ public static final Sound BLOCK_SMITHING_TABLE_USE = getSound("block.smithing_table.use");
+ public static final Sound BLOCK_SMOKER_SMOKE = getSound("block.smoker.smoke");
+ public static final Sound BLOCK_SNOW_BREAK = getSound("block.snow.break");
+ public static final Sound BLOCK_SNOW_FALL = getSound("block.snow.fall");
+ public static final Sound BLOCK_SNOW_HIT = getSound("block.snow.hit");
+ public static final Sound BLOCK_SNOW_PLACE = getSound("block.snow.place");
+ public static final Sound BLOCK_SNOW_STEP = getSound("block.snow.step");
+ public static final Sound BLOCK_SOUL_SAND_BREAK = getSound("block.soul_sand.break");
+ public static final Sound BLOCK_SOUL_SAND_FALL = getSound("block.soul_sand.fall");
+ public static final Sound BLOCK_SOUL_SAND_HIT = getSound("block.soul_sand.hit");
+ public static final Sound BLOCK_SOUL_SAND_PLACE = getSound("block.soul_sand.place");
+ public static final Sound BLOCK_SOUL_SAND_STEP = getSound("block.soul_sand.step");
+ public static final Sound BLOCK_SOUL_SOIL_BREAK = getSound("block.soul_soil.break");
+ public static final Sound BLOCK_SOUL_SOIL_FALL = getSound("block.soul_soil.fall");
+ public static final Sound BLOCK_SOUL_SOIL_HIT = getSound("block.soul_soil.hit");
+ public static final Sound BLOCK_SOUL_SOIL_PLACE = getSound("block.soul_soil.place");
+ public static final Sound BLOCK_SOUL_SOIL_STEP = getSound("block.soul_soil.step");
+ public static final Sound BLOCK_SPORE_BLOSSOM_BREAK = getSound("block.spore_blossom.break");
+ public static final Sound BLOCK_SPORE_BLOSSOM_FALL = getSound("block.spore_blossom.fall");
+ public static final Sound BLOCK_SPORE_BLOSSOM_HIT = getSound("block.spore_blossom.hit");
+ public static final Sound BLOCK_SPORE_BLOSSOM_PLACE = getSound("block.spore_blossom.place");
+ public static final Sound BLOCK_SPORE_BLOSSOM_STEP = getSound("block.spore_blossom.step");
+ public static final Sound BLOCK_STEM_BREAK = getSound("block.stem.break");
+ public static final Sound BLOCK_STEM_FALL = getSound("block.stem.fall");
+ public static final Sound BLOCK_STEM_HIT = getSound("block.stem.hit");
+ public static final Sound BLOCK_STEM_PLACE = getSound("block.stem.place");
+ public static final Sound BLOCK_STEM_STEP = getSound("block.stem.step");
+ public static final Sound BLOCK_STONE_BREAK = getSound("block.stone.break");
+ public static final Sound BLOCK_STONE_BUTTON_CLICK_OFF = getSound("block.stone_button.click_off");
+ public static final Sound BLOCK_STONE_BUTTON_CLICK_ON = getSound("block.stone_button.click_on");
+ public static final Sound BLOCK_STONE_FALL = getSound("block.stone.fall");
+ public static final Sound BLOCK_STONE_HIT = getSound("block.stone.hit");
+ public static final Sound BLOCK_STONE_PLACE = getSound("block.stone.place");
+ public static final Sound BLOCK_STONE_PRESSURE_PLATE_CLICK_OFF = getSound("block.stone_pressure_plate.click_off");
+ public static final Sound BLOCK_STONE_PRESSURE_PLATE_CLICK_ON = getSound("block.stone_pressure_plate.click_on");
+ public static final Sound BLOCK_STONE_STEP = getSound("block.stone.step");
+ public static final Sound BLOCK_SWEET_BERRY_BUSH_BREAK = getSound("block.sweet_berry_bush.break");
+ public static final Sound BLOCK_SWEET_BERRY_BUSH_PICK_BERRIES = getSound("block.sweet_berry_bush.pick_berries");
+ public static final Sound BLOCK_SWEET_BERRY_BUSH_PLACE = getSound("block.sweet_berry_bush.place");
+ public static final Sound BLOCK_TRIPWIRE_ATTACH = getSound("block.tripwire.attach");
+ public static final Sound BLOCK_TRIPWIRE_CLICK_OFF = getSound("block.tripwire.click_off");
+ public static final Sound BLOCK_TRIPWIRE_CLICK_ON = getSound("block.tripwire.click_on");
+ public static final Sound BLOCK_TRIPWIRE_DETACH = getSound("block.tripwire.detach");
+ public static final Sound BLOCK_TUFF_BREAK = getSound("block.tuff.break");
+ public static final Sound BLOCK_TUFF_FALL = getSound("block.tuff.fall");
+ public static final Sound BLOCK_TUFF_HIT = getSound("block.tuff.hit");
+ public static final Sound BLOCK_TUFF_PLACE = getSound("block.tuff.place");
+ public static final Sound BLOCK_TUFF_STEP = getSound("block.tuff.step");
+ public static final Sound BLOCK_VINE_BREAK = getSound("block.vine.break");
+ public static final Sound BLOCK_VINE_FALL = getSound("block.vine.fall");
+ public static final Sound BLOCK_VINE_HIT = getSound("block.vine.hit");
+ public static final Sound BLOCK_VINE_PLACE = getSound("block.vine.place");
+ public static final Sound BLOCK_VINE_STEP = getSound("block.vine.step");
+ public static final Sound BLOCK_WART_BLOCK_BREAK = getSound("block.wart_block.break");
+ public static final Sound BLOCK_WART_BLOCK_FALL = getSound("block.wart_block.fall");
+ public static final Sound BLOCK_WART_BLOCK_HIT = getSound("block.wart_block.hit");
+ public static final Sound BLOCK_WART_BLOCK_PLACE = getSound("block.wart_block.place");
+ public static final Sound BLOCK_WART_BLOCK_STEP = getSound("block.wart_block.step");
+ public static final Sound BLOCK_WATER_AMBIENT = getSound("block.water.ambient");
+ public static final Sound BLOCK_WEEPING_VINES_BREAK = getSound("block.weeping_vines.break");
+ public static final Sound BLOCK_WEEPING_VINES_FALL = getSound("block.weeping_vines.fall");
+ public static final Sound BLOCK_WEEPING_VINES_HIT = getSound("block.weeping_vines.hit");
+ public static final Sound BLOCK_WEEPING_VINES_PLACE = getSound("block.weeping_vines.place");
+ public static final Sound BLOCK_WEEPING_VINES_STEP = getSound("block.weeping_vines.step");
+ public static final Sound BLOCK_WET_GRASS_BREAK = getSound("block.wet_grass.break");
+ public static final Sound BLOCK_WET_GRASS_FALL = getSound("block.wet_grass.fall");
+ public static final Sound BLOCK_WET_GRASS_HIT = getSound("block.wet_grass.hit");
+ public static final Sound BLOCK_WET_GRASS_PLACE = getSound("block.wet_grass.place");
+ public static final Sound BLOCK_WET_GRASS_STEP = getSound("block.wet_grass.step");
+ public static final Sound BLOCK_WOODEN_BUTTON_CLICK_OFF = getSound("block.wooden_button.click_off");
+ public static final Sound BLOCK_WOODEN_BUTTON_CLICK_ON = getSound("block.wooden_button.click_on");
+ public static final Sound BLOCK_WOODEN_DOOR_CLOSE = getSound("block.wooden_door.close");
+ public static final Sound BLOCK_WOODEN_DOOR_OPEN = getSound("block.wooden_door.open");
+ public static final Sound BLOCK_WOODEN_PRESSURE_PLATE_CLICK_OFF = getSound("block.wooden_pressure_plate.click_off");
+ public static final Sound BLOCK_WOODEN_PRESSURE_PLATE_CLICK_ON = getSound("block.wooden_pressure_plate.click_on");
+ public static final Sound BLOCK_WOODEN_TRAPDOOR_CLOSE = getSound("block.wooden_trapdoor.close");
+ public static final Sound BLOCK_WOODEN_TRAPDOOR_OPEN = getSound("block.wooden_trapdoor.open");
+ public static final Sound BLOCK_WOOD_BREAK = getSound("block.wood.break");
+ public static final Sound BLOCK_WOOD_FALL = getSound("block.wood.fall");
+ public static final Sound BLOCK_WOOD_HIT = getSound("block.wood.hit");
+ public static final Sound BLOCK_WOOD_PLACE = getSound("block.wood.place");
+ public static final Sound BLOCK_WOOD_STEP = getSound("block.wood.step");
+ public static final Sound BLOCK_WOOL_BREAK = getSound("block.wool.break");
+ public static final Sound BLOCK_WOOL_FALL = getSound("block.wool.fall");
+ public static final Sound BLOCK_WOOL_HIT = getSound("block.wool.hit");
+ public static final Sound BLOCK_WOOL_PLACE = getSound("block.wool.place");
+ public static final Sound BLOCK_WOOL_STEP = getSound("block.wool.step");
+ public static final Sound ENCHANT_THORNS_HIT = getSound("enchant.thorns.hit");
+ public static final Sound ENTITY_ARMOR_STAND_BREAK = getSound("entity.armor_stand.break");
+ public static final Sound ENTITY_ARMOR_STAND_FALL = getSound("entity.armor_stand.fall");
+ public static final Sound ENTITY_ARMOR_STAND_HIT = getSound("entity.armor_stand.hit");
+ public static final Sound ENTITY_ARMOR_STAND_PLACE = getSound("entity.armor_stand.place");
+ public static final Sound ENTITY_ARROW_HIT = getSound("entity.arrow.hit");
+ public static final Sound ENTITY_ARROW_HIT_PLAYER = getSound("entity.arrow.hit_player");
+ public static final Sound ENTITY_ARROW_SHOOT = getSound("entity.arrow.shoot");
+ public static final Sound ENTITY_AXOLOTL_ATTACK = getSound("entity.axolotl.attack");
+ public static final Sound ENTITY_AXOLOTL_DEATH = getSound("entity.axolotl.death");
+ public static final Sound ENTITY_AXOLOTL_HURT = getSound("entity.axolotl.hurt");
+ public static final Sound ENTITY_AXOLOTL_IDLE_AIR = getSound("entity.axolotl.idle_air");
+ public static final Sound ENTITY_AXOLOTL_IDLE_WATER = getSound("entity.axolotl.idle_water");
+ public static final Sound ENTITY_AXOLOTL_SPLASH = getSound("entity.axolotl.splash");
+ public static final Sound ENTITY_AXOLOTL_SWIM = getSound("entity.axolotl.swim");
+ public static final Sound ENTITY_BAT_AMBIENT = getSound("entity.bat.ambient");
+ public static final Sound ENTITY_BAT_DEATH = getSound("entity.bat.death");
+ public static final Sound ENTITY_BAT_HURT = getSound("entity.bat.hurt");
+ public static final Sound ENTITY_BAT_LOOP = getSound("entity.bat.loop");
+ public static final Sound ENTITY_BAT_TAKEOFF = getSound("entity.bat.takeoff");
+ public static final Sound ENTITY_BEE_DEATH = getSound("entity.bee.death");
+ public static final Sound ENTITY_BEE_HURT = getSound("entity.bee.hurt");
+ public static final Sound ENTITY_BEE_LOOP = getSound("entity.bee.loop");
+ public static final Sound ENTITY_BEE_LOOP_AGGRESSIVE = getSound("entity.bee.loop_aggressive");
+ public static final Sound ENTITY_BEE_POLLINATE = getSound("entity.bee.pollinate");
+ public static final Sound ENTITY_BEE_STING = getSound("entity.bee.sting");
+ public static final Sound ENTITY_BLAZE_AMBIENT = getSound("entity.blaze.ambient");
+ public static final Sound ENTITY_BLAZE_BURN = getSound("entity.blaze.burn");
+ public static final Sound ENTITY_BLAZE_DEATH = getSound("entity.blaze.death");
+ public static final Sound ENTITY_BLAZE_HURT = getSound("entity.blaze.hurt");
+ public static final Sound ENTITY_BLAZE_SHOOT = getSound("entity.blaze.shoot");
+ public static final Sound ENTITY_BOAT_PADDLE_LAND = getSound("entity.boat.paddle_land");
+ public static final Sound ENTITY_BOAT_PADDLE_WATER = getSound("entity.boat.paddle_water");
+ public static final Sound ENTITY_CAT_AMBIENT = getSound("entity.cat.ambient");
+ public static final Sound ENTITY_CAT_BEG_FOR_FOOD = getSound("entity.cat.beg_for_food");
+ public static final Sound ENTITY_CAT_DEATH = getSound("entity.cat.death");
+ public static final Sound ENTITY_CAT_EAT = getSound("entity.cat.eat");
+ public static final Sound ENTITY_CAT_HISS = getSound("entity.cat.hiss");
+ public static final Sound ENTITY_CAT_HURT = getSound("entity.cat.hurt");
+ public static final Sound ENTITY_CAT_PURR = getSound("entity.cat.purr");
+ public static final Sound ENTITY_CAT_PURREOW = getSound("entity.cat.purreow");
+ public static final Sound ENTITY_CAT_STRAY_AMBIENT = getSound("entity.cat.stray_ambient");
+ public static final Sound ENTITY_CHICKEN_AMBIENT = getSound("entity.chicken.ambient");
+ public static final Sound ENTITY_CHICKEN_DEATH = getSound("entity.chicken.death");
+ public static final Sound ENTITY_CHICKEN_EGG = getSound("entity.chicken.egg");
+ public static final Sound ENTITY_CHICKEN_HURT = getSound("entity.chicken.hurt");
+ public static final Sound ENTITY_CHICKEN_STEP = getSound("entity.chicken.step");
+ public static final Sound ENTITY_COD_AMBIENT = getSound("entity.cod.ambient");
+ public static final Sound ENTITY_COD_DEATH = getSound("entity.cod.death");
+ public static final Sound ENTITY_COD_FLOP = getSound("entity.cod.flop");
+ public static final Sound ENTITY_COD_HURT = getSound("entity.cod.hurt");
+ public static final Sound ENTITY_COW_AMBIENT = getSound("entity.cow.ambient");
+ public static final Sound ENTITY_COW_DEATH = getSound("entity.cow.death");
+ public static final Sound ENTITY_COW_HURT = getSound("entity.cow.hurt");
+ public static final Sound ENTITY_COW_MILK = getSound("entity.cow.milk");
+ public static final Sound ENTITY_COW_STEP = getSound("entity.cow.step");
+ public static final Sound ENTITY_CREEPER_DEATH = getSound("entity.creeper.death");
+ public static final Sound ENTITY_CREEPER_HURT = getSound("entity.creeper.hurt");
+ public static final Sound ENTITY_CREEPER_PRIMED = getSound("entity.creeper.primed");
+ public static final Sound ENTITY_DOLPHIN_AMBIENT = getSound("entity.dolphin.ambient");
+ public static final Sound ENTITY_DOLPHIN_AMBIENT_WATER = getSound("entity.dolphin.ambient_water");
+ public static final Sound ENTITY_DOLPHIN_ATTACK = getSound("entity.dolphin.attack");
+ public static final Sound ENTITY_DOLPHIN_DEATH = getSound("entity.dolphin.death");
+ public static final Sound ENTITY_DOLPHIN_EAT = getSound("entity.dolphin.eat");
+ public static final Sound ENTITY_DOLPHIN_HURT = getSound("entity.dolphin.hurt");
+ public static final Sound ENTITY_DOLPHIN_JUMP = getSound("entity.dolphin.jump");
+ public static final Sound ENTITY_DOLPHIN_PLAY = getSound("entity.dolphin.play");
+ public static final Sound ENTITY_DOLPHIN_SPLASH = getSound("entity.dolphin.splash");
+ public static final Sound ENTITY_DOLPHIN_SWIM = getSound("entity.dolphin.swim");
+ public static final Sound ENTITY_DONKEY_AMBIENT = getSound("entity.donkey.ambient");
+ public static final Sound ENTITY_DONKEY_ANGRY = getSound("entity.donkey.angry");
+ public static final Sound ENTITY_DONKEY_CHEST = getSound("entity.donkey.chest");
+ public static final Sound ENTITY_DONKEY_DEATH = getSound("entity.donkey.death");
+ public static final Sound ENTITY_DONKEY_EAT = getSound("entity.donkey.eat");
+ public static final Sound ENTITY_DONKEY_HURT = getSound("entity.donkey.hurt");
+ public static final Sound ENTITY_DRAGON_FIREBALL_EXPLODE = getSound("entity.dragon_fireball.explode");
+ public static final Sound ENTITY_DROWNED_AMBIENT = getSound("entity.drowned.ambient");
+ public static final Sound ENTITY_DROWNED_AMBIENT_WATER = getSound("entity.drowned.ambient_water");
+ public static final Sound ENTITY_DROWNED_DEATH = getSound("entity.drowned.death");
+ public static final Sound ENTITY_DROWNED_DEATH_WATER = getSound("entity.drowned.death_water");
+ public static final Sound ENTITY_DROWNED_HURT = getSound("entity.drowned.hurt");
+ public static final Sound ENTITY_DROWNED_HURT_WATER = getSound("entity.drowned.hurt_water");
+ public static final Sound ENTITY_DROWNED_SHOOT = getSound("entity.drowned.shoot");
+ public static final Sound ENTITY_DROWNED_STEP = getSound("entity.drowned.step");
+ public static final Sound ENTITY_DROWNED_SWIM = getSound("entity.drowned.swim");
+ public static final Sound ENTITY_EGG_THROW = getSound("entity.egg.throw");
+ public static final Sound ENTITY_ELDER_GUARDIAN_AMBIENT = getSound("entity.elder_guardian.ambient");
+ public static final Sound ENTITY_ELDER_GUARDIAN_AMBIENT_LAND = getSound("entity.elder_guardian.ambient_land");
+ public static final Sound ENTITY_ELDER_GUARDIAN_CURSE = getSound("entity.elder_guardian.curse");
+ public static final Sound ENTITY_ELDER_GUARDIAN_DEATH = getSound("entity.elder_guardian.death");
+ public static final Sound ENTITY_ELDER_GUARDIAN_DEATH_LAND = getSound("entity.elder_guardian.death_land");
+ public static final Sound ENTITY_ELDER_GUARDIAN_FLOP = getSound("entity.elder_guardian.flop");
+ public static final Sound ENTITY_ELDER_GUARDIAN_HURT = getSound("entity.elder_guardian.hurt");
+ public static final Sound ENTITY_ELDER_GUARDIAN_HURT_LAND = getSound("entity.elder_guardian.hurt_land");
+ public static final Sound ENTITY_ENDERMAN_AMBIENT = getSound("entity.enderman.ambient");
+ public static final Sound ENTITY_ENDERMAN_DEATH = getSound("entity.enderman.death");
+ public static final Sound ENTITY_ENDERMAN_HURT = getSound("entity.enderman.hurt");
+ public static final Sound ENTITY_ENDERMAN_SCREAM = getSound("entity.enderman.scream");
+ public static final Sound ENTITY_ENDERMAN_STARE = getSound("entity.enderman.stare");
+ public static final Sound ENTITY_ENDERMAN_TELEPORT = getSound("entity.enderman.teleport");
+ public static final Sound ENTITY_ENDERMITE_AMBIENT = getSound("entity.endermite.ambient");
+ public static final Sound ENTITY_ENDERMITE_DEATH = getSound("entity.endermite.death");
+ public static final Sound ENTITY_ENDERMITE_HURT = getSound("entity.endermite.hurt");
+ public static final Sound ENTITY_ENDERMITE_STEP = getSound("entity.endermite.step");
+ public static final Sound ENTITY_ENDER_DRAGON_AMBIENT = getSound("entity.ender_dragon.ambient");
+ public static final Sound ENTITY_ENDER_DRAGON_DEATH = getSound("entity.ender_dragon.death");
+ public static final Sound ENTITY_ENDER_DRAGON_FLAP = getSound("entity.ender_dragon.flap");
+ public static final Sound ENTITY_ENDER_DRAGON_GROWL = getSound("entity.ender_dragon.growl");
+ public static final Sound ENTITY_ENDER_DRAGON_HURT = getSound("entity.ender_dragon.hurt");
+ public static final Sound ENTITY_ENDER_DRAGON_SHOOT = getSound("entity.ender_dragon.shoot");
+ public static final Sound ENTITY_ENDER_EYE_DEATH = getSound("entity.ender_eye.death");
+ public static final Sound ENTITY_ENDER_EYE_LAUNCH = getSound("entity.ender_eye.launch");
+ public static final Sound ENTITY_ENDER_PEARL_THROW = getSound("entity.ender_pearl.throw");
+ public static final Sound ENTITY_EVOKER_AMBIENT = getSound("entity.evoker.ambient");
+ public static final Sound ENTITY_EVOKER_CAST_SPELL = getSound("entity.evoker.cast_spell");
+ public static final Sound ENTITY_EVOKER_CELEBRATE = getSound("entity.evoker.celebrate");
+ public static final Sound ENTITY_EVOKER_DEATH = getSound("entity.evoker.death");
+ public static final Sound ENTITY_EVOKER_FANGS_ATTACK = getSound("entity.evoker_fangs.attack");
+ public static final Sound ENTITY_EVOKER_HURT = getSound("entity.evoker.hurt");
+ public static final Sound ENTITY_EVOKER_PREPARE_ATTACK = getSound("entity.evoker.prepare_attack");
+ public static final Sound ENTITY_EVOKER_PREPARE_SUMMON = getSound("entity.evoker.prepare_summon");
+ public static final Sound ENTITY_EVOKER_PREPARE_WOLOLO = getSound("entity.evoker.prepare_wololo");
+ public static final Sound ENTITY_EXPERIENCE_BOTTLE_THROW = getSound("entity.experience_bottle.throw");
+ public static final Sound ENTITY_EXPERIENCE_ORB_PICKUP = getSound("entity.experience_orb.pickup");
+ public static final Sound ENTITY_FIREWORK_ROCKET_BLAST = getSound("entity.firework_rocket.blast");
+ public static final Sound ENTITY_FIREWORK_ROCKET_BLAST_FAR = getSound("entity.firework_rocket.blast_far");
+ public static final Sound ENTITY_FIREWORK_ROCKET_LARGE_BLAST = getSound("entity.firework_rocket.large_blast");
+ public static final Sound ENTITY_FIREWORK_ROCKET_LARGE_BLAST_FAR = getSound("entity.firework_rocket.large_blast_far");
+ public static final Sound ENTITY_FIREWORK_ROCKET_LAUNCH = getSound("entity.firework_rocket.launch");
+ public static final Sound ENTITY_FIREWORK_ROCKET_SHOOT = getSound("entity.firework_rocket.shoot");
+ public static final Sound ENTITY_FIREWORK_ROCKET_TWINKLE = getSound("entity.firework_rocket.twinkle");
+ public static final Sound ENTITY_FIREWORK_ROCKET_TWINKLE_FAR = getSound("entity.firework_rocket.twinkle_far");
+ public static final Sound ENTITY_FISHING_BOBBER_RETRIEVE = getSound("entity.fishing_bobber.retrieve");
+ public static final Sound ENTITY_FISHING_BOBBER_SPLASH = getSound("entity.fishing_bobber.splash");
+ public static final Sound ENTITY_FISHING_BOBBER_THROW = getSound("entity.fishing_bobber.throw");
+ public static final Sound ENTITY_FISH_SWIM = getSound("entity.fish.swim");
+ public static final Sound ENTITY_FOX_AGGRO = getSound("entity.fox.aggro");
+ public static final Sound ENTITY_FOX_AMBIENT = getSound("entity.fox.ambient");
+ public static final Sound ENTITY_FOX_BITE = getSound("entity.fox.bite");
+ public static final Sound ENTITY_FOX_DEATH = getSound("entity.fox.death");
+ public static final Sound ENTITY_FOX_EAT = getSound("entity.fox.eat");
+ public static final Sound ENTITY_FOX_HURT = getSound("entity.fox.hurt");
+ public static final Sound ENTITY_FOX_SCREECH = getSound("entity.fox.screech");
+ public static final Sound ENTITY_FOX_SLEEP = getSound("entity.fox.sleep");
+ public static final Sound ENTITY_FOX_SNIFF = getSound("entity.fox.sniff");
+ public static final Sound ENTITY_FOX_SPIT = getSound("entity.fox.spit");
+ public static final Sound ENTITY_FOX_TELEPORT = getSound("entity.fox.teleport");
+ public static final Sound ENTITY_GENERIC_BIG_FALL = getSound("entity.generic.big_fall");
+ public static final Sound ENTITY_GENERIC_BURN = getSound("entity.generic.burn");
+ public static final Sound ENTITY_GENERIC_DEATH = getSound("entity.generic.death");
+ public static final Sound ENTITY_GENERIC_DRINK = getSound("entity.generic.drink");
+ public static final Sound ENTITY_GENERIC_EAT = getSound("entity.generic.eat");
+ public static final Sound ENTITY_GENERIC_EXPLODE = getSound("entity.generic.explode");
+ public static final Sound ENTITY_GENERIC_EXTINGUISH_FIRE = getSound("entity.generic.extinguish_fire");
+ public static final Sound ENTITY_GENERIC_HURT = getSound("entity.generic.hurt");
+ public static final Sound ENTITY_GENERIC_SMALL_FALL = getSound("entity.generic.small_fall");
+ public static final Sound ENTITY_GENERIC_SPLASH = getSound("entity.generic.splash");
+ public static final Sound ENTITY_GENERIC_SWIM = getSound("entity.generic.swim");
+ public static final Sound ENTITY_GHAST_AMBIENT = getSound("entity.ghast.ambient");
+ public static final Sound ENTITY_GHAST_DEATH = getSound("entity.ghast.death");
+ public static final Sound ENTITY_GHAST_HURT = getSound("entity.ghast.hurt");
+ public static final Sound ENTITY_GHAST_SCREAM = getSound("entity.ghast.scream");
+ public static final Sound ENTITY_GHAST_SHOOT = getSound("entity.ghast.shoot");
+ public static final Sound ENTITY_GHAST_WARN = getSound("entity.ghast.warn");
+ public static final Sound ENTITY_GLOW_ITEM_FRAME_ADD_ITEM = getSound("entity.glow_item_frame.add_item");
+ public static final Sound ENTITY_GLOW_ITEM_FRAME_BREAK = getSound("entity.glow_item_frame.break");
+ public static final Sound ENTITY_GLOW_ITEM_FRAME_PLACE = getSound("entity.glow_item_frame.place");
+ public static final Sound ENTITY_GLOW_ITEM_FRAME_REMOVE_ITEM = getSound("entity.glow_item_frame.remove_item");
+ public static final Sound ENTITY_GLOW_ITEM_FRAME_ROTATE_ITEM = getSound("entity.glow_item_frame.rotate_item");
+ public static final Sound ENTITY_GLOW_SQUID_AMBIENT = getSound("entity.glow_squid.ambient");
+ public static final Sound ENTITY_GLOW_SQUID_DEATH = getSound("entity.glow_squid.death");
+ public static final Sound ENTITY_GLOW_SQUID_HURT = getSound("entity.glow_squid.hurt");
+ public static final Sound ENTITY_GLOW_SQUID_SQUIRT = getSound("entity.glow_squid.squirt");
+ public static final Sound ENTITY_GOAT_AMBIENT = getSound("entity.goat.ambient");
+ public static final Sound ENTITY_GOAT_DEATH = getSound("entity.goat.death");
+ public static final Sound ENTITY_GOAT_EAT = getSound("entity.goat.eat");
+ public static final Sound ENTITY_GOAT_HURT = getSound("entity.goat.hurt");
+ public static final Sound ENTITY_GOAT_LONG_JUMP = getSound("entity.goat.long_jump");
+ public static final Sound ENTITY_GOAT_MILK = getSound("entity.goat.milk");
+ public static final Sound ENTITY_GOAT_PREPARE_RAM = getSound("entity.goat.prepare_ram");
+ public static final Sound ENTITY_GOAT_RAM_IMPACT = getSound("entity.goat.ram_impact");
+ public static final Sound ENTITY_GOAT_SCREAMING_AMBIENT = getSound("entity.goat.screaming.ambient");
+ public static final Sound ENTITY_GOAT_SCREAMING_DEATH = getSound("entity.goat.screaming.death");
+ public static final Sound ENTITY_GOAT_SCREAMING_EAT = getSound("entity.goat.screaming.eat");
+ public static final Sound ENTITY_GOAT_SCREAMING_HURT = getSound("entity.goat.screaming.hurt");
+ public static final Sound ENTITY_GOAT_SCREAMING_LONG_JUMP = getSound("entity.goat.screaming.long_jump");
+ public static final Sound ENTITY_GOAT_SCREAMING_MILK = getSound("entity.goat.screaming.milk");
+ public static final Sound ENTITY_GOAT_SCREAMING_PREPARE_RAM = getSound("entity.goat.screaming.prepare_ram");
+ public static final Sound ENTITY_GOAT_SCREAMING_RAM_IMPACT = getSound("entity.goat.screaming.ram_impact");
+ public static final Sound ENTITY_GOAT_STEP = getSound("entity.goat.step");
+ public static final Sound ENTITY_GUARDIAN_AMBIENT = getSound("entity.guardian.ambient");
+ public static final Sound ENTITY_GUARDIAN_AMBIENT_LAND = getSound("entity.guardian.ambient_land");
+ public static final Sound ENTITY_GUARDIAN_ATTACK = getSound("entity.guardian.attack");
+ public static final Sound ENTITY_GUARDIAN_DEATH = getSound("entity.guardian.death");
+ public static final Sound ENTITY_GUARDIAN_DEATH_LAND = getSound("entity.guardian.death_land");
+ public static final Sound ENTITY_GUARDIAN_FLOP = getSound("entity.guardian.flop");
+ public static final Sound ENTITY_GUARDIAN_HURT = getSound("entity.guardian.hurt");
+ public static final Sound ENTITY_GUARDIAN_HURT_LAND = getSound("entity.guardian.hurt_land");
+ public static final Sound ENTITY_HOGLIN_AMBIENT = getSound("entity.hoglin.ambient");
+ public static final Sound ENTITY_HOGLIN_ANGRY = getSound("entity.hoglin.angry");
+ public static final Sound ENTITY_HOGLIN_ATTACK = getSound("entity.hoglin.attack");
+ public static final Sound ENTITY_HOGLIN_CONVERTED_TO_ZOMBIFIED = getSound("entity.hoglin.converted_to_zombified");
+ public static final Sound ENTITY_HOGLIN_DEATH = getSound("entity.hoglin.death");
+ public static final Sound ENTITY_HOGLIN_HURT = getSound("entity.hoglin.hurt");
+ public static final Sound ENTITY_HOGLIN_RETREAT = getSound("entity.hoglin.retreat");
+ public static final Sound ENTITY_HOGLIN_STEP = getSound("entity.hoglin.step");
+ public static final Sound ENTITY_HORSE_AMBIENT = getSound("entity.horse.ambient");
+ public static final Sound ENTITY_HORSE_ANGRY = getSound("entity.horse.angry");
+ public static final Sound ENTITY_HORSE_ARMOR = getSound("entity.horse.armor");
+ public static final Sound ENTITY_HORSE_BREATHE = getSound("entity.horse.breathe");
+ public static final Sound ENTITY_HORSE_DEATH = getSound("entity.horse.death");
+ public static final Sound ENTITY_HORSE_EAT = getSound("entity.horse.eat");
+ public static final Sound ENTITY_HORSE_GALLOP = getSound("entity.horse.gallop");
+ public static final Sound ENTITY_HORSE_HURT = getSound("entity.horse.hurt");
+ public static final Sound ENTITY_HORSE_JUMP = getSound("entity.horse.jump");
+ public static final Sound ENTITY_HORSE_LAND = getSound("entity.horse.land");
+ public static final Sound ENTITY_HORSE_SADDLE = getSound("entity.horse.saddle");
+ public static final Sound ENTITY_HORSE_STEP = getSound("entity.horse.step");
+ public static final Sound ENTITY_HORSE_STEP_WOOD = getSound("entity.horse.step_wood");
+ public static final Sound ENTITY_HOSTILE_BIG_FALL = getSound("entity.hostile.big_fall");
+ public static final Sound ENTITY_HOSTILE_DEATH = getSound("entity.hostile.death");
+ public static final Sound ENTITY_HOSTILE_HURT = getSound("entity.hostile.hurt");
+ public static final Sound ENTITY_HOSTILE_SMALL_FALL = getSound("entity.hostile.small_fall");
+ public static final Sound ENTITY_HOSTILE_SPLASH = getSound("entity.hostile.splash");
+ public static final Sound ENTITY_HOSTILE_SWIM = getSound("entity.hostile.swim");
+ public static final Sound ENTITY_HUSK_AMBIENT = getSound("entity.husk.ambient");
+ public static final Sound ENTITY_HUSK_CONVERTED_TO_ZOMBIE = getSound("entity.husk.converted_to_zombie");
+ public static final Sound ENTITY_HUSK_DEATH = getSound("entity.husk.death");
+ public static final Sound ENTITY_HUSK_HURT = getSound("entity.husk.hurt");
+ public static final Sound ENTITY_HUSK_STEP = getSound("entity.husk.step");
+ public static final Sound ENTITY_ILLUSIONER_AMBIENT = getSound("entity.illusioner.ambient");
+ public static final Sound ENTITY_ILLUSIONER_CAST_SPELL = getSound("entity.illusioner.cast_spell");
+ public static final Sound ENTITY_ILLUSIONER_DEATH = getSound("entity.illusioner.death");
+ public static final Sound ENTITY_ILLUSIONER_HURT = getSound("entity.illusioner.hurt");
+ public static final Sound ENTITY_ILLUSIONER_MIRROR_MOVE = getSound("entity.illusioner.mirror_move");
+ public static final Sound ENTITY_ILLUSIONER_PREPARE_BLINDNESS = getSound("entity.illusioner.prepare_blindness");
+ public static final Sound ENTITY_ILLUSIONER_PREPARE_MIRROR = getSound("entity.illusioner.prepare_mirror");
+ public static final Sound ENTITY_IRON_GOLEM_ATTACK = getSound("entity.iron_golem.attack");
+ public static final Sound ENTITY_IRON_GOLEM_DAMAGE = getSound("entity.iron_golem.damage");
+ public static final Sound ENTITY_IRON_GOLEM_DEATH = getSound("entity.iron_golem.death");
+ public static final Sound ENTITY_IRON_GOLEM_HURT = getSound("entity.iron_golem.hurt");
+ public static final Sound ENTITY_IRON_GOLEM_REPAIR = getSound("entity.iron_golem.repair");
+ public static final Sound ENTITY_IRON_GOLEM_STEP = getSound("entity.iron_golem.step");
+ public static final Sound ENTITY_ITEM_BREAK = getSound("entity.item.break");
+ public static final Sound ENTITY_ITEM_FRAME_ADD_ITEM = getSound("entity.item_frame.add_item");
+ public static final Sound ENTITY_ITEM_FRAME_BREAK = getSound("entity.item_frame.break");
+ public static final Sound ENTITY_ITEM_FRAME_PLACE = getSound("entity.item_frame.place");
+ public static final Sound ENTITY_ITEM_FRAME_REMOVE_ITEM = getSound("entity.item_frame.remove_item");
+ public static final Sound ENTITY_ITEM_FRAME_ROTATE_ITEM = getSound("entity.item_frame.rotate_item");
+ public static final Sound ENTITY_ITEM_PICKUP = getSound("entity.item.pickup");
+ public static final Sound ENTITY_LEASH_KNOT_BREAK = getSound("entity.leash_knot.break");
+ public static final Sound ENTITY_LEASH_KNOT_PLACE = getSound("entity.leash_knot.place");
+ public static final Sound ENTITY_LIGHTNING_BOLT_IMPACT = getSound("entity.lightning_bolt.impact");
+ public static final Sound ENTITY_LIGHTNING_BOLT_THUNDER = getSound("entity.lightning_bolt.thunder");
+ public static final Sound ENTITY_LINGERING_POTION_THROW = getSound("entity.lingering_potion.throw");
+ public static final Sound ENTITY_LLAMA_AMBIENT = getSound("entity.llama.ambient");
+ public static final Sound ENTITY_LLAMA_ANGRY = getSound("entity.llama.angry");
+ public static final Sound ENTITY_LLAMA_CHEST = getSound("entity.llama.chest");
+ public static final Sound ENTITY_LLAMA_DEATH = getSound("entity.llama.death");
+ public static final Sound ENTITY_LLAMA_EAT = getSound("entity.llama.eat");
+ public static final Sound ENTITY_LLAMA_HURT = getSound("entity.llama.hurt");
+ public static final Sound ENTITY_LLAMA_SPIT = getSound("entity.llama.spit");
+ public static final Sound ENTITY_LLAMA_STEP = getSound("entity.llama.step");
+ public static final Sound ENTITY_LLAMA_SWAG = getSound("entity.llama.swag");
+ public static final Sound ENTITY_MAGMA_CUBE_DEATH = getSound("entity.magma_cube.death");
+ public static final Sound ENTITY_MAGMA_CUBE_DEATH_SMALL = getSound("entity.magma_cube.death_small");
+ public static final Sound ENTITY_MAGMA_CUBE_HURT = getSound("entity.magma_cube.hurt");
+ public static final Sound ENTITY_MAGMA_CUBE_HURT_SMALL = getSound("entity.magma_cube.hurt_small");
+ public static final Sound ENTITY_MAGMA_CUBE_JUMP = getSound("entity.magma_cube.jump");
+ public static final Sound ENTITY_MAGMA_CUBE_SQUISH = getSound("entity.magma_cube.squish");
+ public static final Sound ENTITY_MAGMA_CUBE_SQUISH_SMALL = getSound("entity.magma_cube.squish_small");
+ public static final Sound ENTITY_MINECART_INSIDE = getSound("entity.minecart.inside");
+ public static final Sound ENTITY_MINECART_INSIDE_UNDERWATER = getSound("entity.minecart.inside.underwater");
+ public static final Sound ENTITY_MINECART_RIDING = getSound("entity.minecart.riding");
+ public static final Sound ENTITY_MOOSHROOM_CONVERT = getSound("entity.mooshroom.convert");
+ public static final Sound ENTITY_MOOSHROOM_EAT = getSound("entity.mooshroom.eat");
+ public static final Sound ENTITY_MOOSHROOM_MILK = getSound("entity.mooshroom.milk");
+ public static final Sound ENTITY_MOOSHROOM_SHEAR = getSound("entity.mooshroom.shear");
+ public static final Sound ENTITY_MOOSHROOM_SUSPICIOUS_MILK = getSound("entity.mooshroom.suspicious_milk");
+ public static final Sound ENTITY_MULE_AMBIENT = getSound("entity.mule.ambient");
+ public static final Sound ENTITY_MULE_ANGRY = getSound("entity.mule.angry");
+ public static final Sound ENTITY_MULE_CHEST = getSound("entity.mule.chest");
+ public static final Sound ENTITY_MULE_DEATH = getSound("entity.mule.death");
+ public static final Sound ENTITY_MULE_EAT = getSound("entity.mule.eat");
+ public static final Sound ENTITY_MULE_HURT = getSound("entity.mule.hurt");
+ public static final Sound ENTITY_OCELOT_AMBIENT = getSound("entity.ocelot.ambient");
+ public static final Sound ENTITY_OCELOT_DEATH = getSound("entity.ocelot.death");
+ public static final Sound ENTITY_OCELOT_HURT = getSound("entity.ocelot.hurt");
+ public static final Sound ENTITY_PAINTING_BREAK = getSound("entity.painting.break");
+ public static final Sound ENTITY_PAINTING_PLACE = getSound("entity.painting.place");
+ public static final Sound ENTITY_PANDA_AGGRESSIVE_AMBIENT = getSound("entity.panda.aggressive_ambient");
+ public static final Sound ENTITY_PANDA_AMBIENT = getSound("entity.panda.ambient");
+ public static final Sound ENTITY_PANDA_BITE = getSound("entity.panda.bite");
+ public static final Sound ENTITY_PANDA_CANT_BREED = getSound("entity.panda.cant_breed");
+ public static final Sound ENTITY_PANDA_DEATH = getSound("entity.panda.death");
+ public static final Sound ENTITY_PANDA_EAT = getSound("entity.panda.eat");
+ public static final Sound ENTITY_PANDA_HURT = getSound("entity.panda.hurt");
+ public static final Sound ENTITY_PANDA_PRE_SNEEZE = getSound("entity.panda.pre_sneeze");
+ public static final Sound ENTITY_PANDA_SNEEZE = getSound("entity.panda.sneeze");
+ public static final Sound ENTITY_PANDA_STEP = getSound("entity.panda.step");
+ public static final Sound ENTITY_PANDA_WORRIED_AMBIENT = getSound("entity.panda.worried_ambient");
+ public static final Sound ENTITY_PARROT_AMBIENT = getSound("entity.parrot.ambient");
+ public static final Sound ENTITY_PARROT_DEATH = getSound("entity.parrot.death");
+ public static final Sound ENTITY_PARROT_EAT = getSound("entity.parrot.eat");
+ public static final Sound ENTITY_PARROT_FLY = getSound("entity.parrot.fly");
+ public static final Sound ENTITY_PARROT_HURT = getSound("entity.parrot.hurt");
+ public static final Sound ENTITY_PARROT_IMITATE_BLAZE = getSound("entity.parrot.imitate.blaze");
+ public static final Sound ENTITY_PARROT_IMITATE_CREEPER = getSound("entity.parrot.imitate.creeper");
+ public static final Sound ENTITY_PARROT_IMITATE_DROWNED = getSound("entity.parrot.imitate.drowned");
+ public static final Sound ENTITY_PARROT_IMITATE_ELDER_GUARDIAN = getSound("entity.parrot.imitate.elder_guardian");
+ public static final Sound ENTITY_PARROT_IMITATE_ENDERMITE = getSound("entity.parrot.imitate.endermite");
+ public static final Sound ENTITY_PARROT_IMITATE_ENDER_DRAGON = getSound("entity.parrot.imitate.ender_dragon");
+ public static final Sound ENTITY_PARROT_IMITATE_EVOKER = getSound("entity.parrot.imitate.evoker");
+ public static final Sound ENTITY_PARROT_IMITATE_GHAST = getSound("entity.parrot.imitate.ghast");
+ public static final Sound ENTITY_PARROT_IMITATE_GUARDIAN = getSound("entity.parrot.imitate.guardian");
+ public static final Sound ENTITY_PARROT_IMITATE_HOGLIN = getSound("entity.parrot.imitate.hoglin");
+ public static final Sound ENTITY_PARROT_IMITATE_HUSK = getSound("entity.parrot.imitate.husk");
+ public static final Sound ENTITY_PARROT_IMITATE_ILLUSIONER = getSound("entity.parrot.imitate.illusioner");
+ public static final Sound ENTITY_PARROT_IMITATE_MAGMA_CUBE = getSound("entity.parrot.imitate.magma_cube");
+ public static final Sound ENTITY_PARROT_IMITATE_PHANTOM = getSound("entity.parrot.imitate.phantom");
+ public static final Sound ENTITY_PARROT_IMITATE_PIGLIN = getSound("entity.parrot.imitate.piglin");
+ public static final Sound ENTITY_PARROT_IMITATE_PIGLIN_BRUTE = getSound("entity.parrot.imitate.piglin_brute");
+ public static final Sound ENTITY_PARROT_IMITATE_PILLAGER = getSound("entity.parrot.imitate.pillager");
+ public static final Sound ENTITY_PARROT_IMITATE_RAVAGER = getSound("entity.parrot.imitate.ravager");
+ public static final Sound ENTITY_PARROT_IMITATE_SHULKER = getSound("entity.parrot.imitate.shulker");
+ public static final Sound ENTITY_PARROT_IMITATE_SILVERFISH = getSound("entity.parrot.imitate.silverfish");
+ public static final Sound ENTITY_PARROT_IMITATE_SKELETON = getSound("entity.parrot.imitate.skeleton");
+ public static final Sound ENTITY_PARROT_IMITATE_SLIME = getSound("entity.parrot.imitate.slime");
+ public static final Sound ENTITY_PARROT_IMITATE_SPIDER = getSound("entity.parrot.imitate.spider");
+ public static final Sound ENTITY_PARROT_IMITATE_STRAY = getSound("entity.parrot.imitate.stray");
+ public static final Sound ENTITY_PARROT_IMITATE_VEX = getSound("entity.parrot.imitate.vex");
+ public static final Sound ENTITY_PARROT_IMITATE_VINDICATOR = getSound("entity.parrot.imitate.vindicator");
+ public static final Sound ENTITY_PARROT_IMITATE_WITCH = getSound("entity.parrot.imitate.witch");
+ public static final Sound ENTITY_PARROT_IMITATE_WITHER = getSound("entity.parrot.imitate.wither");
+ public static final Sound ENTITY_PARROT_IMITATE_WITHER_SKELETON = getSound("entity.parrot.imitate.wither_skeleton");
+ public static final Sound ENTITY_PARROT_IMITATE_ZOGLIN = getSound("entity.parrot.imitate.zoglin");
+ public static final Sound ENTITY_PARROT_IMITATE_ZOMBIE = getSound("entity.parrot.imitate.zombie");
+ public static final Sound ENTITY_PARROT_IMITATE_ZOMBIE_VILLAGER = getSound("entity.parrot.imitate.zombie_villager");
+ public static final Sound ENTITY_PARROT_STEP = getSound("entity.parrot.step");
+ public static final Sound ENTITY_PHANTOM_AMBIENT = getSound("entity.phantom.ambient");
+ public static final Sound ENTITY_PHANTOM_BITE = getSound("entity.phantom.bite");
+ public static final Sound ENTITY_PHANTOM_DEATH = getSound("entity.phantom.death");
+ public static final Sound ENTITY_PHANTOM_FLAP = getSound("entity.phantom.flap");
+ public static final Sound ENTITY_PHANTOM_HURT = getSound("entity.phantom.hurt");
+ public static final Sound ENTITY_PHANTOM_SWOOP = getSound("entity.phantom.swoop");
+ public static final Sound ENTITY_PIGLIN_ADMIRING_ITEM = getSound("entity.piglin.admiring_item");
+ public static final Sound ENTITY_PIGLIN_AMBIENT = getSound("entity.piglin.ambient");
+ public static final Sound ENTITY_PIGLIN_ANGRY = getSound("entity.piglin.angry");
+ public static final Sound ENTITY_PIGLIN_BRUTE_AMBIENT = getSound("entity.piglin_brute.ambient");
+ public static final Sound ENTITY_PIGLIN_BRUTE_ANGRY = getSound("entity.piglin_brute.angry");
+ public static final Sound ENTITY_PIGLIN_BRUTE_CONVERTED_TO_ZOMBIFIED = getSound("entity.piglin_brute.converted_to_zombified");
+ public static final Sound ENTITY_PIGLIN_BRUTE_DEATH = getSound("entity.piglin_brute.death");
+ public static final Sound ENTITY_PIGLIN_BRUTE_HURT = getSound("entity.piglin_brute.hurt");
+ public static final Sound ENTITY_PIGLIN_BRUTE_STEP = getSound("entity.piglin_brute.step");
+ public static final Sound ENTITY_PIGLIN_CELEBRATE = getSound("entity.piglin.celebrate");
+ public static final Sound ENTITY_PIGLIN_CONVERTED_TO_ZOMBIFIED = getSound("entity.piglin.converted_to_zombified");
+ public static final Sound ENTITY_PIGLIN_DEATH = getSound("entity.piglin.death");
+ public static final Sound ENTITY_PIGLIN_HURT = getSound("entity.piglin.hurt");
+ public static final Sound ENTITY_PIGLIN_JEALOUS = getSound("entity.piglin.jealous");
+ public static final Sound ENTITY_PIGLIN_RETREAT = getSound("entity.piglin.retreat");
+ public static final Sound ENTITY_PIGLIN_STEP = getSound("entity.piglin.step");
+ public static final Sound ENTITY_PIG_AMBIENT = getSound("entity.pig.ambient");
+ public static final Sound ENTITY_PIG_DEATH = getSound("entity.pig.death");
+ public static final Sound ENTITY_PIG_HURT = getSound("entity.pig.hurt");
+ public static final Sound ENTITY_PIG_SADDLE = getSound("entity.pig.saddle");
+ public static final Sound ENTITY_PIG_STEP = getSound("entity.pig.step");
+ public static final Sound ENTITY_PILLAGER_AMBIENT = getSound("entity.pillager.ambient");
+ public static final Sound ENTITY_PILLAGER_CELEBRATE = getSound("entity.pillager.celebrate");
+ public static final Sound ENTITY_PILLAGER_DEATH = getSound("entity.pillager.death");
+ public static final Sound ENTITY_PILLAGER_HURT = getSound("entity.pillager.hurt");
+ public static final Sound ENTITY_PLAYER_ATTACK_CRIT = getSound("entity.player.attack.crit");
+ public static final Sound ENTITY_PLAYER_ATTACK_KNOCKBACK = getSound("entity.player.attack.knockback");
+ public static final Sound ENTITY_PLAYER_ATTACK_NODAMAGE = getSound("entity.player.attack.nodamage");
+ public static final Sound ENTITY_PLAYER_ATTACK_STRONG = getSound("entity.player.attack.strong");
+ public static final Sound ENTITY_PLAYER_ATTACK_SWEEP = getSound("entity.player.attack.sweep");
+ public static final Sound ENTITY_PLAYER_ATTACK_WEAK = getSound("entity.player.attack.weak");
+ public static final Sound ENTITY_PLAYER_BIG_FALL = getSound("entity.player.big_fall");
+ public static final Sound ENTITY_PLAYER_BREATH = getSound("entity.player.breath");
+ public static final Sound ENTITY_PLAYER_BURP = getSound("entity.player.burp");
+ public static final Sound ENTITY_PLAYER_DEATH = getSound("entity.player.death");
+ public static final Sound ENTITY_PLAYER_HURT = getSound("entity.player.hurt");
+ public static final Sound ENTITY_PLAYER_HURT_DROWN = getSound("entity.player.hurt_drown");
+ public static final Sound ENTITY_PLAYER_HURT_FREEZE = getSound("entity.player.hurt_freeze");
+ public static final Sound ENTITY_PLAYER_HURT_ON_FIRE = getSound("entity.player.hurt_on_fire");
+ public static final Sound ENTITY_PLAYER_HURT_SWEET_BERRY_BUSH = getSound("entity.player.hurt_sweet_berry_bush");
+ public static final Sound ENTITY_PLAYER_LEVELUP = getSound("entity.player.levelup");
+ public static final Sound ENTITY_PLAYER_SMALL_FALL = getSound("entity.player.small_fall");
+ public static final Sound ENTITY_PLAYER_SPLASH = getSound("entity.player.splash");
+ public static final Sound ENTITY_PLAYER_SPLASH_HIGH_SPEED = getSound("entity.player.splash.high_speed");
+ public static final Sound ENTITY_PLAYER_SWIM = getSound("entity.player.swim");
+ public static final Sound ENTITY_POLAR_BEAR_AMBIENT = getSound("entity.polar_bear.ambient");
+ public static final Sound ENTITY_POLAR_BEAR_AMBIENT_BABY = getSound("entity.polar_bear.ambient_baby");
+ public static final Sound ENTITY_POLAR_BEAR_DEATH = getSound("entity.polar_bear.death");
+ public static final Sound ENTITY_POLAR_BEAR_HURT = getSound("entity.polar_bear.hurt");
+ public static final Sound ENTITY_POLAR_BEAR_STEP = getSound("entity.polar_bear.step");
+ public static final Sound ENTITY_POLAR_BEAR_WARNING = getSound("entity.polar_bear.warning");
+ public static final Sound ENTITY_PUFFER_FISH_AMBIENT = getSound("entity.puffer_fish.ambient");
+ public static final Sound ENTITY_PUFFER_FISH_BLOW_OUT = getSound("entity.puffer_fish.blow_out");
+ public static final Sound ENTITY_PUFFER_FISH_BLOW_UP = getSound("entity.puffer_fish.blow_up");
+ public static final Sound ENTITY_PUFFER_FISH_DEATH = getSound("entity.puffer_fish.death");
+ public static final Sound ENTITY_PUFFER_FISH_FLOP = getSound("entity.puffer_fish.flop");
+ public static final Sound ENTITY_PUFFER_FISH_HURT = getSound("entity.puffer_fish.hurt");
+ public static final Sound ENTITY_PUFFER_FISH_STING = getSound("entity.puffer_fish.sting");
+ public static final Sound ENTITY_RABBIT_AMBIENT = getSound("entity.rabbit.ambient");
+ public static final Sound ENTITY_RABBIT_ATTACK = getSound("entity.rabbit.attack");
+ public static final Sound ENTITY_RABBIT_DEATH = getSound("entity.rabbit.death");
+ public static final Sound ENTITY_RABBIT_HURT = getSound("entity.rabbit.hurt");
+ public static final Sound ENTITY_RABBIT_JUMP = getSound("entity.rabbit.jump");
+ public static final Sound ENTITY_RAVAGER_AMBIENT = getSound("entity.ravager.ambient");
+ public static final Sound ENTITY_RAVAGER_ATTACK = getSound("entity.ravager.attack");
+ public static final Sound ENTITY_RAVAGER_CELEBRATE = getSound("entity.ravager.celebrate");
+ public static final Sound ENTITY_RAVAGER_DEATH = getSound("entity.ravager.death");
+ public static final Sound ENTITY_RAVAGER_HURT = getSound("entity.ravager.hurt");
+ public static final Sound ENTITY_RAVAGER_ROAR = getSound("entity.ravager.roar");
+ public static final Sound ENTITY_RAVAGER_STEP = getSound("entity.ravager.step");
+ public static final Sound ENTITY_RAVAGER_STUNNED = getSound("entity.ravager.stunned");
+ public static final Sound ENTITY_SALMON_AMBIENT = getSound("entity.salmon.ambient");
+ public static final Sound ENTITY_SALMON_DEATH = getSound("entity.salmon.death");
+ public static final Sound ENTITY_SALMON_FLOP = getSound("entity.salmon.flop");
+ public static final Sound ENTITY_SALMON_HURT = getSound("entity.salmon.hurt");
+ public static final Sound ENTITY_SHEEP_AMBIENT = getSound("entity.sheep.ambient");
+ public static final Sound ENTITY_SHEEP_DEATH = getSound("entity.sheep.death");
+ public static final Sound ENTITY_SHEEP_HURT = getSound("entity.sheep.hurt");
+ public static final Sound ENTITY_SHEEP_SHEAR = getSound("entity.sheep.shear");
+ public static final Sound ENTITY_SHEEP_STEP = getSound("entity.sheep.step");
+ public static final Sound ENTITY_SHULKER_AMBIENT = getSound("entity.shulker.ambient");
+ public static final Sound ENTITY_SHULKER_BULLET_HIT = getSound("entity.shulker_bullet.hit");
+ public static final Sound ENTITY_SHULKER_BULLET_HURT = getSound("entity.shulker_bullet.hurt");
+ public static final Sound ENTITY_SHULKER_CLOSE = getSound("entity.shulker.close");
+ public static final Sound ENTITY_SHULKER_DEATH = getSound("entity.shulker.death");
+ public static final Sound ENTITY_SHULKER_HURT = getSound("entity.shulker.hurt");
+ public static final Sound ENTITY_SHULKER_HURT_CLOSED = getSound("entity.shulker.hurt_closed");
+ public static final Sound ENTITY_SHULKER_OPEN = getSound("entity.shulker.open");
+ public static final Sound ENTITY_SHULKER_SHOOT = getSound("entity.shulker.shoot");
+ public static final Sound ENTITY_SHULKER_TELEPORT = getSound("entity.shulker.teleport");
+ public static final Sound ENTITY_SILVERFISH_AMBIENT = getSound("entity.silverfish.ambient");
+ public static final Sound ENTITY_SILVERFISH_DEATH = getSound("entity.silverfish.death");
+ public static final Sound ENTITY_SILVERFISH_HURT = getSound("entity.silverfish.hurt");
+ public static final Sound ENTITY_SILVERFISH_STEP = getSound("entity.silverfish.step");
+ public static final Sound ENTITY_SKELETON_AMBIENT = getSound("entity.skeleton.ambient");
+ public static final Sound ENTITY_SKELETON_CONVERTED_TO_STRAY = getSound("entity.skeleton.converted_to_stray");
+ public static final Sound ENTITY_SKELETON_DEATH = getSound("entity.skeleton.death");
+ public static final Sound ENTITY_SKELETON_HORSE_AMBIENT = getSound("entity.skeleton_horse.ambient");
+ public static final Sound ENTITY_SKELETON_HORSE_AMBIENT_WATER = getSound("entity.skeleton_horse.ambient_water");
+ public static final Sound ENTITY_SKELETON_HORSE_DEATH = getSound("entity.skeleton_horse.death");
+ public static final Sound ENTITY_SKELETON_HORSE_GALLOP_WATER = getSound("entity.skeleton_horse.gallop_water");
+ public static final Sound ENTITY_SKELETON_HORSE_HURT = getSound("entity.skeleton_horse.hurt");
+ public static final Sound ENTITY_SKELETON_HORSE_JUMP_WATER = getSound("entity.skeleton_horse.jump_water");
+ public static final Sound ENTITY_SKELETON_HORSE_STEP_WATER = getSound("entity.skeleton_horse.step_water");
+ public static final Sound ENTITY_SKELETON_HORSE_SWIM = getSound("entity.skeleton_horse.swim");
+ public static final Sound ENTITY_SKELETON_HURT = getSound("entity.skeleton.hurt");
+ public static final Sound ENTITY_SKELETON_SHOOT = getSound("entity.skeleton.shoot");
+ public static final Sound ENTITY_SKELETON_STEP = getSound("entity.skeleton.step");
+ public static final Sound ENTITY_SLIME_ATTACK = getSound("entity.slime.attack");
+ public static final Sound ENTITY_SLIME_DEATH = getSound("entity.slime.death");
+ public static final Sound ENTITY_SLIME_DEATH_SMALL = getSound("entity.slime.death_small");
+ public static final Sound ENTITY_SLIME_HURT = getSound("entity.slime.hurt");
+ public static final Sound ENTITY_SLIME_HURT_SMALL = getSound("entity.slime.hurt_small");
+ public static final Sound ENTITY_SLIME_JUMP = getSound("entity.slime.jump");
+ public static final Sound ENTITY_SLIME_JUMP_SMALL = getSound("entity.slime.jump_small");
+ public static final Sound ENTITY_SLIME_SQUISH = getSound("entity.slime.squish");
+ public static final Sound ENTITY_SLIME_SQUISH_SMALL = getSound("entity.slime.squish_small");
+ public static final Sound ENTITY_SNOWBALL_THROW = getSound("entity.snowball.throw");
+ public static final Sound ENTITY_SNOW_GOLEM_AMBIENT = getSound("entity.snow_golem.ambient");
+ public static final Sound ENTITY_SNOW_GOLEM_DEATH = getSound("entity.snow_golem.death");
+ public static final Sound ENTITY_SNOW_GOLEM_HURT = getSound("entity.snow_golem.hurt");
+ public static final Sound ENTITY_SNOW_GOLEM_SHEAR = getSound("entity.snow_golem.shear");
+ public static final Sound ENTITY_SNOW_GOLEM_SHOOT = getSound("entity.snow_golem.shoot");
+ public static final Sound ENTITY_SPIDER_AMBIENT = getSound("entity.spider.ambient");
+ public static final Sound ENTITY_SPIDER_DEATH = getSound("entity.spider.death");
+ public static final Sound ENTITY_SPIDER_HURT = getSound("entity.spider.hurt");
+ public static final Sound ENTITY_SPIDER_STEP = getSound("entity.spider.step");
+ public static final Sound ENTITY_SPLASH_POTION_BREAK = getSound("entity.splash_potion.break");
+ public static final Sound ENTITY_SPLASH_POTION_THROW = getSound("entity.splash_potion.throw");
+ public static final Sound ENTITY_SQUID_AMBIENT = getSound("entity.squid.ambient");
+ public static final Sound ENTITY_SQUID_DEATH = getSound("entity.squid.death");
+ public static final Sound ENTITY_SQUID_HURT = getSound("entity.squid.hurt");
+ public static final Sound ENTITY_SQUID_SQUIRT = getSound("entity.squid.squirt");
+ public static final Sound ENTITY_STRAY_AMBIENT = getSound("entity.stray.ambient");
+ public static final Sound ENTITY_STRAY_DEATH = getSound("entity.stray.death");
+ public static final Sound ENTITY_STRAY_HURT = getSound("entity.stray.hurt");
+ public static final Sound ENTITY_STRAY_STEP = getSound("entity.stray.step");
+ public static final Sound ENTITY_STRIDER_AMBIENT = getSound("entity.strider.ambient");
+ public static final Sound ENTITY_STRIDER_DEATH = getSound("entity.strider.death");
+ public static final Sound ENTITY_STRIDER_EAT = getSound("entity.strider.eat");
+ public static final Sound ENTITY_STRIDER_HAPPY = getSound("entity.strider.happy");
+ public static final Sound ENTITY_STRIDER_HURT = getSound("entity.strider.hurt");
+ public static final Sound ENTITY_STRIDER_RETREAT = getSound("entity.strider.retreat");
+ public static final Sound ENTITY_STRIDER_SADDLE = getSound("entity.strider.saddle");
+ public static final Sound ENTITY_STRIDER_STEP = getSound("entity.strider.step");
+ public static final Sound ENTITY_STRIDER_STEP_LAVA = getSound("entity.strider.step_lava");
+ public static final Sound ENTITY_TNT_PRIMED = getSound("entity.tnt.primed");
+ public static final Sound ENTITY_TROPICAL_FISH_AMBIENT = getSound("entity.tropical_fish.ambient");
+ public static final Sound ENTITY_TROPICAL_FISH_DEATH = getSound("entity.tropical_fish.death");
+ public static final Sound ENTITY_TROPICAL_FISH_FLOP = getSound("entity.tropical_fish.flop");
+ public static final Sound ENTITY_TROPICAL_FISH_HURT = getSound("entity.tropical_fish.hurt");
+ public static final Sound ENTITY_TURTLE_AMBIENT_LAND = getSound("entity.turtle.ambient_land");
+ public static final Sound ENTITY_TURTLE_DEATH = getSound("entity.turtle.death");
+ public static final Sound ENTITY_TURTLE_DEATH_BABY = getSound("entity.turtle.death_baby");
+ public static final Sound ENTITY_TURTLE_EGG_BREAK = getSound("entity.turtle.egg_break");
+ public static final Sound ENTITY_TURTLE_EGG_CRACK = getSound("entity.turtle.egg_crack");
+ public static final Sound ENTITY_TURTLE_EGG_HATCH = getSound("entity.turtle.egg_hatch");
+ public static final Sound ENTITY_TURTLE_HURT = getSound("entity.turtle.hurt");
+ public static final Sound ENTITY_TURTLE_HURT_BABY = getSound("entity.turtle.hurt_baby");
+ public static final Sound ENTITY_TURTLE_LAY_EGG = getSound("entity.turtle.lay_egg");
+ public static final Sound ENTITY_TURTLE_SHAMBLE = getSound("entity.turtle.shamble");
+ public static final Sound ENTITY_TURTLE_SHAMBLE_BABY = getSound("entity.turtle.shamble_baby");
+ public static final Sound ENTITY_TURTLE_SWIM = getSound("entity.turtle.swim");
+ public static final Sound ENTITY_VEX_AMBIENT = getSound("entity.vex.ambient");
+ public static final Sound ENTITY_VEX_CHARGE = getSound("entity.vex.charge");
+ public static final Sound ENTITY_VEX_DEATH = getSound("entity.vex.death");
+ public static final Sound ENTITY_VEX_HURT = getSound("entity.vex.hurt");
+ public static final Sound ENTITY_VILLAGER_AMBIENT = getSound("entity.villager.ambient");
+ public static final Sound ENTITY_VILLAGER_CELEBRATE = getSound("entity.villager.celebrate");
+ public static final Sound ENTITY_VILLAGER_DEATH = getSound("entity.villager.death");
+ public static final Sound ENTITY_VILLAGER_HURT = getSound("entity.villager.hurt");
+ public static final Sound ENTITY_VILLAGER_NO = getSound("entity.villager.no");
+ public static final Sound ENTITY_VILLAGER_TRADE = getSound("entity.villager.trade");
+ public static final Sound ENTITY_VILLAGER_WORK_ARMORER = getSound("entity.villager.work_armorer");
+ public static final Sound ENTITY_VILLAGER_WORK_BUTCHER = getSound("entity.villager.work_butcher");
+ public static final Sound ENTITY_VILLAGER_WORK_CARTOGRAPHER = getSound("entity.villager.work_cartographer");
+ public static final Sound ENTITY_VILLAGER_WORK_CLERIC = getSound("entity.villager.work_cleric");
+ public static final Sound ENTITY_VILLAGER_WORK_FARMER = getSound("entity.villager.work_farmer");
+ public static final Sound ENTITY_VILLAGER_WORK_FISHERMAN = getSound("entity.villager.work_fisherman");
+ public static final Sound ENTITY_VILLAGER_WORK_FLETCHER = getSound("entity.villager.work_fletcher");
+ public static final Sound ENTITY_VILLAGER_WORK_LEATHERWORKER = getSound("entity.villager.work_leatherworker");
+ public static final Sound ENTITY_VILLAGER_WORK_LIBRARIAN = getSound("entity.villager.work_librarian");
+ public static final Sound ENTITY_VILLAGER_WORK_MASON = getSound("entity.villager.work_mason");
+ public static final Sound ENTITY_VILLAGER_WORK_SHEPHERD = getSound("entity.villager.work_shepherd");
+ public static final Sound ENTITY_VILLAGER_WORK_TOOLSMITH = getSound("entity.villager.work_toolsmith");
+ public static final Sound ENTITY_VILLAGER_WORK_WEAPONSMITH = getSound("entity.villager.work_weaponsmith");
+ public static final Sound ENTITY_VILLAGER_YES = getSound("entity.villager.yes");
+ public static final Sound ENTITY_VINDICATOR_AMBIENT = getSound("entity.vindicator.ambient");
+ public static final Sound ENTITY_VINDICATOR_CELEBRATE = getSound("entity.vindicator.celebrate");
+ public static final Sound ENTITY_VINDICATOR_DEATH = getSound("entity.vindicator.death");
+ public static final Sound ENTITY_VINDICATOR_HURT = getSound("entity.vindicator.hurt");
+ public static final Sound ENTITY_WANDERING_TRADER_AMBIENT = getSound("entity.wandering_trader.ambient");
+ public static final Sound ENTITY_WANDERING_TRADER_DEATH = getSound("entity.wandering_trader.death");
+ public static final Sound ENTITY_WANDERING_TRADER_DISAPPEARED = getSound("entity.wandering_trader.disappeared");
+ public static final Sound ENTITY_WANDERING_TRADER_DRINK_MILK = getSound("entity.wandering_trader.drink_milk");
+ public static final Sound ENTITY_WANDERING_TRADER_DRINK_POTION = getSound("entity.wandering_trader.drink_potion");
+ public static final Sound ENTITY_WANDERING_TRADER_HURT = getSound("entity.wandering_trader.hurt");
+ public static final Sound ENTITY_WANDERING_TRADER_NO = getSound("entity.wandering_trader.no");
+ public static final Sound ENTITY_WANDERING_TRADER_REAPPEARED = getSound("entity.wandering_trader.reappeared");
+ public static final Sound ENTITY_WANDERING_TRADER_TRADE = getSound("entity.wandering_trader.trade");
+ public static final Sound ENTITY_WANDERING_TRADER_YES = getSound("entity.wandering_trader.yes");
+ public static final Sound ENTITY_WITCH_AMBIENT = getSound("entity.witch.ambient");
+ public static final Sound ENTITY_WITCH_CELEBRATE = getSound("entity.witch.celebrate");
+ public static final Sound ENTITY_WITCH_DEATH = getSound("entity.witch.death");
+ public static final Sound ENTITY_WITCH_DRINK = getSound("entity.witch.drink");
+ public static final Sound ENTITY_WITCH_HURT = getSound("entity.witch.hurt");
+ public static final Sound ENTITY_WITCH_THROW = getSound("entity.witch.throw");
+ public static final Sound ENTITY_WITHER_AMBIENT = getSound("entity.wither.ambient");
+ public static final Sound ENTITY_WITHER_BREAK_BLOCK = getSound("entity.wither.break_block");
+ public static final Sound ENTITY_WITHER_DEATH = getSound("entity.wither.death");
+ public static final Sound ENTITY_WITHER_HURT = getSound("entity.wither.hurt");
+ public static final Sound ENTITY_WITHER_SHOOT = getSound("entity.wither.shoot");
+ public static final Sound ENTITY_WITHER_SKELETON_AMBIENT = getSound("entity.wither_skeleton.ambient");
+ public static final Sound ENTITY_WITHER_SKELETON_DEATH = getSound("entity.wither_skeleton.death");
+ public static final Sound ENTITY_WITHER_SKELETON_HURT = getSound("entity.wither_skeleton.hurt");
+ public static final Sound ENTITY_WITHER_SKELETON_STEP = getSound("entity.wither_skeleton.step");
+ public static final Sound ENTITY_WITHER_SPAWN = getSound("entity.wither.spawn");
+ public static final Sound ENTITY_WOLF_AMBIENT = getSound("entity.wolf.ambient");
+ public static final Sound ENTITY_WOLF_DEATH = getSound("entity.wolf.death");
+ public static final Sound ENTITY_WOLF_GROWL = getSound("entity.wolf.growl");
+ public static final Sound ENTITY_WOLF_HOWL = getSound("entity.wolf.howl");
+ public static final Sound ENTITY_WOLF_HURT = getSound("entity.wolf.hurt");
+ public static final Sound ENTITY_WOLF_PANT = getSound("entity.wolf.pant");
+ public static final Sound ENTITY_WOLF_SHAKE = getSound("entity.wolf.shake");
+ public static final Sound ENTITY_WOLF_STEP = getSound("entity.wolf.step");
+ public static final Sound ENTITY_WOLF_WHINE = getSound("entity.wolf.whine");
+ public static final Sound ENTITY_ZOGLIN_AMBIENT = getSound("entity.zoglin.ambient");
+ public static final Sound ENTITY_ZOGLIN_ANGRY = getSound("entity.zoglin.angry");
+ public static final Sound ENTITY_ZOGLIN_ATTACK = getSound("entity.zoglin.attack");
+ public static final Sound ENTITY_ZOGLIN_DEATH = getSound("entity.zoglin.death");
+ public static final Sound ENTITY_ZOGLIN_HURT = getSound("entity.zoglin.hurt");
+ public static final Sound ENTITY_ZOGLIN_STEP = getSound("entity.zoglin.step");
+ public static final Sound ENTITY_ZOMBIE_AMBIENT = getSound("entity.zombie.ambient");
+ public static final Sound ENTITY_ZOMBIE_ATTACK_IRON_DOOR = getSound("entity.zombie.attack_iron_door");
+ public static final Sound ENTITY_ZOMBIE_ATTACK_WOODEN_DOOR = getSound("entity.zombie.attack_wooden_door");
+ public static final Sound ENTITY_ZOMBIE_BREAK_WOODEN_DOOR = getSound("entity.zombie.break_wooden_door");
+ public static final Sound ENTITY_ZOMBIE_CONVERTED_TO_DROWNED = getSound("entity.zombie.converted_to_drowned");
+ public static final Sound ENTITY_ZOMBIE_DEATH = getSound("entity.zombie.death");
+ public static final Sound ENTITY_ZOMBIE_DESTROY_EGG = getSound("entity.zombie.destroy_egg");
+ public static final Sound ENTITY_ZOMBIE_HORSE_AMBIENT = getSound("entity.zombie_horse.ambient");
+ public static final Sound ENTITY_ZOMBIE_HORSE_DEATH = getSound("entity.zombie_horse.death");
+ public static final Sound ENTITY_ZOMBIE_HORSE_HURT = getSound("entity.zombie_horse.hurt");
+ public static final Sound ENTITY_ZOMBIE_HURT = getSound("entity.zombie.hurt");
+ public static final Sound ENTITY_ZOMBIE_INFECT = getSound("entity.zombie.infect");
+ public static final Sound ENTITY_ZOMBIE_STEP = getSound("entity.zombie.step");
+ public static final Sound ENTITY_ZOMBIE_VILLAGER_AMBIENT = getSound("entity.zombie_villager.ambient");
+ public static final Sound ENTITY_ZOMBIE_VILLAGER_CONVERTED = getSound("entity.zombie_villager.converted");
+ public static final Sound ENTITY_ZOMBIE_VILLAGER_CURE = getSound("entity.zombie_villager.cure");
+ public static final Sound ENTITY_ZOMBIE_VILLAGER_DEATH = getSound("entity.zombie_villager.death");
+ public static final Sound ENTITY_ZOMBIE_VILLAGER_HURT = getSound("entity.zombie_villager.hurt");
+ public static final Sound ENTITY_ZOMBIE_VILLAGER_STEP = getSound("entity.zombie_villager.step");
+ public static final Sound ENTITY_ZOMBIFIED_PIGLIN_AMBIENT = getSound("entity.zombified_piglin.ambient");
+ public static final Sound ENTITY_ZOMBIFIED_PIGLIN_ANGRY = getSound("entity.zombified_piglin.angry");
+ public static final Sound ENTITY_ZOMBIFIED_PIGLIN_DEATH = getSound("entity.zombified_piglin.death");
+ public static final Sound ENTITY_ZOMBIFIED_PIGLIN_HURT = getSound("entity.zombified_piglin.hurt");
+ public static final Sound EVENT_RAID_HORN = getSound("event.raid.horn");
+ public static final Sound ITEM_ARMOR_EQUIP_CHAIN = getSound("item.armor.equip_chain");
+ public static final Sound ITEM_ARMOR_EQUIP_DIAMOND = getSound("item.armor.equip_diamond");
+ public static final Sound ITEM_ARMOR_EQUIP_ELYTRA = getSound("item.armor.equip_elytra");
+ public static final Sound ITEM_ARMOR_EQUIP_GENERIC = getSound("item.armor.equip_generic");
+ public static final Sound ITEM_ARMOR_EQUIP_GOLD = getSound("item.armor.equip_gold");
+ public static final Sound ITEM_ARMOR_EQUIP_IRON = getSound("item.armor.equip_iron");
+ public static final Sound ITEM_ARMOR_EQUIP_LEATHER = getSound("item.armor.equip_leather");
+ public static final Sound ITEM_ARMOR_EQUIP_NETHERITE = getSound("item.armor.equip_netherite");
+ public static final Sound ITEM_ARMOR_EQUIP_TURTLE = getSound("item.armor.equip_turtle");
+ public static final Sound ITEM_AXE_SCRAPE = getSound("item.axe.scrape");
+ public static final Sound ITEM_AXE_STRIP = getSound("item.axe.strip");
+ public static final Sound ITEM_AXE_WAX_OFF = getSound("item.axe.wax_off");
+ public static final Sound ITEM_BONE_MEAL_USE = getSound("item.bone_meal.use");
+ public static final Sound ITEM_BOOK_PAGE_TURN = getSound("item.book.page_turn");
+ public static final Sound ITEM_BOOK_PUT = getSound("item.book.put");
+ public static final Sound ITEM_BOTTLE_EMPTY = getSound("item.bottle.empty");
+ public static final Sound ITEM_BOTTLE_FILL = getSound("item.bottle.fill");
+ public static final Sound ITEM_BOTTLE_FILL_DRAGONBREATH = getSound("item.bottle.fill_dragonbreath");
+ public static final Sound ITEM_BUCKET_EMPTY = getSound("item.bucket.empty");
+ public static final Sound ITEM_BUCKET_EMPTY_AXOLOTL = getSound("item.bucket.empty_axolotl");
+ public static final Sound ITEM_BUCKET_EMPTY_FISH = getSound("item.bucket.empty_fish");
+ public static final Sound ITEM_BUCKET_EMPTY_LAVA = getSound("item.bucket.empty_lava");
+ public static final Sound ITEM_BUCKET_EMPTY_POWDER_SNOW = getSound("item.bucket.empty_powder_snow");
+ public static final Sound ITEM_BUCKET_FILL = getSound("item.bucket.fill");
+ public static final Sound ITEM_BUCKET_FILL_AXOLOTL = getSound("item.bucket.fill_axolotl");
+ public static final Sound ITEM_BUCKET_FILL_FISH = getSound("item.bucket.fill_fish");
+ public static final Sound ITEM_BUCKET_FILL_LAVA = getSound("item.bucket.fill_lava");
+ public static final Sound ITEM_BUCKET_FILL_POWDER_SNOW = getSound("item.bucket.fill_powder_snow");
+ public static final Sound ITEM_CHORUS_FRUIT_TELEPORT = getSound("item.chorus_fruit.teleport");
+ public static final Sound ITEM_CROP_PLANT = getSound("item.crop.plant");
+ public static final Sound ITEM_CROSSBOW_HIT = getSound("item.crossbow.hit");
+ public static final Sound ITEM_CROSSBOW_LOADING_END = getSound("item.crossbow.loading_end");
+ public static final Sound ITEM_CROSSBOW_LOADING_MIDDLE = getSound("item.crossbow.loading_middle");
+ public static final Sound ITEM_CROSSBOW_LOADING_START = getSound("item.crossbow.loading_start");
+ public static final Sound ITEM_CROSSBOW_QUICK_CHARGE_1 = getSound("item.crossbow.quick_charge_1");
+ public static final Sound ITEM_CROSSBOW_QUICK_CHARGE_2 = getSound("item.crossbow.quick_charge_2");
+ public static final Sound ITEM_CROSSBOW_QUICK_CHARGE_3 = getSound("item.crossbow.quick_charge_3");
+ public static final Sound ITEM_CROSSBOW_SHOOT = getSound("item.crossbow.shoot");
+ public static final Sound ITEM_DYE_USE = getSound("item.dye.use");
+ public static final Sound ITEM_ELYTRA_FLYING = getSound("item.elytra.flying");
+ public static final Sound ITEM_FIRECHARGE_USE = getSound("item.firecharge.use");
+ public static final Sound ITEM_FLINTANDSTEEL_USE = getSound("item.flintandsteel.use");
+ public static final Sound ITEM_GLOW_INK_SAC_USE = getSound("item.glow_ink_sac.use");
+ public static final Sound ITEM_HOE_TILL = getSound("item.hoe.till");
+ public static final Sound ITEM_HONEYCOMB_WAX_ON = getSound("item.honeycomb.wax_on");
+ public static final Sound ITEM_HONEY_BOTTLE_DRINK = getSound("item.honey_bottle.drink");
+ public static final Sound ITEM_INK_SAC_USE = getSound("item.ink_sac.use");
+ public static final Sound ITEM_LODESTONE_COMPASS_LOCK = getSound("item.lodestone_compass.lock");
+ public static final Sound ITEM_NETHER_WART_PLANT = getSound("item.nether_wart.plant");
+ public static final Sound ITEM_SHIELD_BLOCK = getSound("item.shield.block");
+ public static final Sound ITEM_SHIELD_BREAK = getSound("item.shield.break");
+ public static final Sound ITEM_SHOVEL_FLATTEN = getSound("item.shovel.flatten");
+ public static final Sound ITEM_SPYGLASS_STOP_USING = getSound("item.spyglass.stop_using");
+ public static final Sound ITEM_SPYGLASS_USE = getSound("item.spyglass.use");
+ public static final Sound ITEM_TOTEM_USE = getSound("item.totem.use");
+ public static final Sound ITEM_TRIDENT_HIT = getSound("item.trident.hit");
+ public static final Sound ITEM_TRIDENT_HIT_GROUND = getSound("item.trident.hit_ground");
+ public static final Sound ITEM_TRIDENT_RETURN = getSound("item.trident.return");
+ public static final Sound ITEM_TRIDENT_RIPTIDE_1 = getSound("item.trident.riptide_1");
+ public static final Sound ITEM_TRIDENT_RIPTIDE_2 = getSound("item.trident.riptide_2");
+ public static final Sound ITEM_TRIDENT_RIPTIDE_3 = getSound("item.trident.riptide_3");
+ public static final Sound ITEM_TRIDENT_THROW = getSound("item.trident.throw");
+ public static final Sound ITEM_TRIDENT_THUNDER = getSound("item.trident.thunder");
+ public static final Sound MUSIC_CREATIVE = getSound("music.creative");
+ public static final Sound MUSIC_CREDITS = getSound("music.credits");
+ public static final Sound MUSIC_DISC_11 = getSound("music_disc.11");
+ public static final Sound MUSIC_DISC_13 = getSound("music_disc.13");
+ public static final Sound MUSIC_DISC_BLOCKS = getSound("music_disc.blocks");
+ public static final Sound MUSIC_DISC_CAT = getSound("music_disc.cat");
+ public static final Sound MUSIC_DISC_CHIRP = getSound("music_disc.chirp");
+ public static final Sound MUSIC_DISC_FAR = getSound("music_disc.far");
+ public static final Sound MUSIC_DISC_MALL = getSound("music_disc.mall");
+ public static final Sound MUSIC_DISC_MELLOHI = getSound("music_disc.mellohi");
+ public static final Sound MUSIC_DISC_PIGSTEP = getSound("music_disc.pigstep");
+ public static final Sound MUSIC_DISC_STAL = getSound("music_disc.stal");
+ public static final Sound MUSIC_DISC_STRAD = getSound("music_disc.strad");
+ public static final Sound MUSIC_DISC_WAIT = getSound("music_disc.wait");
+ public static final Sound MUSIC_DISC_WARD = getSound("music_disc.ward");
+ public static final Sound MUSIC_DRAGON = getSound("music.dragon");
+ public static final Sound MUSIC_END = getSound("music.end");
+ public static final Sound MUSIC_GAME = getSound("music.game");
+ public static final Sound MUSIC_MENU = getSound("music.menu");
+ public static final Sound MUSIC_NETHER_BASALT_DELTAS = getSound("music.nether.basalt_deltas");
+ public static final Sound MUSIC_NETHER_CRIMSON_FOREST = getSound("music.nether.crimson_forest");
+ public static final Sound MUSIC_NETHER_NETHER_WASTES = getSound("music.nether.nether_wastes");
+ public static final Sound MUSIC_NETHER_SOUL_SAND_VALLEY = getSound("music.nether.soul_sand_valley");
+ public static final Sound MUSIC_NETHER_WARPED_FOREST = getSound("music.nether.warped_forest");
+ public static final Sound MUSIC_UNDER_WATER = getSound("music.under_water");
+ public static final Sound PARTICLE_SOUL_ESCAPE = getSound("particle.soul_escape");
+ public static final Sound UI_BUTTON_CLICK = getSound("ui.button.click");
+ public static final Sound UI_CARTOGRAPHY_TABLE_TAKE_RESULT = getSound("ui.cartography_table.take_result");
+ public static final Sound UI_LOOM_SELECT_PATTERN = getSound("ui.loom.select_pattern");
+ public static final Sound UI_LOOM_TAKE_RESULT = getSound("ui.loom.take_result");
+ public static final Sound UI_STONECUTTER_SELECT_RECIPE = getSound("ui.stonecutter.select_recipe");
+ public static final Sound UI_STONECUTTER_TAKE_RESULT = getSound("ui.stonecutter.take_result");
+ public static final Sound UI_TOAST_CHALLENGE_COMPLETE = getSound("ui.toast.challenge_complete");
+ public static final Sound UI_TOAST_IN = getSound("ui.toast.in");
+ public static final Sound UI_TOAST_OUT = getSound("ui.toast.out");
+ public static final Sound WEATHER_RAIN = getSound("weather.rain");
+ public static final Sound WEATHER_RAIN_ABOVE = getSound("weather.rain.above");
- private final NamespacedKey key;
-
- private Sound(String key) {
- this.key = NamespacedKey.minecraft(key);
+ private static Sound getSound(@NotNull String key) {
+ NamespacedKey namespacedKey = NamespacedKey.minecraft(key);
+ Sound sound = Registry.SOUNDS.get(namespacedKey);
+ Preconditions.checkNotNull(sound, "No sound found for %s. This is a bug.", namespacedKey);
+ return sound;
}
+ /**
+ * @param name of the sound.
+ * @return the sound with the given name.
+ * @deprecated only for backwards compatibility, use {@link Registry#get(NamespacedKey)} instead.
+ */
@NotNull
- @Override
- public NamespacedKey getKey() {
- return key;
+ @Deprecated
+ public static Sound valueOf(@NotNull String name) {
+ Sound sound = Registry.SOUNDS.get(NamespacedKey.fromString(name.toLowerCase()));
+ if (sound != null) {
+ return sound;
+ }
+
+ // Sound keys can have dots in them which where converted to _. Since converting
+ // the _ back to a dot would be to complex (since not all _ need to be converted back) we use the field name.
+ try {
+ sound = (Sound) Sound.class.getField(name).get(null);
+ } catch (NoSuchFieldException | IllegalAccessException e) {
+ sound = null;
+ }
+
+ Preconditions.checkArgument(sound != null, "No sound found with the name %s", name);
+ return sound;
+ }
+
+ /**
+ * @return an array of all known sounds.
+ * @deprecated use {@link Registry#iterator()}.
+ */
+ @NotNull
+ @Deprecated
+ public static Sound[] values() {
+ return Lists.newArrayList(Registry.SOUNDS).toArray(new Sound[0]);
}
}
diff --git a/src/main/java/org/bukkit/attribute/Attribute.java b/src/main/java/org/bukkit/attribute/Attribute.java
index 13eac9ad..acadbde8 100644
--- a/src/main/java/org/bukkit/attribute/Attribute.java
+++ b/src/main/java/org/bukkit/attribute/Attribute.java
@@ -1,76 +1,109 @@
package org.bukkit.attribute;
+import com.google.common.base.Preconditions;
+import com.google.common.collect.Lists;
import org.bukkit.Keyed;
import org.bukkit.NamespacedKey;
+import org.bukkit.Registry;
+import org.bukkit.util.OldEnum;
import org.jetbrains.annotations.NotNull;
/**
* Types of attributes which may be present on an {@link Attributable}.
*/
-public enum Attribute implements Keyed {
+public abstract class Attribute extends OldEnum implements Keyed {
/**
* Maximum health of an Entity.
*/
- GENERIC_MAX_HEALTH("generic.max_health"),
+ public static final Attribute GENERIC_MAX_HEALTH = getAttribute("generic.max_health");
/**
* Range at which an Entity will follow others.
*/
- GENERIC_FOLLOW_RANGE("generic.follow_range"),
+ public static final Attribute GENERIC_FOLLOW_RANGE = getAttribute("generic.follow_range");
/**
* Resistance of an Entity to knockback.
*/
- GENERIC_KNOCKBACK_RESISTANCE("generic.knockback_resistance"),
+ public static final Attribute GENERIC_KNOCKBACK_RESISTANCE = getAttribute("generic.knockback_resistance");
/**
* Movement speed of an Entity.
*/
- GENERIC_MOVEMENT_SPEED("generic.movement_speed"),
+ public static final Attribute GENERIC_MOVEMENT_SPEED = getAttribute("generic.movement_speed");
/**
* Flying speed of an Entity.
*/
- GENERIC_FLYING_SPEED("generic.flying_speed"),
+ public static final Attribute GENERIC_FLYING_SPEED = getAttribute("generic.flying_speed");
/**
* Attack damage of an Entity.
*/
- GENERIC_ATTACK_DAMAGE("generic.attack_damage"),
+ public static final Attribute GENERIC_ATTACK_DAMAGE = getAttribute("generic.attack_damage");
/**
* Attack knockback of an Entity.
*/
- GENERIC_ATTACK_KNOCKBACK("generic.attack_knockback"),
+ public static final Attribute GENERIC_ATTACK_KNOCKBACK = getAttribute("generic.attack_knockback");
/**
* Attack speed of an Entity.
*/
- GENERIC_ATTACK_SPEED("generic.attack_speed"),
+ public static final Attribute GENERIC_ATTACK_SPEED = getAttribute("generic.attack_speed");
/**
* Armor bonus of an Entity.
*/
- GENERIC_ARMOR("generic.armor"),
+ public static final Attribute GENERIC_ARMOR = getAttribute("generic.armor");
/**
* Armor durability bonus of an Entity.
*/
- GENERIC_ARMOR_TOUGHNESS("generic.armor_toughness"),
+ public static final Attribute GENERIC_ARMOR_TOUGHNESS = getAttribute("generic.armor_toughness");
/**
* Luck bonus of an Entity.
*/
- GENERIC_LUCK("generic.luck"),
+ public static final Attribute GENERIC_LUCK = getAttribute("generic.luck");
/**
* Strength with which a horse will jump.
*/
- HORSE_JUMP_STRENGTH("horse.jump_strength"),
+ public static final Attribute HORSE_JUMP_STRENGTH = getAttribute("horse.jump_strength");
/**
* Chance of a zombie to spawn reinforcements.
*/
- ZOMBIE_SPAWN_REINFORCEMENTS("zombie.spawn_reinforcements");
+ public static final Attribute ZOMBIE_SPAWN_REINFORCEMENTS = getAttribute("zombie.spawn_reinforcements");
- private final NamespacedKey key;
-
- private Attribute(String key) {
- this.key = NamespacedKey.minecraft(key);
+ private static Attribute getAttribute(@NotNull String key) {
+ NamespacedKey namespacedKey = NamespacedKey.minecraft(key);
+ Attribute attribute = Registry.ATTRIBUTE.get(namespacedKey);
+ Preconditions.checkNotNull(attribute, "No Attribute found for %s. This is a bug.", namespacedKey);
+ return attribute;
}
+ /**
+ * @param name of the attribute.
+ * @return the attribute with the given name.
+ * @deprecated only for backwards compatibility, use {@link Registry#get(NamespacedKey)} instead.
+ */
@NotNull
- @Override
- public NamespacedKey getKey() {
- return key;
+ @Deprecated
+ public static Attribute valueOf(@NotNull String name) {
+ Attribute attribute = Registry.ATTRIBUTE.get(NamespacedKey.fromString(name.toLowerCase()));
+ if (attribute != null) {
+ return attribute;
+ }
+
+ // Attribute keys can have dots in them which where converted to _. Since converting
+ // the _ back to a dot would be to complex (since not all _ need to be converted back) we use the field name.
+ try {
+ attribute = (Attribute) Attribute.class.getField(name).get(null);
+ } catch (NoSuchFieldException | IllegalAccessException e) {
+ attribute = null;
+ }
+ Preconditions.checkArgument(attribute != null, "No Attribute found with the name %s", name);
+ return attribute;
+ }
+
+ /**
+ * @return an array of all known Attributes.
+ * @deprecated use {@link Registry#iterator()}.
+ */
+ @NotNull
+ @Deprecated
+ public static Attribute[] values() {
+ return Lists.newArrayList(Registry.ATTRIBUTE).toArray(new Attribute[0]);
}
}
diff --git a/src/main/java/org/bukkit/block/Biome.java b/src/main/java/org/bukkit/block/Biome.java
index e1708911..f73edddd 100644
--- a/src/main/java/org/bukkit/block/Biome.java
+++ b/src/main/java/org/bukkit/block/Biome.java
@@ -4,8 +4,8 @@ import com.google.common.base.Preconditions;
import com.google.common.collect.Lists;
import org.bukkit.Keyed;
import org.bukkit.NamespacedKey;
-import org.bukkit.OldEnum;
import org.bukkit.Registry;
+import org.bukkit.util.OldEnum;
import org.jetbrains.annotations.NotNull;
/**
@@ -107,7 +107,7 @@ public abstract class Biome extends OldEnum implements Keyed {
public static final Biome CUSTOM = getBiome("custom");
@NotNull
- private static Biome getBiome(String key) {
+ private static Biome getBiome(@NotNull String key) {
NamespacedKey namespacedKey = NamespacedKey.minecraft(key);
Biome biome = Registry.BIOME.get(namespacedKey);
Preconditions.checkNotNull(biome, "No Biome found for %s. This is a bug.", namespacedKey);
@@ -121,14 +121,14 @@ public abstract class Biome extends OldEnum implements Keyed {
*/
@NotNull
@Deprecated
- public static Biome valueOf(String name) {
+ public static Biome valueOf(@NotNull String name) {
Biome biome = Registry.BIOME.get(NamespacedKey.fromString(name.toLowerCase()));
Preconditions.checkArgument(biome != null, "No Biome found with the name %s", name);
return biome;
}
/**
- * @return an array of all know Biomes.
+ * @return an array of all known Biomes.
* @deprecated use {@link Registry#iterator()}.
*/
@NotNull
diff --git a/src/main/java/org/bukkit/enchantments/Enchantment.java b/src/main/java/org/bukkit/enchantments/Enchantment.java
index b833ef63..09454f18 100644
--- a/src/main/java/org/bukkit/enchantments/Enchantment.java
+++ b/src/main/java/org/bukkit/enchantments/Enchantment.java
@@ -1,9 +1,10 @@
package org.bukkit.enchantments;
-import java.util.HashMap;
-import java.util.Map;
+import com.google.common.base.Preconditions;
+import com.google.common.collect.Lists;
import org.bukkit.Keyed;
import org.bukkit.NamespacedKey;
+import org.bukkit.Registry;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
@@ -16,208 +17,201 @@ public abstract class Enchantment implements Keyed {
/**
* Provides protection against environmental damage
*/
- public static final Enchantment PROTECTION_ENVIRONMENTAL = new EnchantmentWrapper("protection");
+ public static final Enchantment PROTECTION = getEnchantment("protection");
/**
* Provides protection against fire damage
*/
- public static final Enchantment PROTECTION_FIRE = new EnchantmentWrapper("fire_protection");
+ public static final Enchantment FIRE_PROTECTION = getEnchantment("fire_protection");
/**
* Provides protection against fall damage
*/
- public static final Enchantment PROTECTION_FALL = new EnchantmentWrapper("feather_falling");
+ public static final Enchantment FEATHER_FALLING = getEnchantment("feather_falling");
/**
* Provides protection against explosive damage
*/
- public static final Enchantment PROTECTION_EXPLOSIONS = new EnchantmentWrapper("blast_protection");
+ public static final Enchantment BLAST_PROTECTION = getEnchantment("blast_protection");
/**
* Provides protection against projectile damage
*/
- public static final Enchantment PROTECTION_PROJECTILE = new EnchantmentWrapper("projectile_protection");
+ public static final Enchantment PROJECTILE_PROTECTION = getEnchantment("projectile_protection");
/**
* Decreases the rate of air loss whilst underwater
*/
- public static final Enchantment OXYGEN = new EnchantmentWrapper("respiration");
+ public static final Enchantment RESPIRATION = getEnchantment("respiration");
/**
* Increases the speed at which a player may mine underwater
*/
- public static final Enchantment WATER_WORKER = new EnchantmentWrapper("aqua_affinity");
+ public static final Enchantment AQUA_AFFINITY = getEnchantment("aqua_affinity");
/**
* Damages the attacker
*/
- public static final Enchantment THORNS = new EnchantmentWrapper("thorns");
+ public static final Enchantment THORNS = getEnchantment("thorns");
/**
* Increases walking speed while in water
*/
- public static final Enchantment DEPTH_STRIDER = new EnchantmentWrapper("depth_strider");
+ public static final Enchantment DEPTH_STRIDER = getEnchantment("depth_strider");
/**
* Freezes any still water adjacent to ice / frost which player is walking on
*/
- public static final Enchantment FROST_WALKER = new EnchantmentWrapper("frost_walker");
+ public static final Enchantment FROST_WALKER = getEnchantment("frost_walker");
/**
* Item cannot be removed
*/
- public static final Enchantment BINDING_CURSE = new EnchantmentWrapper("binding_curse");
+ public static final Enchantment BINDING_CURSE = getEnchantment("binding_curse");
/**
* Increases damage against all targets
*/
- public static final Enchantment DAMAGE_ALL = new EnchantmentWrapper("sharpness");
+ public static final Enchantment SHARPNESS = getEnchantment("sharpness");
/**
* Increases damage against undead targets
*/
- public static final Enchantment DAMAGE_UNDEAD = new EnchantmentWrapper("smite");
+ public static final Enchantment SMITE = getEnchantment("smite");
/**
* Increases damage against arthropod targets
*/
- public static final Enchantment DAMAGE_ARTHROPODS = new EnchantmentWrapper("bane_of_arthropods");
+ public static final Enchantment BANE_OF_ARTHROPODS = getEnchantment("bane_of_arthropods");
/**
* All damage to other targets will knock them back when hit
*/
- public static final Enchantment KNOCKBACK = new EnchantmentWrapper("knockback");
+ public static final Enchantment KNOCKBACK = getEnchantment("knockback");
/**
* When attacking a target, has a chance to set them on fire
*/
- public static final Enchantment FIRE_ASPECT = new EnchantmentWrapper("fire_aspect");
+ public static final Enchantment FIRE_ASPECT = getEnchantment("fire_aspect");
/**
* Provides a chance of gaining extra loot when killing monsters
*/
- public static final Enchantment LOOT_BONUS_MOBS = new EnchantmentWrapper("looting");
+ public static final Enchantment LOOTING = getEnchantment("looting");
/**
* Increases damage against targets when using a sweep attack
*/
- public static final Enchantment SWEEPING_EDGE = new EnchantmentWrapper("sweeping");
+ public static final Enchantment SWEEPING = getEnchantment("sweeping");
/**
* Increases the rate at which you mine/dig
*/
- public static final Enchantment DIG_SPEED = new EnchantmentWrapper("efficiency");
+ public static final Enchantment EFFICIENCY = getEnchantment("efficiency");
/**
* Allows blocks to drop themselves instead of fragments (for example,
* stone instead of cobblestone)
*/
- public static final Enchantment SILK_TOUCH = new EnchantmentWrapper("silk_touch");
+ public static final Enchantment SILK_TOUCH = getEnchantment("silk_touch");
/**
* Decreases the rate at which a tool looses durability
*/
- public static final Enchantment DURABILITY = new EnchantmentWrapper("unbreaking");
+ public static final Enchantment UNBREAKING = getEnchantment("unbreaking");
/**
* Provides a chance of gaining extra loot when destroying blocks
*/
- public static final Enchantment LOOT_BONUS_BLOCKS = new EnchantmentWrapper("fortune");
+ public static final Enchantment FORTUNE = getEnchantment("fortune");
/**
* Provides extra damage when shooting arrows from bows
*/
- public static final Enchantment ARROW_DAMAGE = new EnchantmentWrapper("power");
+ public static final Enchantment POWER = getEnchantment("power");
/**
* Provides a knockback when an entity is hit by an arrow from a bow
*/
- public static final Enchantment ARROW_KNOCKBACK = new EnchantmentWrapper("punch");
+ public static final Enchantment PUNCH = getEnchantment("punch");
/**
* Sets entities on fire when hit by arrows shot from a bow
*/
- public static final Enchantment ARROW_FIRE = new EnchantmentWrapper("flame");
+ public static final Enchantment FLAME = getEnchantment("flame");
/**
* Provides infinite arrows when shooting a bow
*/
- public static final Enchantment ARROW_INFINITE = new EnchantmentWrapper("infinity");
+ public static final Enchantment INFINITY = getEnchantment("infinity");
/**
* Decreases odds of catching worthless junk
*/
- public static final Enchantment LUCK = new EnchantmentWrapper("luck_of_the_sea");
+ public static final Enchantment LUCK_OF_THE_SEA = getEnchantment("luck_of_the_sea");
/**
* Increases rate of fish biting your hook
*/
- public static final Enchantment LURE = new EnchantmentWrapper("lure");
+ public static final Enchantment LURE = getEnchantment("lure");
/**
* Causes a thrown trident to return to the player who threw it
*/
- public static final Enchantment LOYALTY = new EnchantmentWrapper("loyalty");
+ public static final Enchantment LOYALTY = getEnchantment("loyalty");
/**
* Deals more damage to mobs that live in the ocean
*/
- public static final Enchantment IMPALING = new EnchantmentWrapper("impaling");
+ public static final Enchantment IMPALING = getEnchantment("impaling");
/**
* When it is rainy, launches the player in the direction their trident is thrown
*/
- public static final Enchantment RIPTIDE = new EnchantmentWrapper("riptide");
+ public static final Enchantment RIPTIDE = getEnchantment("riptide");
/**
* Strikes lightning when a mob is hit with a trident if conditions are
* stormy
*/
- public static final Enchantment CHANNELING = new EnchantmentWrapper("channeling");
+ public static final Enchantment CHANNELING = getEnchantment("channeling");
/**
* Shoot multiple arrows from crossbows
*/
- public static final Enchantment MULTISHOT = new EnchantmentWrapper("multishot");
+ public static final Enchantment MULTISHOT = getEnchantment("multishot");
/**
* Charges crossbows quickly
*/
- public static final Enchantment QUICK_CHARGE = new EnchantmentWrapper("quick_charge");
+ public static final Enchantment QUICK_CHARGE = getEnchantment("quick_charge");
/**
* Crossbow projectiles pierce entities
*/
- public static final Enchantment PIERCING = new EnchantmentWrapper("piercing");
+ public static final Enchantment PIERCING = getEnchantment("piercing");
/**
* Allows mending the item using experience orbs
*/
- public static final Enchantment MENDING = new EnchantmentWrapper("mending");
+ public static final Enchantment MENDING = getEnchantment("mending");
/**
* Item disappears instead of dropping
*/
- public static final Enchantment VANISHING_CURSE = new EnchantmentWrapper("vanishing_curse");
+ public static final Enchantment VANISHING_CURSE = getEnchantment("vanishing_curse");
/**
* Walk quicker on soul blocks
*/
- public static final Enchantment SOUL_SPEED = new EnchantmentWrapper("soul_speed");
-
- private static final Map byKey = new HashMap();
- private static final Map byName = new HashMap();
- private static boolean acceptingNew = true;
- private final NamespacedKey key;
-
- public Enchantment(@NotNull NamespacedKey key) {
- this.key = key;
- }
+ public static final Enchantment SOUL_SPEED = getEnchantment("soul_speed");
@NotNull
- @Override
- public NamespacedKey getKey() {
- return key;
+ private static Enchantment getEnchantment(@NotNull String key) {
+ NamespacedKey namespacedKey = NamespacedKey.minecraft(key);
+ Enchantment enchantment = Registry.ENCHANTMENT.get(namespacedKey);
+ Preconditions.checkNotNull(enchantment, "No Enchantment found for %s. This is a bug.", namespacedKey);
+ return enchantment;
}
/**
@@ -295,65 +289,6 @@ public abstract class Enchantment implements Keyed {
*/
public abstract boolean canEnchantItem(@NotNull ItemStack item);
- @Override
- public boolean equals(Object obj) {
- if (obj == null) {
- return false;
- }
- if (!(obj instanceof Enchantment)) {
- return false;
- }
- final Enchantment other = (Enchantment) obj;
- if (!this.key.equals(other.key)) {
- return false;
- }
- return true;
- }
-
- @Override
- public int hashCode() {
- return key.hashCode();
- }
-
- @Override
- public String toString() {
- return "Enchantment[" + key + ", " + getName() + "]";
- }
-
- /**
- * Registers an enchantment with the given ID and object.
- *
- * Generally not to be used from within a plugin.
- *
- * @param enchantment Enchantment to register
- */
- public static void registerEnchantment(@NotNull Enchantment enchantment) {
- if (byKey.containsKey(enchantment.key) || byName.containsKey(enchantment.getName())) {
- throw new IllegalArgumentException("Cannot set already-set enchantment");
- } else if (!isAcceptingRegistrations()) {
- throw new IllegalStateException("No longer accepting new enchantments (can only be done by the server implementation)");
- }
-
- byKey.put(enchantment.key, enchantment);
- byName.put(enchantment.getName(), enchantment);
- }
-
- /**
- * Checks if this is accepting Enchantment registrations.
- *
- * @return True if the server Implementation may add enchantments
- */
- public static boolean isAcceptingRegistrations() {
- return acceptingNew;
- }
-
- /**
- * Stops accepting any enchantment registrations
- */
- public static void stopAcceptingRegistrations() {
- acceptingNew = false;
- }
-
/**
* Gets the Enchantment at the specified key
*
@@ -363,7 +298,10 @@ public abstract class Enchantment implements Keyed {
@Contract("null -> null")
@Nullable
public static Enchantment getByKey(@Nullable NamespacedKey key) {
- return byKey.get(key);
+ if (key == null) {
+ return null;
+ }
+ return Registry.ENCHANTMENT.get(key);
}
/**
@@ -377,16 +315,50 @@ public abstract class Enchantment implements Keyed {
@Contract("null -> null")
@Nullable
public static Enchantment getByName(@Nullable String name) {
- return byName.get(name);
+ if (name == null) {
+ return null;
+ }
+ return getByKey(NamespacedKey.fromString(name));
}
/**
* Gets an array of all the registered {@link Enchantment}s
*
* @return Array of enchantments
+ * @deprecated use {@link Registry#iterator()}
*/
@NotNull
+ @Deprecated
public static Enchantment[] values() {
- return byName.values().toArray(new Enchantment[byName.size()]);
+ return Lists.newArrayList(Registry.ENCHANTMENT).toArray(new Enchantment[0]);
}
+
+ /**
+ * Registers an enchantment with the given ID and object.
+ *
+ * Generally not to be used from within a plugin.
+ *
+ * @param enchantment Enchantment to register
+ * @deprecated only for backwards compatibility, has no effect.
+ */
+ @Deprecated
+ public static void registerEnchantment(@NotNull Enchantment enchantment) {}
+
+ /**
+ * Checks if this is accepting Enchantment registrations.
+ *
+ * @return True if the server Implementation may add enchantments
+ * @deprecated only for backwards compatibility, has no effect.
+ */
+ @Deprecated
+ public static boolean isAcceptingRegistrations() {
+ return false;
+ }
+
+ /**
+ * Stops accepting any enchantment registrations
+ * @deprecated only for backwards compatibility, has no effect.
+ */
+ @Deprecated
+ public static void stopAcceptingRegistrations() {}
}
diff --git a/src/main/java/org/bukkit/enchantments/EnchantmentWrapper.java b/src/main/java/org/bukkit/enchantments/EnchantmentWrapper.java
index 9566e430..12834365 100644
--- a/src/main/java/org/bukkit/enchantments/EnchantmentWrapper.java
+++ b/src/main/java/org/bukkit/enchantments/EnchantmentWrapper.java
@@ -6,10 +6,11 @@ import org.jetbrains.annotations.NotNull;
/**
* A simple wrapper for ease of selecting {@link Enchantment}s
+ * @deprecated only for backwards compatibility, PotionEffectTypeWrapper is no longer used.
*/
+@Deprecated
public class EnchantmentWrapper extends Enchantment {
public EnchantmentWrapper(@NotNull String name) {
- super(NamespacedKey.minecraft(name));
}
/**
@@ -63,4 +64,10 @@ public class EnchantmentWrapper extends Enchantment {
public boolean conflictsWith(@NotNull Enchantment other) {
return getEnchantment().conflictsWith(other);
}
+
+ @NotNull
+ @Override
+ public NamespacedKey getKey() {
+ return getEnchantment().getKey();
+ }
}
diff --git a/src/main/java/org/bukkit/entity/EntityType.java b/src/main/java/org/bukkit/entity/EntityType.java
index 9be5371c..ddf93964 100644
--- a/src/main/java/org/bukkit/entity/EntityType.java
+++ b/src/main/java/org/bukkit/entity/EntityType.java
@@ -1,11 +1,13 @@
package org.bukkit.entity;
import com.google.common.base.Preconditions;
-import java.util.HashMap;
-import java.util.Map;
+import com.google.common.collect.BiMap;
+import com.google.common.collect.HashBiMap;
+import com.google.common.collect.Lists;
import org.bukkit.Keyed;
import org.bukkit.Location;
import org.bukkit.NamespacedKey;
+import org.bukkit.Registry;
import org.bukkit.World;
import org.bukkit.entity.minecart.CommandMinecart;
import org.bukkit.entity.minecart.ExplosiveMinecart;
@@ -16,11 +18,13 @@ import org.bukkit.entity.minecart.SpawnerMinecart;
import org.bukkit.entity.minecart.StorageMinecart;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffectType;
+import org.bukkit.util.OldEnum;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
-public enum EntityType implements Keyed {
+public abstract class EntityType extends OldEnum implements Keyed {
+ private static final BiMap ID_MAP = HashBiMap.create();
// These strings MUST match the strings in nms.EntityTypes and are case sensitive.
/**
@@ -29,311 +33,294 @@ public enum EntityType implements Keyed {
* Spawn with {@link World#dropItem(Location, ItemStack)} or {@link
* World#dropItemNaturally(Location, ItemStack)}
*/
- DROPPED_ITEM("item", Item.class, 1, false),
+ public static final EntityType ITEM = getEntityType("item", 1);
/**
* An experience orb.
*/
- EXPERIENCE_ORB("experience_orb", ExperienceOrb.class, 2),
+ public static final EntityType EXPERIENCE_ORB = getEntityType("experience_orb", 2);
/**
* @see AreaEffectCloud
*/
- AREA_EFFECT_CLOUD("area_effect_cloud", AreaEffectCloud.class, 3),
+ public static final EntityType AREA_EFFECT_CLOUD = getEntityType("area_effect_cloud", 3);
/**
* @see ElderGuardian
*/
- ELDER_GUARDIAN("elder_guardian", ElderGuardian.class, 4),
+ public static final EntityType ELDER_GUARDIAN = getEntityType("elder_guardian", 4);
/**
* @see WitherSkeleton
*/
- WITHER_SKELETON("wither_skeleton", WitherSkeleton.class, 5),
+ public static final EntityType WITHER_SKELETON = getEntityType("wither_skeleton", 5);
/**
* @see Stray
*/
- STRAY("stray", Stray.class, 6),
+ public static final EntityType STRAY = getEntityType("stray", 6);
/**
* A flying chicken egg.
*/
- EGG("egg", Egg.class, 7),
+ public static final EntityType EGG = getEntityType("egg", 7);
/**
* A leash attached to a fencepost.
*/
- LEASH_HITCH("leash_knot", LeashHitch.class, 8),
+ public static final EntityType LEASH_KNOT = getEntityType("leash_knot", 8);
/**
* A painting on a wall.
*/
- PAINTING("painting", Painting.class, 9),
+ public static final EntityType PAINTING = getEntityType("painting", 9);
/**
* An arrow projectile; may get stuck in the ground.
*/
- ARROW("arrow", Arrow.class, 10),
+ public static final EntityType ARROW = getEntityType("arrow", 10);
/**
* A flying snowball.
*/
- SNOWBALL("snowball", Snowball.class, 11),
+ public static final EntityType SNOWBALL = getEntityType("snowball", 11);
/**
* A flying large fireball, as thrown by a Ghast for example.
*/
- FIREBALL("fireball", LargeFireball.class, 12),
+ public static final EntityType FIREBALL = getEntityType("fireball", 12);
/**
* A flying small fireball, such as thrown by a Blaze or player.
*/
- SMALL_FIREBALL("small_fireball", SmallFireball.class, 13),
+ public static final EntityType SMALL_FIREBALL = getEntityType("small_fireball", 13);
/**
* A flying ender pearl.
*/
- ENDER_PEARL("ender_pearl", EnderPearl.class, 14),
+ public static final EntityType ENDER_PEARL = getEntityType("ender_pearl", 14);
/**
* An ender eye signal.
*/
- ENDER_SIGNAL("eye_of_ender", EnderSignal.class, 15),
+ public static final EntityType EYE_OF_ENDER = getEntityType("eye_of_ender", 15);
/**
* A flying splash potion.
*/
- SPLASH_POTION("potion", ThrownPotion.class, 16, false),
+ public static final EntityType POTION = getEntityType("potion", 16);
/**
* A flying experience bottle.
*/
- THROWN_EXP_BOTTLE("experience_bottle", ThrownExpBottle.class, 17),
+ public static final EntityType EXPERIENCE_BOTTLE = getEntityType("experience_bottle", 17);
/**
* An item frame on a wall.
*/
- ITEM_FRAME("item_frame", ItemFrame.class, 18),
+ public static final EntityType ITEM_FRAME = getEntityType("item_frame", 18);
/**
* A flying wither skull projectile.
*/
- WITHER_SKULL("wither_skull", WitherSkull.class, 19),
+ public static final EntityType WITHER_SKULL = getEntityType("wither_skull", 19);
/**
* Primed TNT that is about to explode.
*/
- PRIMED_TNT("tnt", TNTPrimed.class, 20),
+ public static final EntityType TNT = getEntityType("tnt", 20);
/**
* A block that is going to or is about to fall.
*/
- FALLING_BLOCK("falling_block", FallingBlock.class, 21, false),
+ public static final EntityType FALLING_BLOCK = getEntityType("falling_block", 21);
/**
* Internal representation of a Firework once it has been launched.
*/
- FIREWORK("firework_rocket", Firework.class, 22, false),
+ public static final EntityType FIREWORK_ROCKET = getEntityType("firework_rocket", 22);
/**
* @see Husk
*/
- HUSK("husk", Husk.class, 23),
+ public static final EntityType HUSK = getEntityType("husk", 23);
/**
* Like {@link #ARROW} but causes the {@link PotionEffectType#GLOWING} effect on all team members.
*/
- SPECTRAL_ARROW("spectral_arrow", SpectralArrow.class, 24),
+ public static final EntityType SPECTRAL_ARROW = getEntityType("spectral_arrow", 24);
/**
* Bullet fired by {@link #SHULKER}.
*/
- SHULKER_BULLET("shulker_bullet", ShulkerBullet.class, 25),
+ public static final EntityType SHULKER_BULLET = getEntityType("shulker_bullet", 25);
/**
* Like {@link #FIREBALL} but with added effects.
*/
- DRAGON_FIREBALL("dragon_fireball", DragonFireball.class, 26),
+ public static final EntityType DRAGON_FIREBALL = getEntityType("dragon_fireball", 26);
/**
* @see ZombieVillager
*/
- ZOMBIE_VILLAGER("zombie_villager", ZombieVillager.class, 27),
+ public static final EntityType ZOMBIE_VILLAGER = getEntityType("zombie_villager", 27);
/**
* @see SkeletonHorse
*/
- SKELETON_HORSE("skeleton_horse", SkeletonHorse.class, 28),
+ public static final EntityType SKELETON_HORSE = getEntityType("skeleton_horse", 28);
/**
* @see ZombieHorse
*/
- ZOMBIE_HORSE("zombie_horse", ZombieHorse.class, 29),
+ public static final EntityType ZOMBIE_HORSE = getEntityType("zombie_horse", 29);
/**
* Mechanical entity with an inventory for placing weapons / armor into.
*/
- ARMOR_STAND("armor_stand", ArmorStand.class, 30),
+ public static final EntityType ARMOR_STAND = getEntityType("armor_stand", 30);
/**
* @see Donkey
*/
- DONKEY("donkey", Donkey.class, 31),
+ public static final EntityType DONKEY = getEntityType("donkey", 31);
/**
* @see Mule
*/
- MULE("mule", Mule.class, 32),
+ public static final EntityType MULE = getEntityType("mule", 32);
/**
* @see EvokerFangs
*/
- EVOKER_FANGS("evoker_fangs", EvokerFangs.class, 33),
+ public static final EntityType EVOKER_FANGS = getEntityType("evoker_fangs", 33);
/**
* @see Evoker
*/
- EVOKER("evoker", Evoker.class, 34),
+ public static final EntityType EVOKER = getEntityType("evoker", 34);
/**
* @see Vex
*/
- VEX("vex", Vex.class, 35),
+ public static final EntityType VEX = getEntityType("vex", 35);
/**
* @see Vindicator
*/
- VINDICATOR("vindicator", Vindicator.class, 36),
+ public static final EntityType VINDICATOR = getEntityType("vindicator", 36);
/**
* @see Illusioner
*/
- ILLUSIONER("illusioner", Illusioner.class, 37),
+ public static final EntityType ILLUSIONER = getEntityType("illusioner", 37);
/**
* @see CommandMinecart
*/
- MINECART_COMMAND("command_block_minecart", CommandMinecart.class, 40),
+ public static final EntityType COMMAND_BLOCK_MINECART = getEntityType("command_block_minecart", 40);
/**
* A placed boat.
*/
- BOAT("boat", Boat.class, 41),
+ public static final EntityType BOAT = getEntityType("boat", 41);
/**
* @see RideableMinecart
*/
- MINECART("minecart", RideableMinecart.class, 42),
+ public static final EntityType MINECART = getEntityType("minecart", 42);
/**
* @see StorageMinecart
*/
- MINECART_CHEST("chest_minecart", StorageMinecart.class, 43),
+ public static final EntityType CHEST_MINECART = getEntityType("chest_minecart", 43);
/**
* @see PoweredMinecart
*/
- MINECART_FURNACE("furnace_minecart", PoweredMinecart.class, 44),
+ public static final EntityType FURNACE_MINECART = getEntityType("furnace_minecart", 44);
/**
* @see ExplosiveMinecart
*/
- MINECART_TNT("tnt_minecart", ExplosiveMinecart.class, 45),
+ public static final EntityType TNT_MINECART = getEntityType("tnt_minecart", 45);
/**
* @see HopperMinecart
*/
- MINECART_HOPPER("hopper_minecart", HopperMinecart.class, 46),
+ public static final EntityType HOPPER_MINECART = getEntityType("hopper_minecart", 46);
/**
* @see SpawnerMinecart
*/
- MINECART_MOB_SPAWNER("spawner_minecart", SpawnerMinecart.class, 47),
- CREEPER("creeper", Creeper.class, 50),
- SKELETON("skeleton", Skeleton.class, 51),
- SPIDER("spider", Spider.class, 52),
- GIANT("giant", Giant.class, 53),
- ZOMBIE("zombie", Zombie.class, 54),
- SLIME("slime", Slime.class, 55),
- GHAST("ghast", Ghast.class, 56),
- ZOMBIFIED_PIGLIN("zombified_piglin", PigZombie.class, 57),
- ENDERMAN("enderman", Enderman.class, 58),
- CAVE_SPIDER("cave_spider", CaveSpider.class, 59),
- SILVERFISH("silverfish", Silverfish.class, 60),
- BLAZE("blaze", Blaze.class, 61),
- MAGMA_CUBE("magma_cube", MagmaCube.class, 62),
- ENDER_DRAGON("ender_dragon", EnderDragon.class, 63),
- WITHER("wither", Wither.class, 64),
- BAT("bat", Bat.class, 65),
- WITCH("witch", Witch.class, 66),
- ENDERMITE("endermite", Endermite.class, 67),
- GUARDIAN("guardian", Guardian.class, 68),
- SHULKER("shulker", Shulker.class, 69),
- PIG("pig", Pig.class, 90),
- SHEEP("sheep", Sheep.class, 91),
- COW("cow", Cow.class, 92),
- CHICKEN("chicken", Chicken.class, 93),
- SQUID("squid", Squid.class, 94),
- WOLF("wolf", Wolf.class, 95),
- MUSHROOM_COW("mooshroom", MushroomCow.class, 96),
- SNOWMAN("snow_golem", Snowman.class, 97),
- OCELOT("ocelot", Ocelot.class, 98),
- IRON_GOLEM("iron_golem", IronGolem.class, 99),
- HORSE("horse", Horse.class, 100),
- RABBIT("rabbit", Rabbit.class, 101),
- POLAR_BEAR("polar_bear", PolarBear.class, 102),
- LLAMA("llama", Llama.class, 103),
- LLAMA_SPIT("llama_spit", LlamaSpit.class, 104),
- PARROT("parrot", Parrot.class, 105),
- VILLAGER("villager", Villager.class, 120),
- ENDER_CRYSTAL("end_crystal", EnderCrystal.class, 200),
- TURTLE("turtle", Turtle.class, -1),
- PHANTOM("phantom", Phantom.class, -1),
- TRIDENT("trident", Trident.class, -1),
- COD("cod", Cod.class, -1),
- SALMON("salmon", Salmon.class, -1),
- PUFFERFISH("pufferfish", PufferFish.class, -1),
- TROPICAL_FISH("tropical_fish", TropicalFish.class, -1),
- DROWNED("drowned", Drowned.class, -1),
- DOLPHIN("dolphin", Dolphin.class, -1),
- CAT("cat", Cat.class, -1),
- PANDA("panda", Panda.class, -1),
- PILLAGER("pillager", Pillager.class, -1),
- RAVAGER("ravager", Ravager.class, -1),
- TRADER_LLAMA("trader_llama", TraderLlama.class, -1),
- WANDERING_TRADER("wandering_trader", WanderingTrader.class, -1),
- FOX("fox", Fox.class, -1),
- BEE("bee", Bee.class, -1),
- HOGLIN("hoglin", Hoglin.class, -1),
- PIGLIN("piglin", Piglin.class, -1),
- STRIDER("strider", Strider.class, -1),
- ZOGLIN("zoglin", Zoglin.class, -1),
- PIGLIN_BRUTE("piglin_brute", PiglinBrute.class, -1),
- AXOLOTL("axolotl", Axolotl.class, -1),
- GLOW_ITEM_FRAME("glow_item_frame", GlowItemFrame.class, -1),
- GLOW_SQUID("glow_squid", GlowSquid.class, -1),
- GOAT("goat", Goat.class, -1),
- MARKER("marker", Marker.class, -1),
+ public static final EntityType SPAWNER_MINECART = getEntityType("spawner_minecart", 47);
+ public static final EntityType CREEPER = getEntityType("creeper", 50);
+ public static final EntityType SKELETON = getEntityType("skeleton", 51);
+ public static final EntityType SPIDER = getEntityType("spider", 52);
+ public static final EntityType GIANT = getEntityType("giant", 53);
+ public static final EntityType ZOMBIE = getEntityType("zombie", 54);
+ public static final EntityType SLIME = getEntityType("slime", 55);
+ public static final EntityType GHAST = getEntityType("ghast", 56);
+ public static final EntityType ZOMBIFIED_PIGLIN = getEntityType("zombified_piglin", 57);
+ public static final EntityType ENDERMAN = getEntityType("enderman", 58);
+ public static final EntityType CAVE_SPIDER = getEntityType("cave_spider", 59);
+ public static final EntityType SILVERFISH = getEntityType("silverfish", 60);
+ public static final EntityType BLAZE = getEntityType("blaze", 61);
+ public static final EntityType MAGMA_CUBE = getEntityType("magma_cube", 62);
+ public static final EntityType ENDER_DRAGON = getEntityType("ender_dragon", 63);
+ public static final EntityType WITHER = getEntityType("wither", 64);
+ public static final EntityType BAT = getEntityType("bat", 65);
+ public static final EntityType WITCH = getEntityType("witch", 66);
+ public static final EntityType ENDERMITE = getEntityType("endermite", 67);
+ public static final EntityType GUARDIAN = getEntityType("guardian", 68);
+ public static final EntityType SHULKER = getEntityType("shulker", 69);
+ public static final EntityType PIG = getEntityType("pig", 90);
+ public static final EntityType SHEEP = getEntityType("sheep", 91);
+ public static final EntityType COW = getEntityType("cow", 92);
+ public static final EntityType CHICKEN = getEntityType("chicken", 93);
+ public static final EntityType SQUID = getEntityType("squid", 94);
+ public static final EntityType WOLF = getEntityType("wolf", 95);
+ public static final EntityType MOOSHROOM = getEntityType("mooshroom", 96);
+ public static final EntityType SNOW_GOLEM = getEntityType("snow_golem", 97);
+ public static final EntityType OCELOT = getEntityType("ocelot", 98);
+ public static final EntityType IRON_GOLEM = getEntityType("iron_golem", 99);
+ public static final EntityType HORSE = getEntityType("horse", 100);
+ public static final EntityType RABBIT = getEntityType("rabbit", 101);
+ public static final EntityType POLAR_BEAR = getEntityType("polar_bear", 102);
+ public static final EntityType LLAMA = getEntityType("llama", 103);
+ public static final EntityType LLAMA_SPIT = getEntityType("llama_spit", 104);
+ public static final EntityType PARROT = getEntityType("parrot", 105);
+ public static final EntityType VILLAGER = getEntityType("villager", 120);
+ public static final EntityType END_CRYSTAL = getEntityType("end_crystal", 200);
+ public static final EntityType TURTLE = getEntityType("turtle");
+ public static final EntityType PHANTOM = getEntityType("phantom");
+ public static final EntityType TRIDENT = getEntityType("trident");
+ public static final EntityType COD = getEntityType("cod");
+ public static final EntityType SALMON = getEntityType("salmon");
+ public static final EntityType PUFFERFISH = getEntityType("pufferfish");
+ public static final EntityType TROPICAL_FISH = getEntityType("tropical_fish");
+ public static final EntityType DROWNED = getEntityType("drowned");
+ public static final EntityType DOLPHIN = getEntityType("dolphin");
+ public static final EntityType CAT = getEntityType("cat");
+ public static final EntityType PANDA = getEntityType("panda");
+ public static final EntityType PILLAGER = getEntityType("pillager");
+ public static final EntityType RAVAGER = getEntityType("ravager");
+ public static final EntityType TRADER_LLAMA = getEntityType("trader_llama");
+ public static final EntityType WANDERING_TRADER = getEntityType("wandering_trader");
+ public static final EntityType FOX = getEntityType("fox");
+ public static final EntityType BEE = getEntityType("bee");
+ public static final EntityType HOGLIN = getEntityType("hoglin");
+ public static final EntityType PIGLIN = getEntityType("piglin");
+ public static final EntityType STRIDER = getEntityType("strider");
+ public static final EntityType ZOGLIN = getEntityType("zoglin");
+ public static final EntityType PIGLIN_BRUTE = getEntityType("piglin_brute");
+ public static final EntityType AXOLOTL = getEntityType("axolotl");
+ public static final EntityType GLOW_ITEM_FRAME = getEntityType("glow_item_frame");
+ public static final EntityType GLOW_SQUID = getEntityType("glow_squid");
+ public static final EntityType GOAT = getEntityType("goat");
+ public static final EntityType MARKER = getEntityType("marker");
/**
* A fishing line and bobber.
*/
- FISHING_HOOK("fishing_bobber", FishHook.class, -1, false),
+ public static final EntityType FISHING_BOBBER = getEntityType("fishing_bobber");
/**
* A bolt of lightning.
*
* Spawn with {@link World#strikeLightning(Location)}.
*/
- LIGHTNING("lightning_bolt", LightningStrike.class, -1, false),
- PLAYER("player", Player.class, -1, false),
+ public static final EntityType LIGHTNING_BOLT = getEntityType("lightning_bolt");
+ public static final EntityType PLAYER = getEntityType("player");
/**
* An unknown entity without an Entity Class
+ * @deprecated only for backwards compatibility, unknown is no longer returned.
*/
- UNKNOWN(null, null, -1, false);
+ @Deprecated
+ public static final EntityType UNKNOWN = getEntityType("unknown");
- private final String name;
- private final Class extends Entity> clazz;
- private final short typeId;
- private final boolean independent, living;
- private final NamespacedKey key;
+ private static EntityType getEntityType(@NotNull String key) {
+ return getEntityType(key, -1);
+ }
- private static final Map NAME_MAP = new HashMap();
- private static final Map ID_MAP = new HashMap();
-
- static {
- for (EntityType type : values()) {
- if (type.name != null) {
- NAME_MAP.put(type.name.toLowerCase(java.util.Locale.ENGLISH), type);
- }
- if (type.typeId > 0) {
- ID_MAP.put(type.typeId, type);
- }
+ private static EntityType getEntityType(@NotNull String key, int typeId) {
+ NamespacedKey namespacedKey = NamespacedKey.minecraft(key);
+ EntityType entityType = Registry.ENTITY_TYPE.get(namespacedKey);
+ Preconditions.checkNotNull(entityType, "No EntityType found for %s. This is a bug.", namespacedKey);
+ if (typeId > 0) {
+ ID_MAP.put((short) typeId, entityType);
}
-
- // Add legacy names
- NAME_MAP.put("xp_orb", EXPERIENCE_ORB);
- NAME_MAP.put("eye_of_ender_signal", ENDER_SIGNAL);
- NAME_MAP.put("xp_bottle", THROWN_EXP_BOTTLE);
- NAME_MAP.put("fireworks_rocket", FIREWORK);
- NAME_MAP.put("evocation_fangs", EVOKER_FANGS);
- NAME_MAP.put("evocation_illager", EVOKER);
- NAME_MAP.put("vindication_illager", VINDICATOR);
- NAME_MAP.put("illusion_illager", ILLUSIONER);
- NAME_MAP.put("commandblock_minecart", MINECART_COMMAND);
- NAME_MAP.put("snowman", SNOWMAN);
- NAME_MAP.put("villager_golem", IRON_GOLEM);
- NAME_MAP.put("ender_crystal", ENDER_CRYSTAL);
- NAME_MAP.put("zombie_pigman", ZOMBIFIED_PIGLIN);
+ return entityType;
}
- private EntityType(/*@Nullable*/ String name, /*@Nullable*/ Class extends Entity> clazz, int typeId) {
- this(name, clazz, typeId, true);
- }
+ /**
+ * Some entities cannot be spawned using {@link
+ * World#spawnEntity(Location, EntityType)} or {@link
+ * World#spawn(Location, Class)}, usually because they require additional
+ * information in order to spawn.
+ *
+ * @return False if the entity type cannot be spawned
+ */
+ public abstract boolean isSpawnable();
- private EntityType(/*@Nullable*/ String name, /*@Nullable*/ Class extends Entity> clazz, int typeId, boolean independent) {
- this.name = name;
- this.clazz = clazz;
- this.typeId = (short) typeId;
- this.independent = independent;
- this.living = clazz != null && LivingEntity.class.isAssignableFrom(clazz);
- this.key = (name == null) ? null : NamespacedKey.minecraft(name);
- }
+ public abstract boolean isAlive();
+
+ @Nullable
+ public abstract Class extends Entity> getEntityClass();
/**
* Gets the entity type name.
@@ -343,22 +330,7 @@ public enum EntityType implements Keyed {
*/
@Deprecated
@Nullable
- public String getName() {
- return name;
- }
-
- @NotNull
- @Override
- public NamespacedKey getKey() {
- Preconditions.checkArgument(key != null, "EntityType doesn't have key! Is it UNKNOWN?");
-
- return key;
- }
-
- @Nullable
- public Class extends Entity> getEntityClass() {
- return clazz;
- }
+ public abstract String getName();
/**
* Gets the entity type id.
@@ -368,7 +340,7 @@ public enum EntityType implements Keyed {
*/
@Deprecated
public short getTypeId() {
- return typeId;
+ return ID_MAP.inverse().getOrDefault(this, (short) -1);
}
/**
@@ -385,7 +357,7 @@ public enum EntityType implements Keyed {
if (name == null) {
return null;
}
- return NAME_MAP.get(name.toLowerCase(java.util.Locale.ENGLISH));
+ return Registry.ENTITY_TYPE.get(NamespacedKey.fromString(name.toLowerCase(java.util.Locale.ENGLISH)));
}
/**
@@ -405,18 +377,25 @@ public enum EntityType implements Keyed {
}
/**
- * Some entities cannot be spawned using {@link
- * World#spawnEntity(Location, EntityType)} or {@link
- * World#spawn(Location, Class)}, usually because they require additional
- * information in order to spawn.
- *
- * @return False if the entity type cannot be spawned
+ * @param name of the entityType.
+ * @return the entityType with the given name.
+ * @deprecated only for backwards compatibility, use {@link Registry#get(NamespacedKey)} instead.
*/
- public boolean isSpawnable() {
- return independent;
+ @NotNull
+ @Deprecated
+ public static EntityType valueOf(@NotNull String name) {
+ EntityType entityType = Registry.ENTITY_TYPE.get(NamespacedKey.fromString(name.toLowerCase()));
+ Preconditions.checkArgument(entityType != null, "No EntityType found with the name %s", name);
+ return entityType;
}
- public boolean isAlive() {
- return living;
+ /**
+ * @return an array of all known EntityTypes.
+ * @deprecated use {@link Registry#iterator()}.
+ */
+ @NotNull
+ @Deprecated
+ public static EntityType[] values() {
+ return Lists.newArrayList(Registry.ENTITY_TYPE).toArray(new EntityType[0]);
}
}
diff --git a/src/main/java/org/bukkit/entity/Villager.java b/src/main/java/org/bukkit/entity/Villager.java
index 6545e568..49149ce4 100644
--- a/src/main/java/org/bukkit/entity/Villager.java
+++ b/src/main/java/org/bukkit/entity/Villager.java
@@ -1,9 +1,12 @@
package org.bukkit.entity;
-import java.util.Locale;
+import com.google.common.base.Preconditions;
+import com.google.common.collect.Lists;
import org.bukkit.Keyed;
import org.bukkit.Location;
import org.bukkit.NamespacedKey;
+import org.bukkit.Registry;
+import org.bukkit.util.OldEnum;
import org.jetbrains.annotations.NotNull;
/**
@@ -105,25 +108,45 @@ public interface Villager extends AbstractVillager {
* Represents Villager type, usually corresponding to what biome they spawn
* in.
*/
- public enum Type implements Keyed {
+ public abstract class Type extends OldEnum implements Keyed {
- DESERT,
- JUNGLE,
- PLAINS,
- SAVANNA,
- SNOW,
- SWAMP,
- TAIGA;
- private final NamespacedKey key;
-
- private Type() {
- this.key = NamespacedKey.minecraft(this.name().toLowerCase(Locale.ROOT));
- }
+ public static final Type DESERT = getType("desert");
+ public static final Type JUNGLE = getType("jungle");
+ public static final Type PLAINS = getType("plains");
+ public static final Type SAVANNA = getType("savanna");
+ public static final Type SNOW = getType("snow");
+ public static final Type SWAMP = getType("swamp");
+ public static final Type TAIGA = getType("taiga");
@NotNull
- @Override
- public NamespacedKey getKey() {
- return key;
+ private static Type getType(@NotNull String key) {
+ NamespacedKey namespacedKey = NamespacedKey.minecraft(key);
+ Type type = Registry.VILLAGER_TYPE.get(namespacedKey);
+ Preconditions.checkNotNull(type, "No villager type found for %s. This is a bug.", namespacedKey);
+ return type;
+ }
+
+ /**
+ * @param name of the villager type.
+ * @return the villager type with the given name.
+ * @deprecated only for backwards compatibility, use {@link Registry#get(NamespacedKey)} instead.
+ */
+ @NotNull
+ @Deprecated
+ public static Type valueOf(@NotNull String name) {
+ Type type = Registry.VILLAGER_TYPE.get(NamespacedKey.fromString(name.toLowerCase()));
+ Preconditions.checkArgument(type != null, "No villager type found with the name %s", name);
+ return type;
+ }
+
+ /**
+ * @return an array of all known villager types.
+ * @deprecated use {@link Registry#iterator()}.
+ */
+ @NotNull
+ @Deprecated
+ public static Type[] values() {
+ return Lists.newArrayList(Registry.VILLAGER_TYPE).toArray(new Type[0]);
}
}
@@ -131,88 +154,108 @@ public interface Villager extends AbstractVillager {
* Represents the various different Villager professions there may be.
* Villagers have different trading options depending on their profession,
*/
- public enum Profession implements Keyed {
- NONE,
+ public abstract class Profession extends OldEnum implements Keyed {
+ public static final Profession NONE = getProfession("none");
/**
* Armorer profession. Wears a black apron. Armorers primarily trade for
* iron armor, chainmail armor, and sometimes diamond armor.
*/
- ARMORER,
+ public static final Profession ARMORER = getProfession("armorer");
/**
* Butcher profession. Wears a white apron. Butchers primarily trade for
* raw and cooked food.
*/
- BUTCHER,
+ public static final Profession BUTCHER = getProfession("butcher");
/**
* Cartographer profession. Wears a white robe. Cartographers primarily
* trade for explorer maps and some paper.
*/
- CARTOGRAPHER,
+ public static final Profession CARTOGRAPHER = getProfession("cartographer");
/**
* Cleric profession. Wears a purple robe. Clerics primarily trade for
* rotten flesh, gold ingot, redstone, lapis, ender pearl, glowstone,
* and bottle o' enchanting.
*/
- CLERIC,
+ public static final Profession CLERIC = getProfession("cleric");
/**
* Farmer profession. Wears a brown robe. Farmers primarily trade for
* food-related items.
*/
- FARMER,
+ public static final Profession FARMER = getProfession("farmer");
/**
* Fisherman profession. Wears a brown robe. Fisherman primarily trade
* for fish, as well as possibly selling string and/or coal.
*/
- FISHERMAN,
+ public static final Profession FISHERMAN = getProfession("fisherman");
/**
* Fletcher profession. Wears a brown robe. Fletchers primarily trade
* for string, bows, and arrows.
*/
- FLETCHER,
+ public static final Profession FLETCHER = getProfession("fletcher");
/**
* Leatherworker profession. Wears a white apron. Leatherworkers
* primarily trade for leather, and leather armor, as well as saddles.
*/
- LEATHERWORKER,
+ public static final Profession LEATHERWORKER = getProfession("leatherworker");
/**
* Librarian profession. Wears a white robe. Librarians primarily trade
* for paper, books, and enchanted books.
*/
- LIBRARIAN,
+ public static final Profession LIBRARIAN = getProfession("librarian");
/**
* Mason profession.
*/
- MASON,
+ public static final Profession MASON = getProfession("mason");
/**
* Nitwit profession. Wears a green apron, cannot trade. Nitwit
* villagers do not do anything. They do not have any trades by default.
*/
- NITWIT,
+ public static final Profession NITWIT = getProfession("nitwit");
/**
* Sheperd profession. Wears a brown robe. Shepherds primarily trade for
* wool items, and shears.
*/
- SHEPHERD,
+ public static final Profession SHEPHERD = getProfession("shepherd");
/**
* Toolsmith profession. Wears a black apron. Tool smiths primarily
* trade for iron and diamond tools.
*/
- TOOLSMITH,
+ public static final Profession TOOLSMITH = getProfession("toolsmith");
/**
* Weaponsmith profession. Wears a black apron. Weapon smiths primarily
* trade for iron and diamond weapons, sometimes enchanted.
*/
- WEAPONSMITH;
- private final NamespacedKey key;
-
- private Profession() {
- this.key = NamespacedKey.minecraft(this.name().toLowerCase(Locale.ROOT));
- }
+ public static final Profession WEAPONSMITH = getProfession("weaponsmith");
@NotNull
- @Override
- public NamespacedKey getKey() {
- return key;
+ private static Profession getProfession(@NotNull String key) {
+ NamespacedKey namespacedKey = NamespacedKey.minecraft(key);
+ Profession profession = Registry.VILLAGER_PROFESSION.get(namespacedKey);
+ Preconditions.checkNotNull(profession, "No villager profession found for %s. This is a bug.", namespacedKey);
+ return profession;
+ }
+
+ /**
+ * @param name of the villager profession.
+ * @return the villager profession with the given name.
+ * @deprecated only for backwards compatibility, use {@link Registry#get(NamespacedKey)} instead.
+ */
+ @NotNull
+ @Deprecated
+ public static Profession valueOf(@NotNull String name) {
+ Profession profession = Registry.VILLAGER_PROFESSION.get(NamespacedKey.fromString(name.toLowerCase()));
+ Preconditions.checkArgument(profession != null, "No villager profession found with the name %s", name);
+ return profession;
+ }
+
+ /**
+ * @return an array of all known villager professions.
+ * @deprecated use {@link Registry#iterator()}.
+ */
+ @NotNull
+ @Deprecated
+ public static Profession[] values() {
+ return Lists.newArrayList(Registry.VILLAGER_PROFESSION).toArray(new Profession[0]);
}
}
}
diff --git a/src/main/java/org/bukkit/potion/PotionEffectType.java b/src/main/java/org/bukkit/potion/PotionEffectType.java
index 3c005c50..00f71139 100644
--- a/src/main/java/org/bukkit/potion/PotionEffectType.java
+++ b/src/main/java/org/bukkit/potion/PotionEffectType.java
@@ -1,183 +1,193 @@
package org.bukkit.potion;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
+import com.google.common.base.Preconditions;
+import com.google.common.collect.BiMap;
+import com.google.common.collect.HashBiMap;
+import com.google.common.collect.Lists;
import org.apache.commons.lang.Validate;
import org.bukkit.Color;
+import org.bukkit.Keyed;
+import org.bukkit.NamespacedKey;
+import org.bukkit.Registry;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* Represents a type of potion and its effect on an entity.
*/
-public abstract class PotionEffectType {
+public abstract class PotionEffectType implements Keyed {
+ protected static final BiMap ID_MAP = HashBiMap.create();
+
/**
* Increases movement speed.
*/
- public static final PotionEffectType SPEED = new PotionEffectTypeWrapper(1);
+ public static final PotionEffectType SPEED = getPotionEffectType("speed", 1);
/**
* Decreases movement speed.
*/
- public static final PotionEffectType SLOW = new PotionEffectTypeWrapper(2);
+ public static final PotionEffectType SLOWNESS = getPotionEffectType("slowness", 2);
/**
* Increases dig speed.
*/
- public static final PotionEffectType FAST_DIGGING = new PotionEffectTypeWrapper(3);
+ public static final PotionEffectType HASTE = getPotionEffectType("haste", 3);
/**
* Decreases dig speed.
*/
- public static final PotionEffectType SLOW_DIGGING = new PotionEffectTypeWrapper(4);
+ public static final PotionEffectType MINING_FATIGUE = getPotionEffectType("mining_fatigue", 4);
/**
* Increases damage dealt.
*/
- public static final PotionEffectType INCREASE_DAMAGE = new PotionEffectTypeWrapper(5);
+ public static final PotionEffectType STRENGTH = getPotionEffectType("strength", 5);
/**
* Heals an entity.
*/
- public static final PotionEffectType HEAL = new PotionEffectTypeWrapper(6);
+ public static final PotionEffectType INSTANT_HEALTH = getPotionEffectType("instant_health", 6);
/**
* Hurts an entity.
*/
- public static final PotionEffectType HARM = new PotionEffectTypeWrapper(7);
+ public static final PotionEffectType INSTANT_DAMAGE = getPotionEffectType("instant_damage", 7);
/**
* Increases jump height.
*/
- public static final PotionEffectType JUMP = new PotionEffectTypeWrapper(8);
+ public static final PotionEffectType JUMP_BOOST = getPotionEffectType("jump_boost", 8);
/**
* Warps vision on the client.
*/
- public static final PotionEffectType CONFUSION = new PotionEffectTypeWrapper(9);
+ public static final PotionEffectType NAUSEA = getPotionEffectType("nausea", 9);
/**
* Regenerates health.
*/
- public static final PotionEffectType REGENERATION = new PotionEffectTypeWrapper(10);
+ public static final PotionEffectType REGENERATION = getPotionEffectType("regeneration", 10);
/**
* Decreases damage dealt to an entity.
*/
- public static final PotionEffectType DAMAGE_RESISTANCE = new PotionEffectTypeWrapper(11);
+ public static final PotionEffectType RESISTANCE = getPotionEffectType("resistance", 11);
/**
* Stops fire damage.
*/
- public static final PotionEffectType FIRE_RESISTANCE = new PotionEffectTypeWrapper(12);
+ public static final PotionEffectType FIRE_RESISTANCE = getPotionEffectType("fire_resistance", 12);
/**
* Allows breathing underwater.
*/
- public static final PotionEffectType WATER_BREATHING = new PotionEffectTypeWrapper(13);
+ public static final PotionEffectType WATER_BREATHING = getPotionEffectType("water_breathing", 13);
/**
* Grants invisibility.
*/
- public static final PotionEffectType INVISIBILITY = new PotionEffectTypeWrapper(14);
+ public static final PotionEffectType INVISIBILITY = getPotionEffectType("invisibility", 14);
/**
* Blinds an entity.
*/
- public static final PotionEffectType BLINDNESS = new PotionEffectTypeWrapper(15);
+ public static final PotionEffectType BLINDNESS = getPotionEffectType("blindness", 15);
/**
* Allows an entity to see in the dark.
*/
- public static final PotionEffectType NIGHT_VISION = new PotionEffectTypeWrapper(16);
+ public static final PotionEffectType NIGHT_VISION = getPotionEffectType("night_vision", 16);
/**
* Increases hunger.
*/
- public static final PotionEffectType HUNGER = new PotionEffectTypeWrapper(17);
+ public static final PotionEffectType HUNGER = getPotionEffectType("hunger", 17);
/**
* Decreases damage dealt by an entity.
*/
- public static final PotionEffectType WEAKNESS = new PotionEffectTypeWrapper(18);
+ public static final PotionEffectType WEAKNESS = getPotionEffectType("weakness", 18);
/**
* Deals damage to an entity over time.
*/
- public static final PotionEffectType POISON = new PotionEffectTypeWrapper(19);
+ public static final PotionEffectType POISON = getPotionEffectType("poison", 19);
/**
* Deals damage to an entity over time and gives the health to the
* shooter.
*/
- public static final PotionEffectType WITHER = new PotionEffectTypeWrapper(20);
+ public static final PotionEffectType WITHER = getPotionEffectType("wither", 20);
/**
* Increases the maximum health of an entity.
*/
- public static final PotionEffectType HEALTH_BOOST = new PotionEffectTypeWrapper(21);
+ public static final PotionEffectType HEALTH_BOOST = getPotionEffectType("health_boost", 21);
/**
* Increases the maximum health of an entity with health that cannot be
* regenerated, but is refilled every 30 seconds.
*/
- public static final PotionEffectType ABSORPTION = new PotionEffectTypeWrapper(22);
+ public static final PotionEffectType ABSORPTION = getPotionEffectType("absorption", 22);
/**
* Increases the food level of an entity each tick.
*/
- public static final PotionEffectType SATURATION = new PotionEffectTypeWrapper(23);
+ public static final PotionEffectType SATURATION = getPotionEffectType("saturation", 23);
/**
* Outlines the entity so that it can be seen from afar.
*/
- public static final PotionEffectType GLOWING = new PotionEffectTypeWrapper(24);
+ public static final PotionEffectType GLOWING = getPotionEffectType("glowing", 24);
/**
* Causes the entity to float into the air.
*/
- public static final PotionEffectType LEVITATION = new PotionEffectTypeWrapper(25);
+ public static final PotionEffectType LEVITATION = getPotionEffectType("levitation", 25);
/**
* Loot table luck.
*/
- public static final PotionEffectType LUCK = new PotionEffectTypeWrapper(26);
+ public static final PotionEffectType LUCK = getPotionEffectType("luck", 26);
/**
* Loot table unluck.
*/
- public static final PotionEffectType UNLUCK = new PotionEffectTypeWrapper(27);
+ public static final PotionEffectType UNLUCK = getPotionEffectType("unluck", 27);
/**
* Slows entity fall rate.
*/
- public static final PotionEffectType SLOW_FALLING = new PotionEffectTypeWrapper(28);
+ public static final PotionEffectType SLOW_FALLING = getPotionEffectType("slow_falling", 28);
/**
* Effects granted by a nearby conduit. Includes enhanced underwater abilities.
*/
- public static final PotionEffectType CONDUIT_POWER = new PotionEffectTypeWrapper(29);
+ public static final PotionEffectType CONDUIT_POWER = getPotionEffectType("conduit_power", 29);
/**
* Squee'ek uh'k kk'kkkk squeek eee'eek.
*/
- public static final PotionEffectType DOLPHINS_GRACE = new PotionEffectTypeWrapper(30);
+ public static final PotionEffectType DOLPHINS_GRACE = getPotionEffectType("dolphins_grace", 30);
/**
* oof.
*/
- public static final PotionEffectType BAD_OMEN = new PotionEffectTypeWrapper(31);
+ public static final PotionEffectType BAD_OMEN = getPotionEffectType("bad_omen", 31);
/**
* \o/.
*/
- public static final PotionEffectType HERO_OF_THE_VILLAGE = new PotionEffectTypeWrapper(32);
+ public static final PotionEffectType HERO_OF_THE_VILLAGE = getPotionEffectType("hero_of_the_village", 32);
- private final int id;
-
- protected PotionEffectType(int id) {
- this.id = id;
+ private static PotionEffectType getPotionEffectType(@NotNull String key, int typeId) {
+ NamespacedKey namespacedKey = NamespacedKey.minecraft(key);
+ PotionEffectType potionEffectType = Registry.POTION_EFFECT_TYPE.get(namespacedKey);
+ Preconditions.checkNotNull(potionEffectType, "No PotionEffectType found for %s. This is a bug.", namespacedKey);
+ if (typeId > 0) {
+ ID_MAP.put(typeId, potionEffectType);
+ }
+ return potionEffectType;
}
/**
@@ -194,6 +204,21 @@ public abstract class PotionEffectType {
return new PotionEffect(this, isInstant() ? 1 : (int) (duration * getDurationModifier()), amplifier);
}
+ /**
+ * Returns whether the effect of this type happens once, immediately.
+ *
+ * @return whether this type is normally instant
+ */
+ public abstract boolean isInstant();
+
+ /**
+ * Returns the color of this effect type.
+ *
+ * @return the color
+ */
+ @NotNull
+ public abstract Color getColor();
+
/**
* Returns the duration modifier applied to effects of this type.
*
@@ -210,63 +235,18 @@ public abstract class PotionEffectType {
* @deprecated Magic value
*/
@Deprecated
- public int getId() {
- return id;
- }
+ public abstract int getId();
/**
* Returns the name of this effect type.
*
* @return The name of this effect type
+ * @deprecated only for backwards compatibility, use {@link #getKey()} instead.
*/
@NotNull
+ @Deprecated
public abstract String getName();
- /**
- * Returns whether the effect of this type happens once, immediately.
- *
- * @return whether this type is normally instant
- */
- public abstract boolean isInstant();
-
- /**
- * Returns the color of this effect type.
- *
- * @return the color
- */
- @NotNull
- public abstract Color getColor();
-
- @Override
- public boolean equals(Object obj) {
- if (obj == null) {
- return false;
- }
- if (!(obj instanceof PotionEffectType)) {
- return false;
- }
- final PotionEffectType other = (PotionEffectType) obj;
- if (this.id != other.id) {
- return false;
- }
- return true;
- }
-
- @Override
- public int hashCode() {
- return id;
- }
-
- @Override
- public String toString() {
- return "PotionEffectType[" + id + ", " + getName() + "]";
- }
-
- private static final PotionEffectType[] byId = new PotionEffectType[33];
- private static final Map byName = new HashMap();
- // will break on updates.
- private static boolean acceptingNew = true;
-
/**
* Gets the effect type specified by the unique id.
*
@@ -277,9 +257,7 @@ public abstract class PotionEffectType {
@Deprecated
@Nullable
public static PotionEffectType getById(int id) {
- if (id >= byId.length || id < 0)
- return null;
- return byId[id];
+ return ID_MAP.get(id);
}
/**
@@ -287,11 +265,23 @@ public abstract class PotionEffectType {
*
* @param name Name of PotionEffectType to fetch
* @return Resulting PotionEffectType, or null if not found.
+ * @deprecated only for backwards compatibility, use {@link Registry#get(NamespacedKey)} instead.
*/
@Nullable
+ @Deprecated
public static PotionEffectType getByName(@NotNull String name) {
Validate.notNull(name, "name cannot be null");
- return byName.get(name.toLowerCase(java.util.Locale.ENGLISH));
+ return Registry.POTION_EFFECT_TYPE.get(NamespacedKey.fromString(name.toLowerCase(java.util.Locale.ENGLISH)));
+ }
+
+ /**
+ * @return an array of all known PotionEffectTypes.
+ * @deprecated use {@link Registry#iterator()}.
+ */
+ @NotNull
+ @Deprecated
+ public static PotionEffectType[] values() {
+ return Lists.newArrayList(Registry.POTION_EFFECT_TYPE).toArray(new PotionEffectType[0]);
}
/**
@@ -300,34 +290,15 @@ public abstract class PotionEffectType {
* Generally not to be used from within a plugin.
*
* @param type PotionType to register
+ * @deprecated only for backwards compatibility, has no effect.
*/
- public static void registerPotionEffectType(@NotNull PotionEffectType type) {
- if (byId[type.id] != null || byName.containsKey(type.getName().toLowerCase(java.util.Locale.ENGLISH))) {
- throw new IllegalArgumentException("Cannot set already-set type");
- } else if (!acceptingNew) {
- throw new IllegalStateException(
- "No longer accepting new potion effect types (can only be done by the server implementation)");
- }
-
- byId[type.id] = type;
- byName.put(type.getName().toLowerCase(java.util.Locale.ENGLISH), type);
- }
+ @Deprecated
+ public static void registerPotionEffectType(@NotNull PotionEffectType type) {}
/**
* Stops accepting any effect type registrations.
+ * @deprecated only for backwards compatibility, has no effect.
*/
- public static void stopAcceptingRegistrations() {
- acceptingNew = false;
- }
-
- /**
- * Returns an array of all the registered {@link PotionEffectType}s.
- * This array is not necessarily in any particular order.
- *
- * @return Array of types.
- */
- @NotNull
- public static PotionEffectType[] values() {
- return Arrays.copyOfRange(byId, 1, byId.length);
- }
+ @Deprecated
+ public static void stopAcceptingRegistrations() {}
}
diff --git a/src/main/java/org/bukkit/potion/PotionEffectTypeWrapper.java b/src/main/java/org/bukkit/potion/PotionEffectTypeWrapper.java
index 47d46edc..7a2ee20d 100644
--- a/src/main/java/org/bukkit/potion/PotionEffectTypeWrapper.java
+++ b/src/main/java/org/bukkit/potion/PotionEffectTypeWrapper.java
@@ -1,18 +1,26 @@
package org.bukkit.potion;
import org.bukkit.Color;
+import org.bukkit.NamespacedKey;
import org.jetbrains.annotations.NotNull;
+/**
+ * @deprecated only for backwards compatibility, PotionEffectTypeWrapper is no longer used.
+ */
+@Deprecated
public class PotionEffectTypeWrapper extends PotionEffectType {
- protected PotionEffectTypeWrapper(int id) {
- super(id);
- }
+ protected PotionEffectTypeWrapper(int id) {}
@Override
public double getDurationModifier() {
return getType().getDurationModifier();
}
+ @Override
+ public int getId() {
+ return getType().getId();
+ }
+
@NotNull
@Override
public String getName() {
@@ -39,4 +47,10 @@ public class PotionEffectTypeWrapper extends PotionEffectType {
public Color getColor() {
return getType().getColor();
}
+
+ @NotNull
+ @Override
+ public NamespacedKey getKey() {
+ return getType().getKey();
+ }
}
diff --git a/src/main/java/org/bukkit/potion/PotionType.java b/src/main/java/org/bukkit/potion/PotionType.java
index af7dea66..3ec3dafa 100644
--- a/src/main/java/org/bukkit/potion/PotionType.java
+++ b/src/main/java/org/bukkit/potion/PotionType.java
@@ -14,19 +14,19 @@ public enum PotionType {
AWKWARD(null, false, false),
NIGHT_VISION(PotionEffectType.NIGHT_VISION, false, true),
INVISIBILITY(PotionEffectType.INVISIBILITY, false, true),
- JUMP(PotionEffectType.JUMP, true, true),
+ JUMP(PotionEffectType.JUMP_BOOST, true, true),
FIRE_RESISTANCE(PotionEffectType.FIRE_RESISTANCE, false, true),
SPEED(PotionEffectType.SPEED, true, true),
- SLOWNESS(PotionEffectType.SLOW, true, true),
+ SLOWNESS(PotionEffectType.SLOWNESS, true, true),
WATER_BREATHING(PotionEffectType.WATER_BREATHING, false, true),
- INSTANT_HEAL(PotionEffectType.HEAL, true, false),
- INSTANT_DAMAGE(PotionEffectType.HARM, true, false),
+ INSTANT_HEAL(PotionEffectType.INSTANT_HEALTH, true, false),
+ INSTANT_DAMAGE(PotionEffectType.INSTANT_DAMAGE, true, false),
POISON(PotionEffectType.POISON, true, true),
REGEN(PotionEffectType.REGENERATION, true, true),
- STRENGTH(PotionEffectType.INCREASE_DAMAGE, true, true),
+ STRENGTH(PotionEffectType.STRENGTH, true, true),
WEAKNESS(PotionEffectType.WEAKNESS, false, true),
LUCK(PotionEffectType.LUCK, false, false),
- TURTLE_MASTER(PotionEffectType.SLOW, true, true), // TODO: multiple effects
+ TURTLE_MASTER(PotionEffectType.SLOWNESS, true, true), // TODO: multiple effects
SLOW_FALLING(PotionEffectType.SLOW_FALLING, false, true),
;
diff --git a/src/main/java/org/bukkit/OldEnum.java b/src/main/java/org/bukkit/util/OldEnum.java
similarity index 97%
rename from src/main/java/org/bukkit/OldEnum.java
rename to src/main/java/org/bukkit/util/OldEnum.java
index 002e6d2e..9b9b0141 100644
--- a/src/main/java/org/bukkit/OldEnum.java
+++ b/src/main/java/org/bukkit/util/OldEnum.java
@@ -1,4 +1,4 @@
-package org.bukkit;
+package org.bukkit.util;
import org.jetbrains.annotations.NotNull;
diff --git a/src/test/java/org/bukkit/ArtTest.java b/src/test/java/org/bukkit/ArtTest.java
index 2e9249a6..8baee0df 100644
--- a/src/test/java/org/bukkit/ArtTest.java
+++ b/src/test/java/org/bukkit/ArtTest.java
@@ -2,9 +2,12 @@ package org.bukkit;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
+import org.bukkit.support.AbstractTestingBase;
+import org.junit.Ignore;
import org.junit.Test;
-public class ArtTest {
+@Ignore
+public class ArtTest extends AbstractTestingBase {
@Test(expected = IllegalArgumentException.class)
public void getByNullName() {
@@ -26,6 +29,7 @@ public class ArtTest {
}
@Test
+ @Ignore // Values are now pulled directly from the
public void dimensionSanityCheck() {
for (Art art : Art.values()) {
assertThat(art.getBlockHeight(), is(greaterThan(0)));
diff --git a/src/test/java/org/bukkit/TestServer.java b/src/test/java/org/bukkit/TestServer.java
index 9ce71110..763ce2b7 100644
--- a/src/test/java/org/bukkit/TestServer.java
+++ b/src/test/java/org/bukkit/TestServer.java
@@ -8,11 +8,10 @@ import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.logging.Logger;
-import org.bukkit.block.Biome;
import org.bukkit.command.SimpleCommandMap;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.SimplePluginManager;
-import org.jetbrains.annotations.NotNull;
+import org.mockito.Mockito;
public final class TestServer implements InvocationHandler {
private static interface MethodHandler {
@@ -82,36 +81,15 @@ public final class TestServer implements InvocationHandler {
methodMap.put(
Server.class.getMethod("getRegistry", Class.class),
new MethodHandler() {
- private final Map, Registry>> registers = new HashMap<>();
+ private final Map, Registry>> registers = new HashMap<>();
@Override
public Object handle(TestServer server, Object[] args) {
- return registers.computeIfAbsent((Class>) args[0], aClass -> new Registry() {
+
+ return registers.computeIfAbsent((Class extends Keyed>) args[0], aClass -> new Registry() {
private final Map cache = new HashMap<>();
@Override
public Keyed get(NamespacedKey key) {
- if (aClass == Biome.class) {
- return cache.computeIfAbsent(key, key1 -> new Biome() {
- @Override
- public int compareTo(Biome biome) {
- throw new UnsupportedOperationException("Not supported");
- }
- @NotNull
- @Override
- public String name() {
- throw new UnsupportedOperationException("Not supported");
- }
- @Override
- public int ordinal() {
- throw new UnsupportedOperationException("Not supported");
- }
- @NotNull
- @Override
- public NamespacedKey getKey() {
- throw new UnsupportedOperationException("Not supported");
- }
- });
- }
- throw new UnsupportedOperationException("Not supported");
+ return cache.computeIfAbsent(key, key2 -> Mockito.mock(aClass));
}
@Override
@@ -135,7 +113,9 @@ public final class TestServer implements InvocationHandler {
private Thread creatingThread = Thread.currentThread();
private PluginManager pluginManager;
- private TestServer() {};
+ private TestServer() {}
+
+ public static void setup() {}
public static Server getInstance() {
return Bukkit.getServer();
diff --git a/src/test/java/org/bukkit/event/PlayerChatTabCompleteEventTest.java b/src/test/java/org/bukkit/event/PlayerChatTabCompleteEventTest.java
index dd5fb243..7f4b5636 100644
--- a/src/test/java/org/bukkit/event/PlayerChatTabCompleteEventTest.java
+++ b/src/test/java/org/bukkit/event/PlayerChatTabCompleteEventTest.java
@@ -5,9 +5,10 @@ import static org.junit.Assert.*;
import com.google.common.collect.ImmutableList;
import org.bukkit.event.player.PlayerChatTabCompleteEvent;
import org.bukkit.plugin.messaging.TestPlayer;
+import org.bukkit.support.AbstractTestingBase;
import org.junit.Test;
-public class PlayerChatTabCompleteEventTest {
+public class PlayerChatTabCompleteEventTest extends AbstractTestingBase {
@Test
public void testGetLastToken() {
diff --git a/src/test/java/org/bukkit/support/AbstractTestingBase.java b/src/test/java/org/bukkit/support/AbstractTestingBase.java
new file mode 100644
index 00000000..38b0ac53
--- /dev/null
+++ b/src/test/java/org/bukkit/support/AbstractTestingBase.java
@@ -0,0 +1,15 @@
+package org.bukkit.support;
+
+import org.bukkit.TestServer;
+
+/**
+ * If you are getting: java.lang.ExceptionInInitializerError
+ *
+ * extend this class to solve it.
+ */
+public abstract class AbstractTestingBase {
+
+ static {
+ TestServer.setup();
+ }
+}