Package org.bukkit.loot
Enum Class LootTables
- All Implemented Interfaces:
Serializable
,Comparable<LootTables>
,Constable
,Keyed
This enum holds a list of all known
See the Minecraft Wiki for more information on loot tables.
LootTable
s offered by Mojang.
This list is not guaranteed to be accurate in future versions.
See the Minecraft Wiki for more information on loot tables.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Return the namespaced identifier for this object.Get theLootTable
corresponding to this constant.static LootTables
Returns the enum constant of this class with the specified name.static LootTables[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EMPTY
-
ABANDONED_MINESHAFT
-
BURIED_TREASURE
-
DESERT_PYRAMID
-
END_CITY_TREASURE
-
IGLOO_CHEST
-
JUNGLE_TEMPLE
-
JUNGLE_TEMPLE_DISPENSER
-
NETHER_BRIDGE
-
PILLAGER_OUTPOST
-
BASTION_TREASURE
-
BASTION_OTHER
-
BASTION_BRIDGE
-
BASTION_HOGLIN_STABLE
-
ANCIENT_CITY
-
ANCIENT_CITY_ICE_BOX
-
RUINED_PORTAL
-
TRIAL_CHAMBERS_REWARD
-
TRIAL_CHAMBERS_SUPPLY
-
TRIAL_CHAMBERS_CORRIDOR
-
TRIAL_CHAMBERS_INTERSECTION
-
TRIAL_CHAMBERS_INTERSECTION_BARREL
-
TRIAL_CHAMBERS_ENTRANCE
-
TRIAL_CHAMBERS_CORRIDOR_DISPENSER
-
TRIAL_CHAMBERS_CHAMBER_DISPENSER
-
TRIAL_CHAMBERS_WATER_DISPENSER
-
TRIAL_CHAMBERS_CORRIDOR_POT
-
SHIPWRECK_MAP
-
SHIPWRECK_SUPPLY
-
SHIPWRECK_TREASURE
-
SIMPLE_DUNGEON
-
SPAWN_BONUS_CHEST
-
STRONGHOLD_CORRIDOR
-
STRONGHOLD_CROSSING
-
STRONGHOLD_LIBRARY
-
UNDERWATER_RUIN_BIG
-
UNDERWATER_RUIN_SMALL
-
VILLAGE_ARMORER
-
VILLAGE_BUTCHER
-
VILLAGE_CARTOGRAPHER
-
VILLAGE_DESERT_HOUSE
-
VILLAGE_FISHER
-
VILLAGE_FLETCHER
-
VILLAGE_MASON
-
VILLAGE_PLAINS_HOUSE
-
VILLAGE_SAVANNA_HOUSE
-
VILLAGE_SHEPHERD
-
VILLAGE_SNOWY_HOUSE
-
VILLAGE_TAIGA_HOUSE
-
VILLAGE_TANNERY
-
VILLAGE_TEMPLE
-
VILLAGE_TOOLSMITH
-
VILLAGE_WEAPONSMITH
-
WOODLAND_MANSION
-
ARMOR_STAND
-
AXOLOTL
-
BAT
-
BEE
-
BLAZE
-
CAT
-
CAVE_SPIDER
-
CHICKEN
-
COD
-
COW
-
CREEPER
-
DOLPHIN
-
DONKEY
-
DROWNED
-
ELDER_GUARDIAN
-
ENDER_DRAGON
-
ENDERMAN
-
ENDERMITE
-
EVOKER
-
FOX
-
GHAST
-
GIANT
-
GLOW_SQUID
-
GOAT
-
GUARDIAN
-
HOGLIN
-
HORSE
-
HUSK
-
ILLUSIONER
-
IRON_GOLEM
-
LLAMA
-
MAGMA_CUBE
-
MOOSHROOM
-
MULE
-
OCELOT
-
PANDA
-
PARROT
-
PHANTOM
-
PIG
-
PIGLIN
-
PIGLIN_BRUTE
-
PILLAGER
-
PLAYER
-
POLAR_BEAR
-
PUFFERFISH
-
RABBIT
-
RAVAGER
-
SALMON
-
SHULKER
-
SILVERFISH
-
SKELETON
-
SKELETON_HORSE
-
SLIME
-
SNOW_GOLEM
-
SPIDER
-
SQUID
-
STRAY
-
STRIDER
-
TRADER_LLAMA
-
TROPICAL_FISH
-
TURTLE
-
VEX
-
VILLAGER
-
VINDICATOR
-
WANDERING_TRADER
-
WITCH
-
WITHER
-
WITHER_SKELETON
-
WOLF
-
ZOGLIN
-
ZOMBIE
-
ZOMBIE_HORSE
-
ZOMBIE_VILLAGER
-
ZOMBIFIED_PIGLIN
-
ARMORER_GIFT
-
BUTCHER_GIFT
-
CARTOGRAPHER_GIFT
-
CAT_MORNING_GIFT
-
CLERIC_GIFT
-
FARMER_GIFT
-
FISHERMAN_GIFT
-
FISHING
-
FISHING_FISH
-
FISHING_JUNK
-
FISHING_TREASURE
-
FLETCHER_GIFT
-
LEATHERWORKER_GIFT
-
LIBRARIAN_GIFT
-
MASON_GIFT
-
SHEPHERD_GIFT
-
TOOLSMITH_GIFT
-
WEAPONSMITH_GIFT
-
SNIFFER_DIGGING
-
PIGLIN_BARTERING
-
TRIAL_CHAMBER_KEY
-
TRIAL_CHAMBER_CONSUMABLES
-
DESERT_WELL_ARCHAEOLOGY
-
DESERT_PYRAMID_ARCHAEOLOGY
-
TRAIL_RUINS_ARCHAEOLOGY_COMMON
-
TRAIL_RUINS_ARCHAEOLOGY_RARE
-
OCEAN_RUIN_WARM_ARCHAEOLOGY
-
OCEAN_RUIN_COLD_ARCHAEOLOGY
-
SHEEP
-
SHEEP_BLACK
-
SHEEP_BLUE
-
SHEEP_BROWN
-
SHEEP_CYAN
-
SHEEP_GRAY
-
SHEEP_GREEN
-
SHEEP_LIGHT_BLUE
-
SHEEP_LIGHT_GRAY
-
SHEEP_LIME
-
SHEEP_MAGENTA
-
SHEEP_ORANGE
-
SHEEP_PINK
-
SHEEP_PURPLE
-
SHEEP_RED
-
SHEEP_WHITE
-
SHEEP_YELLOW
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getKey
Description copied from interface:Keyed
Return the namespaced identifier for this object. -
getLootTable
Get theLootTable
corresponding to this constant. This is equivalent to callingBukkit.getLootTable(this.getKey());
.- Returns:
- the associated LootTable
-