Uses of Class
net.minecraft.world.level.storage.loot.LootTable
Package
Description
Classes for NeoForge's own data generation.
-
Uses of LootTable in net.minecraft.advancements
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder
<ResourceKey<LootTable>> AdvancementRewards.Builder.loot
private final List
<ResourceKey<LootTable>> AdvancementRewards.loot
The field for theloot
record component.Modifier and TypeMethodDescriptionAdvancementRewards.loot()
Returns the value of theloot
record component.Modifier and TypeMethodDescriptionAdvancementRewards.Builder.addLootTable
(ResourceKey<LootTable> p_335822_) static AdvancementRewards.Builder
AdvancementRewards.Builder.loot
(ResourceKey<LootTable> p_335493_) ModifierConstructorDescriptionAdvancementRewards
(int experience, List<ResourceKey<LootTable>> loot, List<ResourceLocation> recipes, Optional<CacheableFunction> function) Creates an instance of aAdvancementRewards
record class. -
Uses of LootTable in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final ResourceKey
<LootTable> LootTableTrigger.TriggerInstance.lootTable
The field for thelootTable
record component.Modifier and TypeMethodDescriptionLootTableTrigger.TriggerInstance.lootTable()
Returns the value of thelootTable
record component.Modifier and TypeMethodDescriptionLootTableTrigger.TriggerInstance.lootTableUsed
(ResourceKey<LootTable> p_335395_) boolean
LootTableTrigger.TriggerInstance.matches
(ResourceKey<LootTable> p_335509_) void
LootTableTrigger.trigger
(ServerPlayer p_54598_, ResourceKey<LootTable> p_335591_) ModifierConstructorDescriptionTriggerInstance
(Optional<ContextAwarePredicate> player, ResourceKey<LootTable> lootTable) Creates an instance of aTriggerInstance
record class. -
Uses of LootTable in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionResourceOrIdArgument.getLootTable
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_335373_, String p_336017_) -
Uses of LootTable in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<LootTable>> Registries.LOOT_TABLE
-
Uses of LootTable in net.minecraft.data.loot
Modifier and TypeFieldDescriptionprotected final Map
<ResourceKey<LootTable>, LootTable.Builder> BlockLootSubProvider.map
private final Map
<EntityType<?>, Map<ResourceKey<LootTable>, LootTable.Builder>> EntityLootSubProvider.map
private final Set
<ResourceKey<LootTable>> LootTableProvider.requiredTables
Modifier and TypeMethodDescriptionprotected void
EntityLootSubProvider.add
(EntityType<?> p_252130_, ResourceKey<LootTable> p_335943_, LootTable.Builder p_249357_) void
BlockLootSubProvider.generate
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_249322_) void
EntityLootSubProvider.generate
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_251751_) void
LootTableSubProvider.generate
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_249643_) private static ResourceLocation
LootTableProvider.sequenceIdForLootTable
(ResourceKey<LootTable> p_336172_) protected void
LootTableProvider.validate
(WritableRegistry<LootTable> writableregistry, ValidationContext validationcontext, ProblemReporter.Collector problemreporter$collector) ModifierConstructorDescriptionprotected
BlockLootSubProvider
(Set<Item> p_281507_, FeatureFlagSet p_283552_, Map<ResourceKey<LootTable>, LootTable.Builder> p_282212_, HolderLookup.Provider p_345191_) LootTableProvider
(PackOutput p_254123_, Set<ResourceKey<LootTable>> p_254481_, List<LootTableProvider.SubProviderEntry> p_253798_, CompletableFuture<HolderLookup.Provider> p_323798_) -
Uses of LootTable in net.minecraft.data.loot.packs
Modifier and TypeMethodDescriptionvoid
TradeRebalanceChestLoot.generate
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_301981_) void
VanillaArchaeologyLoot.generate
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_278066_) void
VanillaChestLoot.generate
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250931_) void
VanillaEquipmentLoot.generate
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_338322_) void
VanillaFishingLoot.generate
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_249559_) void
VanillaGiftLoot.generate
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250831_) void
VanillaPiglinBarterLoot.generate
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250176_) void
VanillaShearingLoot.generate
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_332018_) void
VanillaChestLoot.spawnerLootTables
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_311958_) -
Uses of LootTable in net.minecraft.data.worldgen
Modifier and TypeMethodDescriptionprivate static CappedProcessor
ProcessorLists.trailsArchyLootProcessor
(ResourceKey<LootTable> p_335512_, int p_281868_) -
Uses of LootTable in net.minecraft.server
Modifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getLootTable
(ResourceKey<LootTable> p_335504_) Modifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getLootTable
(ResourceKey<LootTable> p_335504_) -
Uses of LootTable in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static void
LootCommand.callback
(CommandSourceStack p_137969_, List<ItemStack> p_137970_, ResourceKey<LootTable> p_336191_) private static int
LootCommand.drop
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_287721_, Holder<LootTable> p_335766_, LootParams p_287728_, LootCommand.DropConsumer p_287770_) private static int
LootCommand.dropChestLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137933_, Holder<LootTable> p_336054_, LootCommand.DropConsumer p_137935_) private static int
LootCommand.dropFishingLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137927_, Holder<LootTable> p_335944_, BlockPos p_137929_, ItemStack p_137930_, LootCommand.DropConsumer p_137931_) -
Uses of LootTable in net.minecraft.world
Modifier and TypeMethodDescriptionstatic void
RandomizableContainer.setBlockEntityLootTable
(BlockGetter p_309623_, RandomSource p_309643_, BlockPos p_309644_, ResourceKey<LootTable> p_335924_) void
RandomizableContainer.setLootTable
(ResourceKey<LootTable> p_335578_) default void
RandomizableContainer.setLootTable
(ResourceKey<LootTable> p_335762_, long p_335967_) -
Uses of LootTable in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate ResourceKey
<LootTable> EntityType.lootTable
private final ResourceKey
<LootTable> EquipmentTable.lootTable
The field for thelootTable
record component.private ResourceKey
<LootTable> Mob.lootTable
Modifier and TypeMethodDescriptionEntityType.getDefaultLootTable()
protected ResourceKey
<LootTable> Mob.getDefaultLootTable()
LivingEntity.getLootTable()
final ResourceKey
<LootTable> Mob.getLootTable()
EquipmentTable.lootTable()
Returns the value of thelootTable
record component.Modifier and TypeMethodDescriptiondefault void
EquipmentUser.equip
(ResourceKey<LootTable> p_340873_, LootParams p_338202_, long p_341024_, Map<EquipmentSlot, Float> p_341367_) default void
EquipmentUser.equip
(ResourceKey<LootTable> p_341330_, LootParams p_340863_, Map<EquipmentSlot, Float> p_341011_) void
Mob.equip
(ResourceKey<LootTable> p_340912_, Map<EquipmentSlot, Float> p_340996_) ModifierConstructorDescriptionEquipmentTable
(ResourceKey<LootTable> lootTable, Map<EquipmentSlot, Float> slotDropChances) Creates an instance of aEquipmentTable
record class. -
Uses of LootTable in net.minecraft.world.entity.ai.behavior
Modifier and TypeFieldDescriptionprivate static final Map
<VillagerProfession, ResourceKey<LootTable>> GiveGiftToHero.GIFTS
Deprecated. -
Uses of LootTable in net.minecraft.world.entity.animal
-
Uses of LootTable in net.minecraft.world.entity.vehicle
Modifier and TypeFieldDescriptionprivate ResourceKey
<LootTable> AbstractMinecartContainer.lootTable
private ResourceKey
<LootTable> ChestBoat.lootTable
Modifier and TypeMethodDescriptionAbstractMinecartContainer.getLootTable()
ChestBoat.getLootTable()
ContainerEntity.getLootTable()
Modifier and TypeMethodDescriptionvoid
AbstractMinecartContainer.setLootTable
(ResourceKey<LootTable> p_336075_) void
AbstractMinecartContainer.setLootTable
(ResourceKey<LootTable> p_335456_, long p_38238_) void
ChestBoat.setLootTable
(ResourceKey<LootTable> p_335715_) void
ContainerEntity.setLootTable
(ResourceKey<LootTable> p_336019_) -
Uses of LootTable in net.minecraft.world.item.component
Modifier and TypeFieldDescriptionprivate final ResourceKey
<LootTable> SeededContainerLoot.lootTable
The field for thelootTable
record component.Modifier and TypeMethodDescriptionSeededContainerLoot.lootTable()
Returns the value of thelootTable
record component.ModifierConstructorDescriptionSeededContainerLoot
(ResourceKey<LootTable> lootTable, long seed) Creates an instance of aSeededContainerLoot
record class. -
Uses of LootTable in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionprivate ResourceKey
<LootTable> BrushableBlockEntity.lootTable
protected ResourceKey
<LootTable> DecoratedPotBlockEntity.lootTable
protected ResourceKey
<LootTable> RandomizableContainerBlockEntity.lootTable
Modifier and TypeMethodDescriptionDecoratedPotBlockEntity.getLootTable()
RandomizableContainerBlockEntity.getLootTable()
Modifier and TypeMethodDescriptionvoid
BrushableBlockEntity.setLootTable
(ResourceKey<LootTable> p_335433_, long p_277991_) void
DecoratedPotBlockEntity.setLootTable
(ResourceKey<LootTable> p_336080_) void
RandomizableContainerBlockEntity.setLootTable
(ResourceKey<LootTable> p_335597_) -
Uses of LootTable in net.minecraft.world.level.block.entity.trialspawner
Modifier and TypeFieldDescriptionprotected Optional
<ResourceKey<LootTable>> TrialSpawnerData.ejectingLootTable
private final ResourceKey
<LootTable> TrialSpawnerConfig.itemsToDropWhenOminous
The field for theitemsToDropWhenOminous
record component.private final SimpleWeightedRandomList
<ResourceKey<LootTable>> TrialSpawnerConfig.lootTablesToEject
The field for thelootTablesToEject
record component.Modifier and TypeMethodDescriptionTrialSpawnerConfig.itemsToDropWhenOminous()
Returns the value of theitemsToDropWhenOminous
record component.TrialSpawnerConfig.lootTablesToEject()
Returns the value of thelootTablesToEject
record component.Modifier and TypeMethodDescriptionvoid
TrialSpawner.ejectReward
(ServerLevel p_312892_, BlockPos p_312668_, ResourceKey<LootTable> p_335942_) ModifierConstructorDescriptionTrialSpawnerConfig
(int spawnRange, float totalMobs, float simultaneousMobs, float totalMobsAddedPerPlayer, float simultaneousMobsAddedPerPlayer, int ticksBetweenSpawn, SimpleWeightedRandomList<SpawnData> spawnPotentialsDefinition, SimpleWeightedRandomList<ResourceKey<LootTable>> lootTablesToEject, ResourceKey<LootTable> itemsToDropWhenOminous) Creates an instance of aTrialSpawnerConfig
record class. -
Uses of LootTable in net.minecraft.world.level.block.entity.vault
Modifier and TypeFieldDescriptionprivate final ResourceKey
<LootTable> VaultConfig.lootTable
The field for thelootTable
record component.private final Optional
<ResourceKey<LootTable>> VaultConfig.overrideLootTableToDisplay
The field for theoverrideLootTableToDisplay
record component.Modifier and TypeMethodDescriptionVaultConfig.lootTable()
Returns the value of thelootTable
record component.VaultConfig.overrideLootTableToDisplay()
Returns the value of theoverrideLootTableToDisplay
record component.Modifier and TypeMethodDescriptionprivate static ItemStack
VaultBlockEntity.Server.getRandomDisplayItemFromLootTable
(ServerLevel p_323781_, BlockPos p_324109_, ResourceKey<LootTable> p_336119_) ModifierConstructorDescriptionVaultConfig
(ResourceKey<LootTable> p_335999_, double p_323704_, double p_323499_, ItemStack p_323661_, Optional<ResourceKey<LootTable>> p_323481_) VaultConfig
(ResourceKey<LootTable> p_335999_, double p_323704_, double p_323499_, ItemStack p_323661_, Optional<ResourceKey<LootTable>> p_323481_) VaultConfig
(ResourceKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<ResourceKey<LootTable>> overrideLootTableToDisplay, PlayerDetector playerDetector, PlayerDetector.EntitySelector entitySelector) Creates an instance of aVaultConfig
record class.VaultConfig
(ResourceKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<ResourceKey<LootTable>> overrideLootTableToDisplay, PlayerDetector playerDetector, PlayerDetector.EntitySelector entitySelector) Creates an instance of aVaultConfig
record class. -
Uses of LootTable in net.minecraft.world.level.block.state
Modifier and TypeFieldDescriptionprotected ResourceKey
<LootTable> BlockBehaviour.drops
(package private) ResourceKey
<LootTable> BlockBehaviour.Properties.drops
private final Supplier
<ResourceKey<LootTable>> BlockBehaviour.lootTableSupplier
private Supplier
<ResourceKey<LootTable>> BlockBehaviour.Properties.lootTableSupplier
-
Uses of LootTable in net.minecraft.world.level.levelgen.structure
Modifier and TypeMethodDescriptionprotected boolean
StructurePiece.createChest
(ServerLevelAccessor p_226763_, BoundingBox p_226764_, RandomSource p_226765_, BlockPos p_226766_, ResourceKey<LootTable> p_335513_, BlockState p_226768_) protected boolean
StructurePiece.createChest
(WorldGenLevel p_226812_, BoundingBox p_226813_, RandomSource p_226814_, int p_226815_, int p_226816_, int p_226817_, ResourceKey<LootTable> p_335835_) protected boolean
StructurePiece.createDispenser
(WorldGenLevel p_226820_, BoundingBox p_226821_, RandomSource p_226822_, int p_226823_, int p_226824_, int p_226825_, Direction p_226826_, ResourceKey<LootTable> p_336026_) -
Uses of LootTable in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeFieldDescription(package private) static final Map
<String, ResourceKey<LootTable>> ShipwreckPieces.MARKERS_TO_LOOT
Modifier and TypeMethodDescriptionprivate static StructureProcessor
OceanRuinPieces.archyRuleProcessor
(Block p_277376_, Block p_277934_, ResourceKey<LootTable> p_335398_) protected boolean
MineshaftPieces.MineShaftCorridor.createChest
(WorldGenLevel p_227787_, BoundingBox p_227788_, RandomSource p_227789_, int p_227790_, int p_227791_, int p_227792_, ResourceKey<LootTable> p_335869_) -
Uses of LootTable in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity
-
Uses of LootTable in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionstatic final ResourceKey
<LootTable> BuiltInLootTables.ABANDONED_MINESHAFT
static final ResourceKey
<LootTable> BuiltInLootTables.ANCIENT_CITY
static final ResourceKey
<LootTable> BuiltInLootTables.ANCIENT_CITY_ICE_BOX
static final ResourceKey
<LootTable> BuiltInLootTables.ARMORER_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.BASTION_BRIDGE
static final ResourceKey
<LootTable> BuiltInLootTables.BASTION_HOGLIN_STABLE
static final ResourceKey
<LootTable> BuiltInLootTables.BASTION_OTHER
static final ResourceKey
<LootTable> BuiltInLootTables.BASTION_TREASURE
static final ResourceKey
<LootTable> BuiltInLootTables.BOGGED_SHEAR
static final ResourceKey
<LootTable> BuiltInLootTables.BURIED_TREASURE
static final ResourceKey
<LootTable> BuiltInLootTables.BUTCHER_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.CARTOGRAPHER_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.CAT_MORNING_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.CLERIC_GIFT
LootTable.CODEC
static final ResourceKey
<LootTable> BuiltInLootTables.DESERT_PYRAMID
static final ResourceKey
<LootTable> BuiltInLootTables.DESERT_PYRAMID_ARCHAEOLOGY
static final ResourceKey
<LootTable> BuiltInLootTables.DESERT_WELL_ARCHAEOLOGY
static final com.mojang.serialization.Codec
<LootTable> LootTable.DIRECT_CODEC
static final ResourceKey
<LootTable> BuiltInLootTables.EMPTY
static final ResourceKey
<LootTable> BuiltInLootTables.END_CITY_TREASURE
static final ResourceKey
<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBER
static final ResourceKey
<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBER_MELEE
static final ResourceKey
<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBER_RANGED
static final ResourceKey
<LootTable> BuiltInLootTables.FARMER_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.FISHERMAN_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.FISHING
static final ResourceKey
<LootTable> BuiltInLootTables.FISHING_FISH
static final ResourceKey
<LootTable> BuiltInLootTables.FISHING_JUNK
static final ResourceKey
<LootTable> BuiltInLootTables.FISHING_TREASURE
static final ResourceKey
<LootTable> BuiltInLootTables.FLETCHER_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.IGLOO_CHEST
private static final Set
<ResourceKey<LootTable>> BuiltInLootTables.IMMUTABLE_LOCATIONS
static final ResourceKey
<LootTable> BuiltInLootTables.JUNGLE_TEMPLE
static final ResourceKey
<LootTable> BuiltInLootTables.JUNGLE_TEMPLE_DISPENSER
static final ResourceKey
<LootTable> BuiltInLootTables.LEATHERWORKER_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.LIBRARIAN_GIFT
private static final Set
<ResourceKey<LootTable>> BuiltInLootTables.LOCATIONS
static final ResourceKey
<LootTable> BuiltInLootTables.MASON_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.NETHER_BRIDGE
static final ResourceKey
<LootTable> BuiltInLootTables.OCEAN_RUIN_COLD_ARCHAEOLOGY
static final ResourceKey
<LootTable> BuiltInLootTables.OCEAN_RUIN_WARM_ARCHAEOLOGY
static final ResourceKey
<LootTable> BuiltInLootTables.PANDA_SNEEZE
static final ResourceKey
<LootTable> BuiltInLootTables.PIGLIN_BARTERING
static final ResourceKey
<LootTable> BuiltInLootTables.PILLAGER_OUTPOST
static final ResourceKey
<LootTable> BuiltInLootTables.RUINED_PORTAL
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_BLACK
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_BLUE
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_BROWN
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_CYAN
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_GRAY
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_GREEN
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_LIGHT_BLUE
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_LIGHT_GRAY
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_LIME
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_MAGENTA
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_ORANGE
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_PINK
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_PURPLE
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_RED
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_WHITE
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_YELLOW
static final ResourceKey
<LootTable> BuiltInLootTables.SHEPHERD_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.SHIPWRECK_MAP
static final ResourceKey
<LootTable> BuiltInLootTables.SHIPWRECK_SUPPLY
static final ResourceKey
<LootTable> BuiltInLootTables.SHIPWRECK_TREASURE
static final ResourceKey
<LootTable> BuiltInLootTables.SIMPLE_DUNGEON
static final ResourceKey
<LootTable> BuiltInLootTables.SNIFFER_DIGGING
static final ResourceKey
<LootTable> BuiltInLootTables.SPAWN_BONUS_CHEST
static final ResourceKey
<LootTable> BuiltInLootTables.SPAWNER_OMINOUS_TRIAL_CHAMBER_CONSUMABLES
static final ResourceKey
<LootTable> BuiltInLootTables.SPAWNER_OMINOUS_TRIAL_CHAMBER_KEY
static final ResourceKey
<LootTable> BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_CONSUMABLES
static final ResourceKey
<LootTable> BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_KEY
static final ResourceKey
<LootTable> BuiltInLootTables.SPAWNER_TRIAL_ITEMS_TO_DROP_WHEN_OMINOUS
static final ResourceKey
<LootTable> BuiltInLootTables.STRONGHOLD_CORRIDOR
static final ResourceKey
<LootTable> BuiltInLootTables.STRONGHOLD_CROSSING
static final ResourceKey
<LootTable> BuiltInLootTables.STRONGHOLD_LIBRARY
static final LootDataType
<LootTable> LootDataType.TABLE
static final ResourceKey
<LootTable> BuiltInLootTables.TOOLSMITH_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.TRAIL_RUINS_ARCHAEOLOGY_COMMON
static final ResourceKey
<LootTable> BuiltInLootTables.TRAIL_RUINS_ARCHAEOLOGY_RARE
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CHAMBER_DISPENSER
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_DISPENSER
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_POT
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_ENTRANCE
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTION
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTION_BARREL
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_COMMON
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_COMMON
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_RARE
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUE
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_RARE
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_UNIQUE
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_SUPPLY
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_WATER_DISPENSER
static final ResourceKey
<LootTable> BuiltInLootTables.UNDERWATER_RUIN_BIG
static final ResourceKey
<LootTable> BuiltInLootTables.UNDERWATER_RUIN_SMALL
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_ARMORER
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_BUTCHER
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_CARTOGRAPHER
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_DESERT_HOUSE
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_FISHER
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_FLETCHER
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_MASON
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_PLAINS_HOUSE
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_SAVANNA_HOUSE
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_SHEPHERD
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_SNOWY_HOUSE
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_TAIGA_HOUSE
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_TANNERY
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_TEMPLE
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_TOOLSMITH
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_WEAPONSMITH
static final ResourceKey
<LootTable> BuiltInLootTables.WEAPONSMITH_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.WOODLAND_MANSION
Modifier and TypeMethodDescriptionstatic Set
<ResourceKey<LootTable>> BuiltInLootTables.all()
private static LootDataType.Validator
<LootTable> LootDataType.createLootTableValidator()
static LootContext.VisitedEntry
<LootTable> LootContext.createVisitedEntry
(LootTable p_279327_) private static ResourceKey
<LootTable> private static ResourceKey
<LootTable> BuiltInLootTables.register
(ResourceKey<LootTable> p_335977_) Modifier and TypeMethodDescriptionstatic LootContext.VisitedEntry
<LootTable> LootContext.createVisitedEntry
(LootTable p_279327_) Modifier and TypeMethodDescriptionprivate static ResourceKey
<LootTable> BuiltInLootTables.register
(ResourceKey<LootTable> p_335977_) -
Uses of LootTable in net.minecraft.world.level.storage.loot.entries
Modifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either
<ResourceKey<LootTable>, LootTable> NestedLootTable.contents
private final com.mojang.datafixers.util.Either
<ResourceKey<LootTable>, LootTable> NestedLootTable.contents
Modifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder
<?> NestedLootTable.inlineLootTable
(LootTable p_330235_) Modifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder
<?> NestedLootTable.lootTableReference
(ResourceKey<LootTable> p_335392_) ModifierConstructorDescriptionprivate
NestedLootTable
(com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> p_330816_, int p_330486_, int p_331616_, List<LootItemCondition> p_330391_, List<LootItemFunction> p_332076_) private
NestedLootTable
(com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> p_330816_, int p_330486_, int p_331616_, List<LootItemCondition> p_330391_, List<LootItemFunction> p_332076_) -
Uses of LootTable in net.minecraft.world.level.storage.loot.functions
Modifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder
<?> SetContainerLootTable.withLootTable
(BlockEntityType<?> p_193050_, ResourceKey<LootTable> p_335933_) static LootItemConditionalFunction.Builder
<?> SetContainerLootTable.withLootTable
(BlockEntityType<?> p_193053_, ResourceKey<LootTable> p_335427_, long p_193055_) ModifierConstructorDescriptionprivate
SetContainerLootTable
(List<LootItemCondition> p_298290_, ResourceKey<LootTable> p_335525_, long p_193047_, Holder<BlockEntityType<?>> p_298416_) -
Uses of LootTable in net.neoforged.neoforge.common.data.internal
Modifier and TypeMethodDescriptionprotected void
NeoForgeLootTableProvider.validate
(WritableRegistry<LootTable> writableregistry, ValidationContext validationcontext, ProblemReporter.Collector problemreporter$collector) -
Uses of LootTable in net.neoforged.neoforge.common.loot
ModifierConstructorDescriptionAddTableLootModifier
(LootItemCondition[] conditionsIn, ResourceKey<LootTable> table) -
Uses of LootTable in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionLootTableLoadEvent.getTable()
static @Nullable LootTable
EventHooks.loadLootTable
(ResourceLocation name, LootTable table) Fires theLootTableLoadEvent
for non-empty loot tables and returns the table if the event was not canceled and the table was not set toEMPTY
in the event.Modifier and TypeMethodDescriptionstatic @Nullable LootTable
EventHooks.loadLootTable
(ResourceLocation name, LootTable table) Fires theLootTableLoadEvent
for non-empty loot tables and returns the table if the event was not canceled and the table was not set toEMPTY
in the event.void
-
Uses of LootTable in net.neoforged.neoforge.registries.datamaps.builtin
Modifier and TypeFieldDescriptionprivate final ResourceKey
<LootTable> RaidHeroGift.lootTable
The field for thelootTable
record component.Modifier and TypeMethodDescriptionRaidHeroGift.lootTable()
Returns the value of thelootTable
record component.ModifierConstructorDescriptionRaidHeroGift
(ResourceKey<LootTable> lootTable) Creates an instance of aRaidHeroGift
record class.
data map
instead