Updated to 1.19.3

This commit is contained in:
DerFrZocker 2023-02-15 21:52:28 +01:00
parent 85c3e2d38b
commit fdbed698e0
No known key found for this signature in database
GPG key ID: 713F71FFFE1DDF91
5 changed files with 1749 additions and 1499 deletions

View file

@ -51,8 +51,10 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material ACACIA_PLANKS = getMaterial("acacia_planks"); Material ACACIA_PLANKS = getMaterial("acacia_planks");
Material DARK_OAK_PLANKS = getMaterial("dark_oak_planks"); Material DARK_OAK_PLANKS = getMaterial("dark_oak_planks");
Material MANGROVE_PLANKS = getMaterial("mangrove_planks"); Material MANGROVE_PLANKS = getMaterial("mangrove_planks");
Material BAMBOO_PLANKS = getMaterial("bamboo_planks");
Material CRIMSON_PLANKS = getMaterial("crimson_planks"); Material CRIMSON_PLANKS = getMaterial("crimson_planks");
Material WARPED_PLANKS = getMaterial("warped_planks"); Material WARPED_PLANKS = getMaterial("warped_planks");
Material BAMBOO_MOSAIC = getMaterial("bamboo_mosaic");
Material OAK_SAPLING = getMaterial("oak_sapling"); Material OAK_SAPLING = getMaterial("oak_sapling");
Material SPRUCE_SAPLING = getMaterial("spruce_sapling"); Material SPRUCE_SAPLING = getMaterial("spruce_sapling");
Material BIRCH_SAPLING = getMaterial("birch_sapling"); Material BIRCH_SAPLING = getMaterial("birch_sapling");
@ -136,6 +138,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material MUDDY_MANGROVE_ROOTS = getMaterial("muddy_mangrove_roots"); Material MUDDY_MANGROVE_ROOTS = getMaterial("muddy_mangrove_roots");
Material CRIMSON_STEM = getMaterial("crimson_stem"); Material CRIMSON_STEM = getMaterial("crimson_stem");
Material WARPED_STEM = getMaterial("warped_stem"); Material WARPED_STEM = getMaterial("warped_stem");
Material BAMBOO_BLOCK = getMaterial("bamboo_block");
Material STRIPPED_OAK_LOG = getMaterial("stripped_oak_log"); Material STRIPPED_OAK_LOG = getMaterial("stripped_oak_log");
Material STRIPPED_SPRUCE_LOG = getMaterial("stripped_spruce_log"); Material STRIPPED_SPRUCE_LOG = getMaterial("stripped_spruce_log");
Material STRIPPED_BIRCH_LOG = getMaterial("stripped_birch_log"); Material STRIPPED_BIRCH_LOG = getMaterial("stripped_birch_log");
@ -154,6 +157,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material STRIPPED_MANGROVE_WOOD = getMaterial("stripped_mangrove_wood"); Material STRIPPED_MANGROVE_WOOD = getMaterial("stripped_mangrove_wood");
Material STRIPPED_CRIMSON_HYPHAE = getMaterial("stripped_crimson_hyphae"); Material STRIPPED_CRIMSON_HYPHAE = getMaterial("stripped_crimson_hyphae");
Material STRIPPED_WARPED_HYPHAE = getMaterial("stripped_warped_hyphae"); Material STRIPPED_WARPED_HYPHAE = getMaterial("stripped_warped_hyphae");
Material STRIPPED_BAMBOO_BLOCK = getMaterial("stripped_bamboo_block");
Material OAK_WOOD = getMaterial("oak_wood"); Material OAK_WOOD = getMaterial("oak_wood");
Material SPRUCE_WOOD = getMaterial("spruce_wood"); Material SPRUCE_WOOD = getMaterial("spruce_wood");
Material BIRCH_WOOD = getMaterial("birch_wood"); Material BIRCH_WOOD = getMaterial("birch_wood");
@ -242,6 +246,8 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material ACACIA_SLAB = getMaterial("acacia_slab"); Material ACACIA_SLAB = getMaterial("acacia_slab");
Material DARK_OAK_SLAB = getMaterial("dark_oak_slab"); Material DARK_OAK_SLAB = getMaterial("dark_oak_slab");
Material MANGROVE_SLAB = getMaterial("mangrove_slab"); Material MANGROVE_SLAB = getMaterial("mangrove_slab");
Material BAMBOO_SLAB = getMaterial("bamboo_slab");
Material BAMBOO_MOSAIC_SLAB = getMaterial("bamboo_mosaic_slab");
Material CRIMSON_SLAB = getMaterial("crimson_slab"); Material CRIMSON_SLAB = getMaterial("crimson_slab");
Material WARPED_SLAB = getMaterial("warped_slab"); Material WARPED_SLAB = getMaterial("warped_slab");
Material STONE_SLAB = getMaterial("stone_slab"); Material STONE_SLAB = getMaterial("stone_slab");
@ -267,6 +273,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material SMOOTH_STONE = getMaterial("smooth_stone"); Material SMOOTH_STONE = getMaterial("smooth_stone");
Material BRICKS = getMaterial("bricks"); Material BRICKS = getMaterial("bricks");
Material BOOKSHELF = getMaterial("bookshelf"); Material BOOKSHELF = getMaterial("bookshelf");
Material CHISELED_BOOKSHELF = getMaterial("chiseled_bookshelf");
Material MOSSY_COBBLESTONE = getMaterial("mossy_cobblestone"); Material MOSSY_COBBLESTONE = getMaterial("mossy_cobblestone");
Material OBSIDIAN = getMaterial("obsidian"); Material OBSIDIAN = getMaterial("obsidian");
Material TORCH = getMaterial("torch"); Material TORCH = getMaterial("torch");
@ -296,6 +303,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material ACACIA_FENCE = getMaterial("acacia_fence"); Material ACACIA_FENCE = getMaterial("acacia_fence");
Material DARK_OAK_FENCE = getMaterial("dark_oak_fence"); Material DARK_OAK_FENCE = getMaterial("dark_oak_fence");
Material MANGROVE_FENCE = getMaterial("mangrove_fence"); Material MANGROVE_FENCE = getMaterial("mangrove_fence");
Material BAMBOO_FENCE = getMaterial("bamboo_fence");
Material CRIMSON_FENCE = getMaterial("crimson_fence"); Material CRIMSON_FENCE = getMaterial("crimson_fence");
Material WARPED_FENCE = getMaterial("warped_fence"); Material WARPED_FENCE = getMaterial("warped_fence");
Material PUMPKIN = getMaterial("pumpkin"); Material PUMPKIN = getMaterial("pumpkin");
@ -366,6 +374,8 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material ACACIA_STAIRS = getMaterial("acacia_stairs"); Material ACACIA_STAIRS = getMaterial("acacia_stairs");
Material DARK_OAK_STAIRS = getMaterial("dark_oak_stairs"); Material DARK_OAK_STAIRS = getMaterial("dark_oak_stairs");
Material MANGROVE_STAIRS = getMaterial("mangrove_stairs"); Material MANGROVE_STAIRS = getMaterial("mangrove_stairs");
Material BAMBOO_STAIRS = getMaterial("bamboo_stairs");
Material BAMBOO_MOSAIC_STAIRS = getMaterial("bamboo_mosaic_stairs");
Material CRIMSON_STAIRS = getMaterial("crimson_stairs"); Material CRIMSON_STAIRS = getMaterial("crimson_stairs");
Material WARPED_STAIRS = getMaterial("warped_stairs"); Material WARPED_STAIRS = getMaterial("warped_stairs");
Material COMMAND_BLOCK = getMaterial("command_block"); Material COMMAND_BLOCK = getMaterial("command_block");
@ -662,6 +672,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material ACACIA_BUTTON = getMaterial("acacia_button"); Material ACACIA_BUTTON = getMaterial("acacia_button");
Material DARK_OAK_BUTTON = getMaterial("dark_oak_button"); Material DARK_OAK_BUTTON = getMaterial("dark_oak_button");
Material MANGROVE_BUTTON = getMaterial("mangrove_button"); Material MANGROVE_BUTTON = getMaterial("mangrove_button");
Material BAMBOO_BUTTON = getMaterial("bamboo_button");
Material CRIMSON_BUTTON = getMaterial("crimson_button"); Material CRIMSON_BUTTON = getMaterial("crimson_button");
Material WARPED_BUTTON = getMaterial("warped_button"); Material WARPED_BUTTON = getMaterial("warped_button");
Material STONE_PRESSURE_PLATE = getMaterial("stone_pressure_plate"); Material STONE_PRESSURE_PLATE = getMaterial("stone_pressure_plate");
@ -675,6 +686,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material ACACIA_PRESSURE_PLATE = getMaterial("acacia_pressure_plate"); Material ACACIA_PRESSURE_PLATE = getMaterial("acacia_pressure_plate");
Material DARK_OAK_PRESSURE_PLATE = getMaterial("dark_oak_pressure_plate"); Material DARK_OAK_PRESSURE_PLATE = getMaterial("dark_oak_pressure_plate");
Material MANGROVE_PRESSURE_PLATE = getMaterial("mangrove_pressure_plate"); Material MANGROVE_PRESSURE_PLATE = getMaterial("mangrove_pressure_plate");
Material BAMBOO_PRESSURE_PLATE = getMaterial("bamboo_pressure_plate");
Material CRIMSON_PRESSURE_PLATE = getMaterial("crimson_pressure_plate"); Material CRIMSON_PRESSURE_PLATE = getMaterial("crimson_pressure_plate");
Material WARPED_PRESSURE_PLATE = getMaterial("warped_pressure_plate"); Material WARPED_PRESSURE_PLATE = getMaterial("warped_pressure_plate");
Material IRON_DOOR = getMaterial("iron_door"); Material IRON_DOOR = getMaterial("iron_door");
@ -685,6 +697,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material ACACIA_DOOR = getMaterial("acacia_door"); Material ACACIA_DOOR = getMaterial("acacia_door");
Material DARK_OAK_DOOR = getMaterial("dark_oak_door"); Material DARK_OAK_DOOR = getMaterial("dark_oak_door");
Material MANGROVE_DOOR = getMaterial("mangrove_door"); Material MANGROVE_DOOR = getMaterial("mangrove_door");
Material BAMBOO_DOOR = getMaterial("bamboo_door");
Material CRIMSON_DOOR = getMaterial("crimson_door"); Material CRIMSON_DOOR = getMaterial("crimson_door");
Material WARPED_DOOR = getMaterial("warped_door"); Material WARPED_DOOR = getMaterial("warped_door");
Material IRON_TRAPDOOR = getMaterial("iron_trapdoor"); Material IRON_TRAPDOOR = getMaterial("iron_trapdoor");
@ -695,6 +708,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material ACACIA_TRAPDOOR = getMaterial("acacia_trapdoor"); Material ACACIA_TRAPDOOR = getMaterial("acacia_trapdoor");
Material DARK_OAK_TRAPDOOR = getMaterial("dark_oak_trapdoor"); Material DARK_OAK_TRAPDOOR = getMaterial("dark_oak_trapdoor");
Material MANGROVE_TRAPDOOR = getMaterial("mangrove_trapdoor"); Material MANGROVE_TRAPDOOR = getMaterial("mangrove_trapdoor");
Material BAMBOO_TRAPDOOR = getMaterial("bamboo_trapdoor");
Material CRIMSON_TRAPDOOR = getMaterial("crimson_trapdoor"); Material CRIMSON_TRAPDOOR = getMaterial("crimson_trapdoor");
Material WARPED_TRAPDOOR = getMaterial("warped_trapdoor"); Material WARPED_TRAPDOOR = getMaterial("warped_trapdoor");
Material OAK_FENCE_GATE = getMaterial("oak_fence_gate"); Material OAK_FENCE_GATE = getMaterial("oak_fence_gate");
@ -704,6 +718,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material ACACIA_FENCE_GATE = getMaterial("acacia_fence_gate"); Material ACACIA_FENCE_GATE = getMaterial("acacia_fence_gate");
Material DARK_OAK_FENCE_GATE = getMaterial("dark_oak_fence_gate"); Material DARK_OAK_FENCE_GATE = getMaterial("dark_oak_fence_gate");
Material MANGROVE_FENCE_GATE = getMaterial("mangrove_fence_gate"); Material MANGROVE_FENCE_GATE = getMaterial("mangrove_fence_gate");
Material BAMBOO_FENCE_GATE = getMaterial("bamboo_fence_gate");
Material CRIMSON_FENCE_GATE = getMaterial("crimson_fence_gate"); Material CRIMSON_FENCE_GATE = getMaterial("crimson_fence_gate");
Material WARPED_FENCE_GATE = getMaterial("warped_fence_gate"); Material WARPED_FENCE_GATE = getMaterial("warped_fence_gate");
Material POWERED_RAIL = getMaterial("powered_rail"); Material POWERED_RAIL = getMaterial("powered_rail");
@ -733,6 +748,8 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material DARK_OAK_CHEST_BOAT = getMaterial("dark_oak_chest_boat"); Material DARK_OAK_CHEST_BOAT = getMaterial("dark_oak_chest_boat");
Material MANGROVE_BOAT = getMaterial("mangrove_boat"); Material MANGROVE_BOAT = getMaterial("mangrove_boat");
Material MANGROVE_CHEST_BOAT = getMaterial("mangrove_chest_boat"); Material MANGROVE_CHEST_BOAT = getMaterial("mangrove_chest_boat");
Material BAMBOO_RAFT = getMaterial("bamboo_raft");
Material BAMBOO_CHEST_RAFT = getMaterial("bamboo_chest_raft");
Material STRUCTURE_BLOCK = getMaterial("structure_block"); Material STRUCTURE_BLOCK = getMaterial("structure_block");
Material JIGSAW = getMaterial("jigsaw"); Material JIGSAW = getMaterial("jigsaw");
Material TURTLE_HELMET = getMaterial("turtle_helmet"); Material TURTLE_HELMET = getMaterial("turtle_helmet");
@ -832,8 +849,19 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material ACACIA_SIGN = getMaterial("acacia_sign"); Material ACACIA_SIGN = getMaterial("acacia_sign");
Material DARK_OAK_SIGN = getMaterial("dark_oak_sign"); Material DARK_OAK_SIGN = getMaterial("dark_oak_sign");
Material MANGROVE_SIGN = getMaterial("mangrove_sign"); Material MANGROVE_SIGN = getMaterial("mangrove_sign");
Material BAMBOO_SIGN = getMaterial("bamboo_sign");
Material CRIMSON_SIGN = getMaterial("crimson_sign"); Material CRIMSON_SIGN = getMaterial("crimson_sign");
Material WARPED_SIGN = getMaterial("warped_sign"); Material WARPED_SIGN = getMaterial("warped_sign");
Material OAK_HANGING_SIGN = getMaterial("oak_hanging_sign");
Material SPRUCE_HANGING_SIGN = getMaterial("spruce_hanging_sign");
Material BIRCH_HANGING_SIGN = getMaterial("birch_hanging_sign");
Material JUNGLE_HANGING_SIGN = getMaterial("jungle_hanging_sign");
Material ACACIA_HANGING_SIGN = getMaterial("acacia_hanging_sign");
Material DARK_OAK_HANGING_SIGN = getMaterial("dark_oak_hanging_sign");
Material MANGROVE_HANGING_SIGN = getMaterial("mangrove_hanging_sign");
Material BAMBOO_HANGING_SIGN = getMaterial("bamboo_hanging_sign");
Material CRIMSON_HANGING_SIGN = getMaterial("crimson_hanging_sign");
Material WARPED_HANGING_SIGN = getMaterial("warped_hanging_sign");
Material BUCKET = getMaterial("bucket"); Material BUCKET = getMaterial("bucket");
Material WATER_BUCKET = getMaterial("water_bucket"); Material WATER_BUCKET = getMaterial("water_bucket");
Material LAVA_BUCKET = getMaterial("lava_bucket"); Material LAVA_BUCKET = getMaterial("lava_bucket");
@ -939,6 +967,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material BEE_SPAWN_EGG = getMaterial("bee_spawn_egg"); Material BEE_SPAWN_EGG = getMaterial("bee_spawn_egg");
Material BLAZE_SPAWN_EGG = getMaterial("blaze_spawn_egg"); Material BLAZE_SPAWN_EGG = getMaterial("blaze_spawn_egg");
Material CAT_SPAWN_EGG = getMaterial("cat_spawn_egg"); Material CAT_SPAWN_EGG = getMaterial("cat_spawn_egg");
Material CAMEL_SPAWN_EGG = getMaterial("camel_spawn_egg");
Material CAVE_SPIDER_SPAWN_EGG = getMaterial("cave_spider_spawn_egg"); Material CAVE_SPIDER_SPAWN_EGG = getMaterial("cave_spider_spawn_egg");
Material CHICKEN_SPAWN_EGG = getMaterial("chicken_spawn_egg"); Material CHICKEN_SPAWN_EGG = getMaterial("chicken_spawn_egg");
Material COD_SPAWN_EGG = getMaterial("cod_spawn_egg"); Material COD_SPAWN_EGG = getMaterial("cod_spawn_egg");
@ -948,6 +977,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material DONKEY_SPAWN_EGG = getMaterial("donkey_spawn_egg"); Material DONKEY_SPAWN_EGG = getMaterial("donkey_spawn_egg");
Material DROWNED_SPAWN_EGG = getMaterial("drowned_spawn_egg"); Material DROWNED_SPAWN_EGG = getMaterial("drowned_spawn_egg");
Material ELDER_GUARDIAN_SPAWN_EGG = getMaterial("elder_guardian_spawn_egg"); Material ELDER_GUARDIAN_SPAWN_EGG = getMaterial("elder_guardian_spawn_egg");
Material ENDER_DRAGON_SPAWN_EGG = getMaterial("ender_dragon_spawn_egg");
Material ENDERMAN_SPAWN_EGG = getMaterial("enderman_spawn_egg"); Material ENDERMAN_SPAWN_EGG = getMaterial("enderman_spawn_egg");
Material ENDERMITE_SPAWN_EGG = getMaterial("endermite_spawn_egg"); Material ENDERMITE_SPAWN_EGG = getMaterial("endermite_spawn_egg");
Material EVOKER_SPAWN_EGG = getMaterial("evoker_spawn_egg"); Material EVOKER_SPAWN_EGG = getMaterial("evoker_spawn_egg");
@ -960,6 +990,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material HOGLIN_SPAWN_EGG = getMaterial("hoglin_spawn_egg"); Material HOGLIN_SPAWN_EGG = getMaterial("hoglin_spawn_egg");
Material HORSE_SPAWN_EGG = getMaterial("horse_spawn_egg"); Material HORSE_SPAWN_EGG = getMaterial("horse_spawn_egg");
Material HUSK_SPAWN_EGG = getMaterial("husk_spawn_egg"); Material HUSK_SPAWN_EGG = getMaterial("husk_spawn_egg");
Material IRON_GOLEM_SPAWN_EGG = getMaterial("iron_golem_spawn_egg");
Material LLAMA_SPAWN_EGG = getMaterial("llama_spawn_egg"); Material LLAMA_SPAWN_EGG = getMaterial("llama_spawn_egg");
Material MAGMA_CUBE_SPAWN_EGG = getMaterial("magma_cube_spawn_egg"); Material MAGMA_CUBE_SPAWN_EGG = getMaterial("magma_cube_spawn_egg");
Material MOOSHROOM_SPAWN_EGG = getMaterial("mooshroom_spawn_egg"); Material MOOSHROOM_SPAWN_EGG = getMaterial("mooshroom_spawn_egg");
@ -983,6 +1014,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material SKELETON_SPAWN_EGG = getMaterial("skeleton_spawn_egg"); Material SKELETON_SPAWN_EGG = getMaterial("skeleton_spawn_egg");
Material SKELETON_HORSE_SPAWN_EGG = getMaterial("skeleton_horse_spawn_egg"); Material SKELETON_HORSE_SPAWN_EGG = getMaterial("skeleton_horse_spawn_egg");
Material SLIME_SPAWN_EGG = getMaterial("slime_spawn_egg"); Material SLIME_SPAWN_EGG = getMaterial("slime_spawn_egg");
Material SNOW_GOLEM_SPAWN_EGG = getMaterial("snow_golem_spawn_egg");
Material SPIDER_SPAWN_EGG = getMaterial("spider_spawn_egg"); Material SPIDER_SPAWN_EGG = getMaterial("spider_spawn_egg");
Material SQUID_SPAWN_EGG = getMaterial("squid_spawn_egg"); Material SQUID_SPAWN_EGG = getMaterial("squid_spawn_egg");
Material STRAY_SPAWN_EGG = getMaterial("stray_spawn_egg"); Material STRAY_SPAWN_EGG = getMaterial("stray_spawn_egg");
@ -997,6 +1029,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material WANDERING_TRADER_SPAWN_EGG = getMaterial("wandering_trader_spawn_egg"); Material WANDERING_TRADER_SPAWN_EGG = getMaterial("wandering_trader_spawn_egg");
Material WARDEN_SPAWN_EGG = getMaterial("warden_spawn_egg"); Material WARDEN_SPAWN_EGG = getMaterial("warden_spawn_egg");
Material WITCH_SPAWN_EGG = getMaterial("witch_spawn_egg"); Material WITCH_SPAWN_EGG = getMaterial("witch_spawn_egg");
Material WITHER_SPAWN_EGG = getMaterial("wither_spawn_egg");
Material WITHER_SKELETON_SPAWN_EGG = getMaterial("wither_skeleton_spawn_egg"); Material WITHER_SKELETON_SPAWN_EGG = getMaterial("wither_skeleton_spawn_egg");
Material WOLF_SPAWN_EGG = getMaterial("wolf_spawn_egg"); Material WOLF_SPAWN_EGG = getMaterial("wolf_spawn_egg");
Material ZOGLIN_SPAWN_EGG = getMaterial("zoglin_spawn_egg"); Material ZOGLIN_SPAWN_EGG = getMaterial("zoglin_spawn_egg");
@ -1023,6 +1056,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material ZOMBIE_HEAD = getMaterial("zombie_head"); Material ZOMBIE_HEAD = getMaterial("zombie_head");
Material CREEPER_HEAD = getMaterial("creeper_head"); Material CREEPER_HEAD = getMaterial("creeper_head");
Material DRAGON_HEAD = getMaterial("dragon_head"); Material DRAGON_HEAD = getMaterial("dragon_head");
Material PIGLIN_HEAD = getMaterial("piglin_head");
Material NETHER_STAR = getMaterial("nether_star"); Material NETHER_STAR = getMaterial("nether_star");
Material PUMPKIN_PIE = getMaterial("pumpkin_pie"); Material PUMPKIN_PIE = getMaterial("pumpkin_pie");
Material FIREWORK_ROCKET = getMaterial("firework_rocket"); Material FIREWORK_ROCKET = getMaterial("firework_rocket");
@ -1189,6 +1223,17 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material JUNGLE_WALL_SIGN = getMaterial("jungle_wall_sign"); Material JUNGLE_WALL_SIGN = getMaterial("jungle_wall_sign");
Material DARK_OAK_WALL_SIGN = getMaterial("dark_oak_wall_sign"); Material DARK_OAK_WALL_SIGN = getMaterial("dark_oak_wall_sign");
Material MANGROVE_WALL_SIGN = getMaterial("mangrove_wall_sign"); Material MANGROVE_WALL_SIGN = getMaterial("mangrove_wall_sign");
Material BAMBOO_WALL_SIGN = getMaterial("bamboo_wall_sign");
Material OAK_WALL_HANGING_SIGN = getMaterial("oak_wall_hanging_sign");
Material SPRUCE_WALL_HANGING_SIGN = getMaterial("spruce_wall_hanging_sign");
Material BIRCH_WALL_HANGING_SIGN = getMaterial("birch_wall_hanging_sign");
Material ACACIA_WALL_HANGING_SIGN = getMaterial("acacia_wall_hanging_sign");
Material JUNGLE_WALL_HANGING_SIGN = getMaterial("jungle_wall_hanging_sign");
Material DARK_OAK_WALL_HANGING_SIGN = getMaterial("dark_oak_wall_hanging_sign");
Material MANGROVE_WALL_HANGING_SIGN = getMaterial("mangrove_wall_hanging_sign");
Material CRIMSON_WALL_HANGING_SIGN = getMaterial("crimson_wall_hanging_sign");
Material WARPED_WALL_HANGING_SIGN = getMaterial("warped_wall_hanging_sign");
Material BAMBOO_WALL_HANGING_SIGN = getMaterial("bamboo_wall_hanging_sign");
Material REDSTONE_WALL_TORCH = getMaterial("redstone_wall_torch"); Material REDSTONE_WALL_TORCH = getMaterial("redstone_wall_torch");
Material SOUL_WALL_TORCH = getMaterial("soul_wall_torch"); Material SOUL_WALL_TORCH = getMaterial("soul_wall_torch");
Material NETHER_PORTAL = getMaterial("nether_portal"); Material NETHER_PORTAL = getMaterial("nether_portal");
@ -1235,6 +1280,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
Material PLAYER_WALL_HEAD = getMaterial("player_wall_head"); Material PLAYER_WALL_HEAD = getMaterial("player_wall_head");
Material CREEPER_WALL_HEAD = getMaterial("creeper_wall_head"); Material CREEPER_WALL_HEAD = getMaterial("creeper_wall_head");
Material DRAGON_WALL_HEAD = getMaterial("dragon_wall_head"); Material DRAGON_WALL_HEAD = getMaterial("dragon_wall_head");
Material PIGLIN_WALL_HEAD = getMaterial("piglin_wall_head");
Material WHITE_WALL_BANNER = getMaterial("white_wall_banner"); Material WHITE_WALL_BANNER = getMaterial("white_wall_banner");
Material ORANGE_WALL_BANNER = getMaterial("orange_wall_banner"); Material ORANGE_WALL_BANNER = getMaterial("orange_wall_banner");
Material MAGENTA_WALL_BANNER = getMaterial("magenta_wall_banner"); Material MAGENTA_WALL_BANNER = getMaterial("magenta_wall_banner");
@ -2782,13 +2828,7 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
*/ */
@Override @Override
@NotNull @NotNull
public String getTranslationKey() { String getTranslationKey();
if (this.isItem()) {
return Bukkit.getUnsafe().getItemTranslationKey(this);
} else {
return Bukkit.getUnsafe().getBlockTranslationKey(this);
}
}
/** /**
* Get the translation key of the block associated with this material, or * Get the translation key of the block associated with this material, or
@ -2796,11 +2836,13 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
* *
* @return the translation key of the block associated with this material, * @return the translation key of the block associated with this material,
* or null if this material does not have an associated block * or null if this material does not have an associated block
* @see Material#asBlockType()
* @see ItemType#getBlockTranslationKey()
* @deprecated Can only get block translation key from BlockType
*/ */
@Nullable @Nullable
public String getBlockTranslationKey() { @Deprecated
return Bukkit.getUnsafe().getBlockTranslationKey(this); String getBlockTranslationKey();
}
/** /**
* Get the translation key of the item associated with this material, or * Get the translation key of the item associated with this material, or
@ -2808,9 +2850,11 @@ public interface Material extends Keyed, Comparable<Material>, Translatable {
* *
* @return the translation key of the item associated with this material, or * @return the translation key of the item associated with this material, or
* null if this material does not have an associated item. * null if this material does not have an associated item.
* @see Material#asItemType()
* @see ItemType#getItemTranslationKey()
* @deprecated Can only get item translation key from ItemType
*/ */
@Nullable @Nullable
public String getItemTranslationKey() { @Deprecated
return Bukkit.getUnsafe().getItemTranslationKey(this); String getItemTranslationKey();
}
} }

View file

@ -2,7 +2,6 @@ package org.bukkit;
import org.bukkit.advancement.Advancement; import org.bukkit.advancement.Advancement;
import org.bukkit.block.data.BlockData; import org.bukkit.block.data.BlockData;
import org.bukkit.entity.EntityType;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
import org.bukkit.material.MaterialData; import org.bukkit.material.MaterialData;
import org.bukkit.plugin.InvalidPluginException; import org.bukkit.plugin.InvalidPluginException;
@ -76,11 +75,5 @@ public interface UnsafeValues {
@Deprecated @Deprecated
Material createLegacyMaterial(String name, int id, int maxStackSize, short maxDurability, Class<? extends MaterialData> materialData); Material createLegacyMaterial(String name, int id, int maxStackSize, short maxDurability, Class<? extends MaterialData> materialData);
String getBlockTranslationKey(Material material);
String getItemTranslationKey(Material material);
String getTranslationKey(EntityType entityType);
String getTranslationKey(ItemStack itemStack); String getTranslationKey(ItemStack itemStack);
} }

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,6 @@ import com.google.common.base.Preconditions;
import com.google.common.collect.BiMap; import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap; import com.google.common.collect.HashBiMap;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import org.bukkit.Bukkit;
import org.bukkit.Keyed; import org.bukkit.Keyed;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.NamespacedKey; import org.bukkit.NamespacedKey;
@ -406,10 +405,4 @@ public abstract class EntityType extends OldEnum<EntityType> implements Keyed, T
public static EntityType[] values() { public static EntityType[] values() {
return Lists.newArrayList(Registry.ENTITY_TYPE).toArray(new EntityType[0]); return Lists.newArrayList(Registry.ENTITY_TYPE).toArray(new EntityType[0]);
} }
@Override
@NotNull
public String getTranslationKey() {
return Bukkit.getUnsafe().getTranslationKey(this);
}
} }

View file

@ -40,8 +40,10 @@ public interface ItemType extends Material {
ItemType ACACIA_PLANKS = asItemType(Material.ACACIA_PLANKS); ItemType ACACIA_PLANKS = asItemType(Material.ACACIA_PLANKS);
ItemType DARK_OAK_PLANKS = asItemType(Material.DARK_OAK_PLANKS); ItemType DARK_OAK_PLANKS = asItemType(Material.DARK_OAK_PLANKS);
ItemType MANGROVE_PLANKS = asItemType(Material.MANGROVE_PLANKS); ItemType MANGROVE_PLANKS = asItemType(Material.MANGROVE_PLANKS);
ItemType BAMBOO_PLANKS = asItemType(Material.BAMBOO_PLANKS);
ItemType CRIMSON_PLANKS = asItemType(Material.CRIMSON_PLANKS); ItemType CRIMSON_PLANKS = asItemType(Material.CRIMSON_PLANKS);
ItemType WARPED_PLANKS = asItemType(Material.WARPED_PLANKS); ItemType WARPED_PLANKS = asItemType(Material.WARPED_PLANKS);
ItemType BAMBOO_MOSAIC = asItemType(Material.BAMBOO_MOSAIC);
ItemType OAK_SAPLING = asItemType(Material.OAK_SAPLING); ItemType OAK_SAPLING = asItemType(Material.OAK_SAPLING);
ItemType SPRUCE_SAPLING = asItemType(Material.SPRUCE_SAPLING); ItemType SPRUCE_SAPLING = asItemType(Material.SPRUCE_SAPLING);
ItemType BIRCH_SAPLING = asItemType(Material.BIRCH_SAPLING); ItemType BIRCH_SAPLING = asItemType(Material.BIRCH_SAPLING);
@ -125,6 +127,7 @@ public interface ItemType extends Material {
ItemType MUDDY_MANGROVE_ROOTS = asItemType(Material.MUDDY_MANGROVE_ROOTS); ItemType MUDDY_MANGROVE_ROOTS = asItemType(Material.MUDDY_MANGROVE_ROOTS);
ItemType CRIMSON_STEM = asItemType(Material.CRIMSON_STEM); ItemType CRIMSON_STEM = asItemType(Material.CRIMSON_STEM);
ItemType WARPED_STEM = asItemType(Material.WARPED_STEM); ItemType WARPED_STEM = asItemType(Material.WARPED_STEM);
ItemType BAMBOO_BLOCK = asItemType(Material.BAMBOO_BLOCK);
ItemType STRIPPED_OAK_LOG = asItemType(Material.STRIPPED_OAK_LOG); ItemType STRIPPED_OAK_LOG = asItemType(Material.STRIPPED_OAK_LOG);
ItemType STRIPPED_SPRUCE_LOG = asItemType(Material.STRIPPED_SPRUCE_LOG); ItemType STRIPPED_SPRUCE_LOG = asItemType(Material.STRIPPED_SPRUCE_LOG);
ItemType STRIPPED_BIRCH_LOG = asItemType(Material.STRIPPED_BIRCH_LOG); ItemType STRIPPED_BIRCH_LOG = asItemType(Material.STRIPPED_BIRCH_LOG);
@ -143,6 +146,7 @@ public interface ItemType extends Material {
ItemType STRIPPED_MANGROVE_WOOD = asItemType(Material.STRIPPED_MANGROVE_WOOD); ItemType STRIPPED_MANGROVE_WOOD = asItemType(Material.STRIPPED_MANGROVE_WOOD);
ItemType STRIPPED_CRIMSON_HYPHAE = asItemType(Material.STRIPPED_CRIMSON_HYPHAE); ItemType STRIPPED_CRIMSON_HYPHAE = asItemType(Material.STRIPPED_CRIMSON_HYPHAE);
ItemType STRIPPED_WARPED_HYPHAE = asItemType(Material.STRIPPED_WARPED_HYPHAE); ItemType STRIPPED_WARPED_HYPHAE = asItemType(Material.STRIPPED_WARPED_HYPHAE);
ItemType STRIPPED_BAMBOO_BLOCK = asItemType(Material.STRIPPED_BAMBOO_BLOCK);
ItemType OAK_WOOD = asItemType(Material.OAK_WOOD); ItemType OAK_WOOD = asItemType(Material.OAK_WOOD);
ItemType SPRUCE_WOOD = asItemType(Material.SPRUCE_WOOD); ItemType SPRUCE_WOOD = asItemType(Material.SPRUCE_WOOD);
ItemType BIRCH_WOOD = asItemType(Material.BIRCH_WOOD); ItemType BIRCH_WOOD = asItemType(Material.BIRCH_WOOD);
@ -231,6 +235,8 @@ public interface ItemType extends Material {
ItemType ACACIA_SLAB = asItemType(Material.ACACIA_SLAB); ItemType ACACIA_SLAB = asItemType(Material.ACACIA_SLAB);
ItemType DARK_OAK_SLAB = asItemType(Material.DARK_OAK_SLAB); ItemType DARK_OAK_SLAB = asItemType(Material.DARK_OAK_SLAB);
ItemType MANGROVE_SLAB = asItemType(Material.MANGROVE_SLAB); ItemType MANGROVE_SLAB = asItemType(Material.MANGROVE_SLAB);
ItemType BAMBOO_SLAB = asItemType(Material.BAMBOO_SLAB);
ItemType BAMBOO_MOSAIC_SLAB = asItemType(Material.BAMBOO_MOSAIC_SLAB);
ItemType CRIMSON_SLAB = asItemType(Material.CRIMSON_SLAB); ItemType CRIMSON_SLAB = asItemType(Material.CRIMSON_SLAB);
ItemType WARPED_SLAB = asItemType(Material.WARPED_SLAB); ItemType WARPED_SLAB = asItemType(Material.WARPED_SLAB);
ItemType STONE_SLAB = asItemType(Material.STONE_SLAB); ItemType STONE_SLAB = asItemType(Material.STONE_SLAB);
@ -256,6 +262,7 @@ public interface ItemType extends Material {
ItemType SMOOTH_STONE = asItemType(Material.SMOOTH_STONE); ItemType SMOOTH_STONE = asItemType(Material.SMOOTH_STONE);
ItemType BRICKS = asItemType(Material.BRICKS); ItemType BRICKS = asItemType(Material.BRICKS);
ItemType BOOKSHELF = asItemType(Material.BOOKSHELF); ItemType BOOKSHELF = asItemType(Material.BOOKSHELF);
ItemType CHISELED_BOOKSHELF = asItemType(Material.CHISELED_BOOKSHELF);
ItemType MOSSY_COBBLESTONE = asItemType(Material.MOSSY_COBBLESTONE); ItemType MOSSY_COBBLESTONE = asItemType(Material.MOSSY_COBBLESTONE);
ItemType OBSIDIAN = asItemType(Material.OBSIDIAN); ItemType OBSIDIAN = asItemType(Material.OBSIDIAN);
ItemType TORCH = asItemType(Material.TORCH); ItemType TORCH = asItemType(Material.TORCH);
@ -285,6 +292,7 @@ public interface ItemType extends Material {
ItemType ACACIA_FENCE = asItemType(Material.ACACIA_FENCE); ItemType ACACIA_FENCE = asItemType(Material.ACACIA_FENCE);
ItemType DARK_OAK_FENCE = asItemType(Material.DARK_OAK_FENCE); ItemType DARK_OAK_FENCE = asItemType(Material.DARK_OAK_FENCE);
ItemType MANGROVE_FENCE = asItemType(Material.MANGROVE_FENCE); ItemType MANGROVE_FENCE = asItemType(Material.MANGROVE_FENCE);
ItemType BAMBOO_FENCE = asItemType(Material.BAMBOO_FENCE);
ItemType CRIMSON_FENCE = asItemType(Material.CRIMSON_FENCE); ItemType CRIMSON_FENCE = asItemType(Material.CRIMSON_FENCE);
ItemType WARPED_FENCE = asItemType(Material.WARPED_FENCE); ItemType WARPED_FENCE = asItemType(Material.WARPED_FENCE);
ItemType PUMPKIN = asItemType(Material.PUMPKIN); ItemType PUMPKIN = asItemType(Material.PUMPKIN);
@ -355,6 +363,8 @@ public interface ItemType extends Material {
ItemType ACACIA_STAIRS = asItemType(Material.ACACIA_STAIRS); ItemType ACACIA_STAIRS = asItemType(Material.ACACIA_STAIRS);
ItemType DARK_OAK_STAIRS = asItemType(Material.DARK_OAK_STAIRS); ItemType DARK_OAK_STAIRS = asItemType(Material.DARK_OAK_STAIRS);
ItemType MANGROVE_STAIRS = asItemType(Material.MANGROVE_STAIRS); ItemType MANGROVE_STAIRS = asItemType(Material.MANGROVE_STAIRS);
ItemType BAMBOO_STAIRS = asItemType(Material.BAMBOO_STAIRS);
ItemType BAMBOO_MOSAIC_STAIRS = asItemType(Material.BAMBOO_MOSAIC_STAIRS);
ItemType CRIMSON_STAIRS = asItemType(Material.CRIMSON_STAIRS); ItemType CRIMSON_STAIRS = asItemType(Material.CRIMSON_STAIRS);
ItemType WARPED_STAIRS = asItemType(Material.WARPED_STAIRS); ItemType WARPED_STAIRS = asItemType(Material.WARPED_STAIRS);
ItemType COMMAND_BLOCK = asItemType(Material.COMMAND_BLOCK); ItemType COMMAND_BLOCK = asItemType(Material.COMMAND_BLOCK);
@ -651,6 +661,7 @@ public interface ItemType extends Material {
ItemType ACACIA_BUTTON = asItemType(Material.ACACIA_BUTTON); ItemType ACACIA_BUTTON = asItemType(Material.ACACIA_BUTTON);
ItemType DARK_OAK_BUTTON = asItemType(Material.DARK_OAK_BUTTON); ItemType DARK_OAK_BUTTON = asItemType(Material.DARK_OAK_BUTTON);
ItemType MANGROVE_BUTTON = asItemType(Material.MANGROVE_BUTTON); ItemType MANGROVE_BUTTON = asItemType(Material.MANGROVE_BUTTON);
ItemType BAMBOO_BUTTON = asItemType(Material.BAMBOO_BUTTON);
ItemType CRIMSON_BUTTON = asItemType(Material.CRIMSON_BUTTON); ItemType CRIMSON_BUTTON = asItemType(Material.CRIMSON_BUTTON);
ItemType WARPED_BUTTON = asItemType(Material.WARPED_BUTTON); ItemType WARPED_BUTTON = asItemType(Material.WARPED_BUTTON);
ItemType STONE_PRESSURE_PLATE = asItemType(Material.STONE_PRESSURE_PLATE); ItemType STONE_PRESSURE_PLATE = asItemType(Material.STONE_PRESSURE_PLATE);
@ -664,6 +675,7 @@ public interface ItemType extends Material {
ItemType ACACIA_PRESSURE_PLATE = asItemType(Material.ACACIA_PRESSURE_PLATE); ItemType ACACIA_PRESSURE_PLATE = asItemType(Material.ACACIA_PRESSURE_PLATE);
ItemType DARK_OAK_PRESSURE_PLATE = asItemType(Material.DARK_OAK_PRESSURE_PLATE); ItemType DARK_OAK_PRESSURE_PLATE = asItemType(Material.DARK_OAK_PRESSURE_PLATE);
ItemType MANGROVE_PRESSURE_PLATE = asItemType(Material.MANGROVE_PRESSURE_PLATE); ItemType MANGROVE_PRESSURE_PLATE = asItemType(Material.MANGROVE_PRESSURE_PLATE);
ItemType BAMBOO_PRESSURE_PLATE = asItemType(Material.BAMBOO_PRESSURE_PLATE);
ItemType CRIMSON_PRESSURE_PLATE = asItemType(Material.CRIMSON_PRESSURE_PLATE); ItemType CRIMSON_PRESSURE_PLATE = asItemType(Material.CRIMSON_PRESSURE_PLATE);
ItemType WARPED_PRESSURE_PLATE = asItemType(Material.WARPED_PRESSURE_PLATE); ItemType WARPED_PRESSURE_PLATE = asItemType(Material.WARPED_PRESSURE_PLATE);
ItemType IRON_DOOR = asItemType(Material.IRON_DOOR); ItemType IRON_DOOR = asItemType(Material.IRON_DOOR);
@ -674,6 +686,7 @@ public interface ItemType extends Material {
ItemType ACACIA_DOOR = asItemType(Material.ACACIA_DOOR); ItemType ACACIA_DOOR = asItemType(Material.ACACIA_DOOR);
ItemType DARK_OAK_DOOR = asItemType(Material.DARK_OAK_DOOR); ItemType DARK_OAK_DOOR = asItemType(Material.DARK_OAK_DOOR);
ItemType MANGROVE_DOOR = asItemType(Material.MANGROVE_DOOR); ItemType MANGROVE_DOOR = asItemType(Material.MANGROVE_DOOR);
ItemType BAMBOO_DOOR = asItemType(Material.BAMBOO_DOOR);
ItemType CRIMSON_DOOR = asItemType(Material.CRIMSON_DOOR); ItemType CRIMSON_DOOR = asItemType(Material.CRIMSON_DOOR);
ItemType WARPED_DOOR = asItemType(Material.WARPED_DOOR); ItemType WARPED_DOOR = asItemType(Material.WARPED_DOOR);
ItemType IRON_TRAPDOOR = asItemType(Material.IRON_TRAPDOOR); ItemType IRON_TRAPDOOR = asItemType(Material.IRON_TRAPDOOR);
@ -684,6 +697,7 @@ public interface ItemType extends Material {
ItemType ACACIA_TRAPDOOR = asItemType(Material.ACACIA_TRAPDOOR); ItemType ACACIA_TRAPDOOR = asItemType(Material.ACACIA_TRAPDOOR);
ItemType DARK_OAK_TRAPDOOR = asItemType(Material.DARK_OAK_TRAPDOOR); ItemType DARK_OAK_TRAPDOOR = asItemType(Material.DARK_OAK_TRAPDOOR);
ItemType MANGROVE_TRAPDOOR = asItemType(Material.MANGROVE_TRAPDOOR); ItemType MANGROVE_TRAPDOOR = asItemType(Material.MANGROVE_TRAPDOOR);
ItemType BAMBOO_TRAPDOOR = asItemType(Material.BAMBOO_TRAPDOOR);
ItemType CRIMSON_TRAPDOOR = asItemType(Material.CRIMSON_TRAPDOOR); ItemType CRIMSON_TRAPDOOR = asItemType(Material.CRIMSON_TRAPDOOR);
ItemType WARPED_TRAPDOOR = asItemType(Material.WARPED_TRAPDOOR); ItemType WARPED_TRAPDOOR = asItemType(Material.WARPED_TRAPDOOR);
ItemType OAK_FENCE_GATE = asItemType(Material.OAK_FENCE_GATE); ItemType OAK_FENCE_GATE = asItemType(Material.OAK_FENCE_GATE);
@ -693,6 +707,7 @@ public interface ItemType extends Material {
ItemType ACACIA_FENCE_GATE = asItemType(Material.ACACIA_FENCE_GATE); ItemType ACACIA_FENCE_GATE = asItemType(Material.ACACIA_FENCE_GATE);
ItemType DARK_OAK_FENCE_GATE = asItemType(Material.DARK_OAK_FENCE_GATE); ItemType DARK_OAK_FENCE_GATE = asItemType(Material.DARK_OAK_FENCE_GATE);
ItemType MANGROVE_FENCE_GATE = asItemType(Material.MANGROVE_FENCE_GATE); ItemType MANGROVE_FENCE_GATE = asItemType(Material.MANGROVE_FENCE_GATE);
ItemType BAMBOO_FENCE_GATE = asItemType(Material.BAMBOO_FENCE_GATE);
ItemType CRIMSON_FENCE_GATE = asItemType(Material.CRIMSON_FENCE_GATE); ItemType CRIMSON_FENCE_GATE = asItemType(Material.CRIMSON_FENCE_GATE);
ItemType WARPED_FENCE_GATE = asItemType(Material.WARPED_FENCE_GATE); ItemType WARPED_FENCE_GATE = asItemType(Material.WARPED_FENCE_GATE);
ItemType POWERED_RAIL = asItemType(Material.POWERED_RAIL); ItemType POWERED_RAIL = asItemType(Material.POWERED_RAIL);
@ -722,6 +737,8 @@ public interface ItemType extends Material {
ItemType DARK_OAK_CHEST_BOAT = asItemType(Material.DARK_OAK_CHEST_BOAT); ItemType DARK_OAK_CHEST_BOAT = asItemType(Material.DARK_OAK_CHEST_BOAT);
ItemType MANGROVE_BOAT = asItemType(Material.MANGROVE_BOAT); ItemType MANGROVE_BOAT = asItemType(Material.MANGROVE_BOAT);
ItemType MANGROVE_CHEST_BOAT = asItemType(Material.MANGROVE_CHEST_BOAT); ItemType MANGROVE_CHEST_BOAT = asItemType(Material.MANGROVE_CHEST_BOAT);
ItemType BAMBOO_RAFT = asItemType(Material.BAMBOO_RAFT);
ItemType BAMBOO_CHEST_RAFT = asItemType(Material.BAMBOO_CHEST_RAFT);
ItemType STRUCTURE_BLOCK = asItemType(Material.STRUCTURE_BLOCK); ItemType STRUCTURE_BLOCK = asItemType(Material.STRUCTURE_BLOCK);
ItemType JIGSAW = asItemType(Material.JIGSAW); ItemType JIGSAW = asItemType(Material.JIGSAW);
ItemType TURTLE_HELMET = asItemType(Material.TURTLE_HELMET); ItemType TURTLE_HELMET = asItemType(Material.TURTLE_HELMET);
@ -821,8 +838,19 @@ public interface ItemType extends Material {
ItemType ACACIA_SIGN = asItemType(Material.ACACIA_SIGN); ItemType ACACIA_SIGN = asItemType(Material.ACACIA_SIGN);
ItemType DARK_OAK_SIGN = asItemType(Material.DARK_OAK_SIGN); ItemType DARK_OAK_SIGN = asItemType(Material.DARK_OAK_SIGN);
ItemType MANGROVE_SIGN = asItemType(Material.MANGROVE_SIGN); ItemType MANGROVE_SIGN = asItemType(Material.MANGROVE_SIGN);
ItemType BAMBOO_SIGN = asItemType(Material.BAMBOO_SIGN);
ItemType CRIMSON_SIGN = asItemType(Material.CRIMSON_SIGN); ItemType CRIMSON_SIGN = asItemType(Material.CRIMSON_SIGN);
ItemType WARPED_SIGN = asItemType(Material.WARPED_SIGN); ItemType WARPED_SIGN = asItemType(Material.WARPED_SIGN);
ItemType OAK_HANGING_SIGN = asItemType(Material.OAK_HANGING_SIGN);
ItemType SPRUCE_HANGING_SIGN = asItemType(Material.SPRUCE_HANGING_SIGN);
ItemType BIRCH_HANGING_SIGN = asItemType(Material.BIRCH_HANGING_SIGN);
ItemType JUNGLE_HANGING_SIGN = asItemType(Material.JUNGLE_HANGING_SIGN);
ItemType ACACIA_HANGING_SIGN = asItemType(Material.ACACIA_HANGING_SIGN);
ItemType DARK_OAK_HANGING_SIGN = asItemType(Material.DARK_OAK_HANGING_SIGN);
ItemType MANGROVE_HANGING_SIGN = asItemType(Material.MANGROVE_HANGING_SIGN);
ItemType BAMBOO_HANGING_SIGN = asItemType(Material.BAMBOO_HANGING_SIGN);
ItemType CRIMSON_HANGING_SIGN = asItemType(Material.CRIMSON_HANGING_SIGN);
ItemType WARPED_HANGING_SIGN = asItemType(Material.WARPED_HANGING_SIGN);
ItemType BUCKET = asItemType(Material.BUCKET); ItemType BUCKET = asItemType(Material.BUCKET);
ItemType WATER_BUCKET = asItemType(Material.WATER_BUCKET); ItemType WATER_BUCKET = asItemType(Material.WATER_BUCKET);
ItemType LAVA_BUCKET = asItemType(Material.LAVA_BUCKET); ItemType LAVA_BUCKET = asItemType(Material.LAVA_BUCKET);
@ -928,6 +956,7 @@ public interface ItemType extends Material {
ItemType BEE_SPAWN_EGG = asItemType(Material.BEE_SPAWN_EGG); ItemType BEE_SPAWN_EGG = asItemType(Material.BEE_SPAWN_EGG);
ItemType BLAZE_SPAWN_EGG = asItemType(Material.BLAZE_SPAWN_EGG); ItemType BLAZE_SPAWN_EGG = asItemType(Material.BLAZE_SPAWN_EGG);
ItemType CAT_SPAWN_EGG = asItemType(Material.CAT_SPAWN_EGG); ItemType CAT_SPAWN_EGG = asItemType(Material.CAT_SPAWN_EGG);
ItemType CAMEL_SPAWN_EGG = asItemType(Material.CAMEL_SPAWN_EGG);
ItemType CAVE_SPIDER_SPAWN_EGG = asItemType(Material.CAVE_SPIDER_SPAWN_EGG); ItemType CAVE_SPIDER_SPAWN_EGG = asItemType(Material.CAVE_SPIDER_SPAWN_EGG);
ItemType CHICKEN_SPAWN_EGG = asItemType(Material.CHICKEN_SPAWN_EGG); ItemType CHICKEN_SPAWN_EGG = asItemType(Material.CHICKEN_SPAWN_EGG);
ItemType COD_SPAWN_EGG = asItemType(Material.COD_SPAWN_EGG); ItemType COD_SPAWN_EGG = asItemType(Material.COD_SPAWN_EGG);
@ -937,6 +966,7 @@ public interface ItemType extends Material {
ItemType DONKEY_SPAWN_EGG = asItemType(Material.DONKEY_SPAWN_EGG); ItemType DONKEY_SPAWN_EGG = asItemType(Material.DONKEY_SPAWN_EGG);
ItemType DROWNED_SPAWN_EGG = asItemType(Material.DROWNED_SPAWN_EGG); ItemType DROWNED_SPAWN_EGG = asItemType(Material.DROWNED_SPAWN_EGG);
ItemType ELDER_GUARDIAN_SPAWN_EGG = asItemType(Material.ELDER_GUARDIAN_SPAWN_EGG); ItemType ELDER_GUARDIAN_SPAWN_EGG = asItemType(Material.ELDER_GUARDIAN_SPAWN_EGG);
ItemType ENDER_DRAGON_SPAWN_EGG = asItemType(Material.ENDER_DRAGON_SPAWN_EGG);
ItemType ENDERMAN_SPAWN_EGG = asItemType(Material.ENDERMAN_SPAWN_EGG); ItemType ENDERMAN_SPAWN_EGG = asItemType(Material.ENDERMAN_SPAWN_EGG);
ItemType ENDERMITE_SPAWN_EGG = asItemType(Material.ENDERMITE_SPAWN_EGG); ItemType ENDERMITE_SPAWN_EGG = asItemType(Material.ENDERMITE_SPAWN_EGG);
ItemType EVOKER_SPAWN_EGG = asItemType(Material.EVOKER_SPAWN_EGG); ItemType EVOKER_SPAWN_EGG = asItemType(Material.EVOKER_SPAWN_EGG);
@ -949,6 +979,7 @@ public interface ItemType extends Material {
ItemType HOGLIN_SPAWN_EGG = asItemType(Material.HOGLIN_SPAWN_EGG); ItemType HOGLIN_SPAWN_EGG = asItemType(Material.HOGLIN_SPAWN_EGG);
ItemType HORSE_SPAWN_EGG = asItemType(Material.HORSE_SPAWN_EGG); ItemType HORSE_SPAWN_EGG = asItemType(Material.HORSE_SPAWN_EGG);
ItemType HUSK_SPAWN_EGG = asItemType(Material.HUSK_SPAWN_EGG); ItemType HUSK_SPAWN_EGG = asItemType(Material.HUSK_SPAWN_EGG);
ItemType IRON_GOLEM_SPAWN_EGG = asItemType(Material.IRON_GOLEM_SPAWN_EGG);
ItemType LLAMA_SPAWN_EGG = asItemType(Material.LLAMA_SPAWN_EGG); ItemType LLAMA_SPAWN_EGG = asItemType(Material.LLAMA_SPAWN_EGG);
ItemType MAGMA_CUBE_SPAWN_EGG = asItemType(Material.MAGMA_CUBE_SPAWN_EGG); ItemType MAGMA_CUBE_SPAWN_EGG = asItemType(Material.MAGMA_CUBE_SPAWN_EGG);
ItemType MOOSHROOM_SPAWN_EGG = asItemType(Material.MOOSHROOM_SPAWN_EGG); ItemType MOOSHROOM_SPAWN_EGG = asItemType(Material.MOOSHROOM_SPAWN_EGG);
@ -972,6 +1003,7 @@ public interface ItemType extends Material {
ItemType SKELETON_SPAWN_EGG = asItemType(Material.SKELETON_SPAWN_EGG); ItemType SKELETON_SPAWN_EGG = asItemType(Material.SKELETON_SPAWN_EGG);
ItemType SKELETON_HORSE_SPAWN_EGG = asItemType(Material.SKELETON_HORSE_SPAWN_EGG); ItemType SKELETON_HORSE_SPAWN_EGG = asItemType(Material.SKELETON_HORSE_SPAWN_EGG);
ItemType SLIME_SPAWN_EGG = asItemType(Material.SLIME_SPAWN_EGG); ItemType SLIME_SPAWN_EGG = asItemType(Material.SLIME_SPAWN_EGG);
ItemType SNOW_GOLEM_SPAWN_EGG = asItemType(Material.SNOW_GOLEM_SPAWN_EGG);
ItemType SPIDER_SPAWN_EGG = asItemType(Material.SPIDER_SPAWN_EGG); ItemType SPIDER_SPAWN_EGG = asItemType(Material.SPIDER_SPAWN_EGG);
ItemType SQUID_SPAWN_EGG = asItemType(Material.SQUID_SPAWN_EGG); ItemType SQUID_SPAWN_EGG = asItemType(Material.SQUID_SPAWN_EGG);
ItemType STRAY_SPAWN_EGG = asItemType(Material.STRAY_SPAWN_EGG); ItemType STRAY_SPAWN_EGG = asItemType(Material.STRAY_SPAWN_EGG);
@ -986,6 +1018,7 @@ public interface ItemType extends Material {
ItemType WANDERING_TRADER_SPAWN_EGG = asItemType(Material.WANDERING_TRADER_SPAWN_EGG); ItemType WANDERING_TRADER_SPAWN_EGG = asItemType(Material.WANDERING_TRADER_SPAWN_EGG);
ItemType WARDEN_SPAWN_EGG = asItemType(Material.WARDEN_SPAWN_EGG); ItemType WARDEN_SPAWN_EGG = asItemType(Material.WARDEN_SPAWN_EGG);
ItemType WITCH_SPAWN_EGG = asItemType(Material.WITCH_SPAWN_EGG); ItemType WITCH_SPAWN_EGG = asItemType(Material.WITCH_SPAWN_EGG);
ItemType WITHER_SPAWN_EGG = asItemType(Material.WITHER_SPAWN_EGG);
ItemType WITHER_SKELETON_SPAWN_EGG = asItemType(Material.WITHER_SKELETON_SPAWN_EGG); ItemType WITHER_SKELETON_SPAWN_EGG = asItemType(Material.WITHER_SKELETON_SPAWN_EGG);
ItemType WOLF_SPAWN_EGG = asItemType(Material.WOLF_SPAWN_EGG); ItemType WOLF_SPAWN_EGG = asItemType(Material.WOLF_SPAWN_EGG);
ItemType ZOGLIN_SPAWN_EGG = asItemType(Material.ZOGLIN_SPAWN_EGG); ItemType ZOGLIN_SPAWN_EGG = asItemType(Material.ZOGLIN_SPAWN_EGG);
@ -1012,6 +1045,7 @@ public interface ItemType extends Material {
ItemType ZOMBIE_HEAD = asItemType(Material.ZOMBIE_HEAD); ItemType ZOMBIE_HEAD = asItemType(Material.ZOMBIE_HEAD);
ItemType CREEPER_HEAD = asItemType(Material.CREEPER_HEAD); ItemType CREEPER_HEAD = asItemType(Material.CREEPER_HEAD);
ItemType DRAGON_HEAD = asItemType(Material.DRAGON_HEAD); ItemType DRAGON_HEAD = asItemType(Material.DRAGON_HEAD);
ItemType PIGLIN_HEAD = asItemType(Material.PIGLIN_HEAD);
ItemType NETHER_STAR = asItemType(Material.NETHER_STAR); ItemType NETHER_STAR = asItemType(Material.NETHER_STAR);
ItemType PUMPKIN_PIE = asItemType(Material.PUMPKIN_PIE); ItemType PUMPKIN_PIE = asItemType(Material.PUMPKIN_PIE);
ItemType FIREWORK_ROCKET = asItemType(Material.FIREWORK_ROCKET); ItemType FIREWORK_ROCKET = asItemType(Material.FIREWORK_ROCKET);
@ -1249,4 +1283,14 @@ public interface ItemType extends Material {
*/ */
@Nullable @Nullable
CreativeCategory getCreativeCategory(); CreativeCategory getCreativeCategory();
/**
* Get the translation key of the item associated with this material, or
* null if this material does not have an associated item.
*
* @return the translation key of the item associated with this material, or
* null if this material does not have an associated item
*/
@Nullable
String getItemTranslationKey();
} }