Uses of Class
net.minecraft.world.level.storage.loot.LootTable
Packages that use LootTable
Package
Description
Classes for NeoForge's own data generation.
-
Uses of LootTable in net.minecraft.advancements
Fields in net.minecraft.advancements with type parameters of type LootTableModifier 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.Methods in net.minecraft.advancements that return types with arguments of type LootTableModifier and TypeMethodDescriptionAdvancementRewards.loot()
Returns the value of theloot
record component.Method parameters in net.minecraft.advancements with type arguments of type LootTableModifier and TypeMethodDescriptionAdvancementRewards.Builder.addLootTable
(ResourceKey<LootTable> p_335822_) static AdvancementRewards.Builder
AdvancementRewards.Builder.loot
(ResourceKey<LootTable> p_335493_) Constructor parameters in net.minecraft.advancements with type arguments of type LootTableModifierConstructorDescriptionAdvancementRewards
(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
Fields in net.minecraft.advancements.critereon with type parameters of type LootTableModifier and TypeFieldDescriptionprivate final ResourceKey
<LootTable> LootTableTrigger.TriggerInstance.lootTable
The field for thelootTable
record component.Methods in net.minecraft.advancements.critereon that return types with arguments of type LootTableModifier and TypeMethodDescriptionLootTableTrigger.TriggerInstance.lootTable()
Returns the value of thelootTable
record component.Method parameters in net.minecraft.advancements.critereon with type arguments of type LootTableModifier 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_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type LootTableModifierConstructorDescriptionTriggerInstance
(Optional<ContextAwarePredicate> player, ResourceKey<LootTable> lootTable) Creates an instance of aTriggerInstance
record class. -
Uses of LootTable in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return types with arguments of type LootTableModifier and TypeMethodDescriptionResourceOrIdArgument.getLootTable
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_335373_, String p_336017_) -
Uses of LootTable in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type LootTableModifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<LootTable>> Registries.LOOT_TABLE
-
Uses of LootTable in net.minecraft.data.loot
Fields in net.minecraft.data.loot with type parameters of type LootTableModifier 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
Method parameters in net.minecraft.data.loot with type arguments of type LootTableModifier 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) Constructor parameters in net.minecraft.data.loot with type arguments of type LootTableModifierConstructorDescriptionprotected
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
Method parameters in net.minecraft.data.loot.packs with type arguments of type LootTableModifier 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
Method parameters in net.minecraft.data.worldgen with type arguments of type LootTableModifier and TypeMethodDescriptionprivate static CappedProcessor
ProcessorLists.trailsArchyLootProcessor
(ResourceKey<LootTable> p_335512_, int p_281868_) -
Uses of LootTable in net.minecraft.server
Methods in net.minecraft.server that return LootTableModifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getLootTable
(ResourceKey<LootTable> p_335504_) Method parameters in net.minecraft.server with type arguments of type LootTableModifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getLootTable
(ResourceKey<LootTable> p_335504_) -
Uses of LootTable in net.minecraft.server.commands
Method parameters in net.minecraft.server.commands with type arguments of type LootTableModifier 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
Methods in net.minecraft.world that return types with arguments of type LootTableMethod parameters in net.minecraft.world with type arguments of type LootTableModifier 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
Fields in net.minecraft.world.entity with type parameters of type LootTableModifier and TypeFieldDescriptionprivate ResourceKey
<LootTable> EntityType.lootTable
private final ResourceKey
<LootTable> EquipmentTable.lootTable
The field for thelootTable
record component.private ResourceKey
<LootTable> Mob.lootTable
Methods in net.minecraft.world.entity that return types with arguments of type LootTableModifier and TypeMethodDescriptionEntityType.getDefaultLootTable()
protected ResourceKey
<LootTable> Mob.getDefaultLootTable()
LivingEntity.getLootTable()
final ResourceKey
<LootTable> Mob.getLootTable()
EquipmentTable.lootTable()
Returns the value of thelootTable
record component.Method parameters in net.minecraft.world.entity with type arguments of type LootTableModifier 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_) Constructor parameters in net.minecraft.world.entity with type arguments of type LootTableModifierConstructorDescriptionEquipmentTable
(ResourceKey<LootTable> lootTable, Map<EquipmentSlot, Float> slotDropChances) Creates an instance of aEquipmentTable
record class. -
Uses of LootTable in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior with type parameters of type LootTableModifier and TypeFieldDescriptionprivate static final Map
<VillagerProfession, ResourceKey<LootTable>> GiveGiftToHero.GIFTS
Deprecated. -
Uses of LootTable in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal that return types with arguments of type LootTable -
Uses of LootTable in net.minecraft.world.entity.vehicle
Fields in net.minecraft.world.entity.vehicle with type parameters of type LootTableModifier and TypeFieldDescriptionprivate ResourceKey
<LootTable> AbstractMinecartContainer.lootTable
private ResourceKey
<LootTable> ChestBoat.lootTable
Methods in net.minecraft.world.entity.vehicle that return types with arguments of type LootTableModifier and TypeMethodDescriptionAbstractMinecartContainer.getLootTable()
ChestBoat.getLootTable()
ContainerEntity.getLootTable()
Method parameters in net.minecraft.world.entity.vehicle with type arguments of type LootTableModifier 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
Fields in net.minecraft.world.item.component with type parameters of type LootTableModifier and TypeFieldDescriptionprivate final ResourceKey
<LootTable> SeededContainerLoot.lootTable
The field for thelootTable
record component.Methods in net.minecraft.world.item.component that return types with arguments of type LootTableModifier and TypeMethodDescriptionSeededContainerLoot.lootTable()
Returns the value of thelootTable
record component.Constructor parameters in net.minecraft.world.item.component with type arguments of type LootTableModifierConstructorDescriptionSeededContainerLoot
(ResourceKey<LootTable> lootTable, long seed) Creates an instance of aSeededContainerLoot
record class. -
Uses of LootTable in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity with type parameters of type LootTableModifier and TypeFieldDescriptionprivate ResourceKey
<LootTable> BrushableBlockEntity.lootTable
protected ResourceKey
<LootTable> DecoratedPotBlockEntity.lootTable
protected ResourceKey
<LootTable> RandomizableContainerBlockEntity.lootTable
Methods in net.minecraft.world.level.block.entity that return types with arguments of type LootTableModifier and TypeMethodDescriptionDecoratedPotBlockEntity.getLootTable()
RandomizableContainerBlockEntity.getLootTable()
Method parameters in net.minecraft.world.level.block.entity with type arguments of type LootTableModifier 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
Fields in net.minecraft.world.level.block.entity.trialspawner with type parameters of type LootTableModifier 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.Methods in net.minecraft.world.level.block.entity.trialspawner that return types with arguments of type LootTableModifier and TypeMethodDescriptionTrialSpawnerConfig.itemsToDropWhenOminous()
Returns the value of theitemsToDropWhenOminous
record component.TrialSpawnerConfig.lootTablesToEject()
Returns the value of thelootTablesToEject
record component.Method parameters in net.minecraft.world.level.block.entity.trialspawner with type arguments of type LootTableModifier and TypeMethodDescriptionvoid
TrialSpawner.ejectReward
(ServerLevel p_312892_, BlockPos p_312668_, ResourceKey<LootTable> p_335942_) Constructor parameters in net.minecraft.world.level.block.entity.trialspawner with type arguments of type LootTableModifierConstructorDescriptionTrialSpawnerConfig
(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
Fields in net.minecraft.world.level.block.entity.vault with type parameters of type LootTableModifier 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.Methods in net.minecraft.world.level.block.entity.vault that return types with arguments of type LootTableModifier and TypeMethodDescriptionVaultConfig.lootTable()
Returns the value of thelootTable
record component.VaultConfig.overrideLootTableToDisplay()
Returns the value of theoverrideLootTableToDisplay
record component.Method parameters in net.minecraft.world.level.block.entity.vault with type arguments of type LootTableModifier and TypeMethodDescriptionprivate static ItemStack
VaultBlockEntity.Server.getRandomDisplayItemFromLootTable
(ServerLevel p_323781_, BlockPos p_324109_, ResourceKey<LootTable> p_336119_) Constructor parameters in net.minecraft.world.level.block.entity.vault with type arguments of type LootTableModifierConstructorDescriptionVaultConfig
(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
Fields in net.minecraft.world.level.block.state with type parameters of type LootTableModifier 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
Methods in net.minecraft.world.level.block.state that return types with arguments of type LootTable -
Uses of LootTable in net.minecraft.world.level.levelgen.structure
Method parameters in net.minecraft.world.level.levelgen.structure with type arguments of type LootTableModifier 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
Fields in net.minecraft.world.level.levelgen.structure.structures with type parameters of type LootTableModifier and TypeFieldDescription(package private) static final Map
<String, ResourceKey<LootTable>> ShipwreckPieces.MARKERS_TO_LOOT
Method parameters in net.minecraft.world.level.levelgen.structure.structures with type arguments of type LootTableModifier 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
Fields in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity with type parameters of type LootTableConstructor parameters in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity with type arguments of type LootTable -
Uses of LootTable in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as LootTableFields in net.minecraft.world.level.storage.loot with type parameters of type LootTableModifier 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
Methods in net.minecraft.world.level.storage.loot that return LootTableMethods in net.minecraft.world.level.storage.loot that return types with arguments of type LootTableModifier 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_) Methods in net.minecraft.world.level.storage.loot with parameters of type LootTableModifier and TypeMethodDescriptionstatic LootContext.VisitedEntry
<LootTable> LootContext.createVisitedEntry
(LootTable p_279327_) Method parameters in net.minecraft.world.level.storage.loot with type arguments of type LootTableModifier and TypeMethodDescriptionprivate static ResourceKey
<LootTable> BuiltInLootTables.register
(ResourceKey<LootTable> p_335977_) -
Uses of LootTable in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries with type parameters of type LootTableModifier 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
Methods in net.minecraft.world.level.storage.loot.entries with parameters of type LootTableModifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder
<?> NestedLootTable.inlineLootTable
(LootTable p_330235_) Method parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type LootTableModifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder
<?> NestedLootTable.lootTableReference
(ResourceKey<LootTable> p_335392_) Constructor parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type LootTableModifierConstructorDescriptionprivate
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
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type LootTableMethod parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type LootTableModifier 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_) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type LootTableModifierConstructorDescriptionprivate
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
Method parameters in net.neoforged.neoforge.common.data.internal with type arguments of type LootTableModifier and TypeMethodDescriptionprotected void
NeoForgeLootTableProvider.validate
(WritableRegistry<LootTable> writableregistry, ValidationContext validationcontext, ProblemReporter.Collector problemreporter$collector) -
Uses of LootTable in net.neoforged.neoforge.common.loot
Fields in net.neoforged.neoforge.common.loot with type parameters of type LootTableMethods in net.neoforged.neoforge.common.loot that return types with arguments of type LootTableConstructor parameters in net.neoforged.neoforge.common.loot with type arguments of type LootTableModifierConstructorDescriptionAddTableLootModifier
(LootItemCondition[] conditionsIn, ResourceKey<LootTable> table) -
Uses of LootTable in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as LootTableMethods in net.neoforged.neoforge.event that return LootTableModifier 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.Methods in net.neoforged.neoforge.event with parameters of type LootTableModifier 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
Constructors in net.neoforged.neoforge.event with parameters of type LootTable -
Uses of LootTable in net.neoforged.neoforge.registries.datamaps.builtin
Fields in net.neoforged.neoforge.registries.datamaps.builtin with type parameters of type LootTableModifier and TypeFieldDescriptionprivate final ResourceKey
<LootTable> RaidHeroGift.lootTable
The field for thelootTable
record component.Methods in net.neoforged.neoforge.registries.datamaps.builtin that return types with arguments of type LootTableModifier and TypeMethodDescriptionRaidHeroGift.lootTable()
Returns the value of thelootTable
record component.Constructor parameters in net.neoforged.neoforge.registries.datamaps.builtin with type arguments of type LootTableModifierConstructorDescriptionRaidHeroGift
(ResourceKey<LootTable> lootTable) Creates an instance of aRaidHeroGift
record class.
data map
instead