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 ImmutableList.Builder<ResourceKey<LootTable>> AdvancementRewards.Builder.lootprivate final List<ResourceKey<LootTable>> AdvancementRewards.lootThe field for thelootrecord component.Methods in net.minecraft.advancements that return types with arguments of type LootTableModifier and TypeMethodDescriptionAdvancementRewards.loot()Returns the value of thelootrecord component.Method parameters in net.minecraft.advancements with type arguments of type LootTableModifier and TypeMethodDescriptionAdvancementRewards.Builder.addLootTable(ResourceKey<LootTable> pLootTable) static AdvancementRewards.BuilderAdvancementRewards.Builder.loot(ResourceKey<LootTable> pLootTable) Constructor parameters in net.minecraft.advancements with type arguments of type LootTableModifierConstructorDescriptionAdvancementRewards(int experience, List<ResourceKey<LootTable>> loot, List<ResourceKey<Recipe<?>>> recipes, Optional<CacheableFunction> function) Creates an instance of aAdvancementRewardsrecord class. -
Uses of LootTable in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion with type parameters of type LootTableModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> LootTableTrigger.TriggerInstance.lootTableThe field for thelootTablerecord component.Methods in net.minecraft.advancements.criterion that return types with arguments of type LootTableModifier and TypeMethodDescriptionLootTableTrigger.TriggerInstance.lootTable()Returns the value of thelootTablerecord component.Method parameters in net.minecraft.advancements.criterion with type arguments of type LootTableModifier and TypeMethodDescriptionLootTableTrigger.TriggerInstance.lootTableUsed(ResourceKey<LootTable> pLootTable) booleanLootTableTrigger.TriggerInstance.matches(ResourceKey<LootTable> pLootTable) voidLootTableTrigger.trigger(ServerPlayer pPlayer, ResourceKey<LootTable> pLootTable) Constructor parameters in net.minecraft.advancements.criterion with type arguments of type LootTableModifierConstructorDescriptionTriggerInstance(Optional<ContextAwarePredicate> player, ResourceKey<LootTable> lootTable) Creates an instance of aTriggerInstancerecord 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> pContext, String pName) -
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 TypeFieldDescriptionprivate final ResourceKey<LootTable> LootTableProvider.MissingTableProblem.idThe field for theidrecord component.protected final Map<ResourceKey<LootTable>, LootTable.Builder> BlockLootSubProvider.mapprivate final Map<EntityType<?>, Map<ResourceKey<LootTable>, LootTable.Builder>> EntityLootSubProvider.mapprivate final Set<ResourceKey<LootTable>> LootTableProvider.requiredTablesMethods in net.minecraft.data.loot that return types with arguments of type LootTableModifier and TypeMethodDescriptionLootTableProvider.MissingTableProblem.id()Returns the value of theidrecord component.Method parameters in net.minecraft.data.loot with type arguments of type LootTableModifier and TypeMethodDescriptionprotected voidEntityLootSubProvider.add(EntityType<?> pEntityType, ResourceKey<LootTable> pDefaultLootTable, LootTable.Builder pBuilder) static LootPool.BuilderEntityLootSubProvider.createSheepDispatchPool(Map<DyeColor, ResourceKey<LootTable>> pLootTables) voidBlockLootSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_249322_) voidEntityLootSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_251751_) voidLootTableSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> pOutput) private static IdentifierLootTableProvider.sequenceIdForLootTable(ResourceKey<LootTable> pLootTable) protected voidLootTableProvider.validate(WritableRegistry<LootTable> writableregistry, ValidationContext validationcontext, ProblemReporter.Collector problemreporter$collector) Constructor parameters in net.minecraft.data.loot with type arguments of type LootTableModifierConstructorDescriptionprotectedBlockLootSubProvider(Set<Item> pExplosionResistant, FeatureFlagSet pEnabledFeatures, Map<ResourceKey<LootTable>, LootTable.Builder> pMap, HolderLookup.Provider pRegistries) LootTableProvider(PackOutput pOutput, Set<ResourceKey<LootTable>> pRequiredTables, List<LootTableProvider.SubProviderEntry> pSubProviders, CompletableFuture<HolderLookup.Provider> pRegistries) Creates an instance of aMissingTableProblemrecord class. -
Uses of LootTable in net.minecraft.data.loot.packs
Fields in net.minecraft.data.loot.packs with type parameters of type LootTableModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> VanillaChargedCreeperExplosionLoot.Entry.lootTableThe field for thelootTablerecord component.Methods in net.minecraft.data.loot.packs that return types with arguments of type LootTableModifier and TypeMethodDescriptionVanillaChargedCreeperExplosionLoot.Entry.lootTable()Returns the value of thelootTablerecord component.Method parameters in net.minecraft.data.loot.packs with type arguments of type LootTableModifier and TypeMethodDescriptionvoidTradeRebalanceChestLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_301981_) voidVanillaArchaeologyLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_278066_) voidVanillaBlockInteractLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_434255_) voidVanillaChargedCreeperExplosionLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_433530_) voidVanillaChestLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250931_) voidVanillaEntityInteractLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_432862_) voidVanillaEquipmentLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_338322_) voidVanillaFishingLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_249559_) voidVanillaGiftLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250831_) voidVanillaPiglinBarterLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250176_) voidVanillaShearingLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_332018_) voidVanillaChestLoot.spawnerLootTables(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> pOutput) Constructor parameters in net.minecraft.data.loot.packs with type arguments of type LootTableModifierConstructorDescription(package private)Entry(ResourceKey<LootTable> lootTable, EntityType<?> entityType, Item item) Creates an instance of aEntryrecord class. -
Uses of LootTable in net.minecraft.data.worldgen
Method parameters in net.minecraft.data.worldgen with type arguments of type LootTableModifier and TypeMethodDescriptionprivate static CappedProcessorProcessorLists.trailsArchyLootProcessor(ResourceKey<LootTable> pLootTable, int pLimit) -
Uses of LootTable in net.minecraft.server
Methods in net.minecraft.server that return LootTableModifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getLootTable(ResourceKey<LootTable> pLootTableKey) Method parameters in net.minecraft.server with type arguments of type LootTableModifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getLootTable(ResourceKey<LootTable> pLootTableKey) -
Uses of LootTable in net.minecraft.server.commands
Method parameters in net.minecraft.server.commands with type arguments of type LootTableModifier and TypeMethodDescriptionprivate static voidLootCommand.callback(CommandSourceStack pSource, List<ItemStack> pItems, ResourceKey<LootTable> pLootTable) private static intLootCommand.drop(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Holder<LootTable> pLootTable, LootParams pParams, LootCommand.DropConsumer pDropConsumer) private static intLootCommand.dropChestLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Holder<LootTable> pLootTable, LootCommand.DropConsumer pDropConsumer) private static intLootCommand.dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Holder<LootTable> pLootTable, BlockPos pPos, ItemStack pTool, LootCommand.DropConsumer pDropConsumer) -
Uses of LootTable in net.minecraft.world
Methods in net.minecraft.world that return types with arguments of type LootTableModifier and TypeMethodDescription@Nullable ResourceKey<LootTable> RandomizableContainer.getLootTable()Method parameters in net.minecraft.world with type arguments of type LootTableModifier and TypeMethodDescriptionstatic voidRandomizableContainer.setBlockEntityLootTable(BlockGetter pLevel, RandomSource pRandom, BlockPos pPs, ResourceKey<LootTable> pLootTable) voidRandomizableContainer.setLootTable(@Nullable ResourceKey<LootTable> pLootTable) default voidRandomizableContainer.setLootTable(ResourceKey<LootTable> pLootTable, long pSeed) -
Uses of LootTable in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type LootTableModifier and TypeFieldDescriptionprivate DependantName<EntityType<?>, Optional<ResourceKey<LootTable>>> EntityType.Builder.lootTableprivate final Optional<ResourceKey<LootTable>> EntityType.lootTableprivate final ResourceKey<LootTable> EquipmentTable.lootTableThe field for thelootTablerecord component.private Optional<ResourceKey<LootTable>> Mob.lootTableMethods in net.minecraft.world.entity that return types with arguments of type LootTableModifier and TypeMethodDescriptionEntityType.getDefaultLootTable()Entity.getLootTable()final Optional<ResourceKey<LootTable>> Mob.getLootTable()EquipmentTable.lootTable()Returns the value of thelootTablerecord component.Method parameters in net.minecraft.world.entity with type arguments of type LootTableModifier and TypeMethodDescriptionbooleanLivingEntity.dropFromEntityInteractLootTable(ServerLevel pLevel, ResourceKey<LootTable> pLootTable, @Nullable Entity pEntity, ItemStack pTool, BiConsumer<ServerLevel, ItemStack> pDropConsumer) booleanLivingEntity.dropFromGiftLootTable(ServerLevel pLevel, ResourceKey<LootTable> pLootTable, BiConsumer<ServerLevel, ItemStack> pDropConsumer) protected booleanLivingEntity.dropFromLootTable(ServerLevel pLevel, ResourceKey<LootTable> pLootTable, Function<LootParams.Builder, LootParams> pParamsBuilder, BiConsumer<ServerLevel, ItemStack> pDropConsumer) voidLivingEntity.dropFromLootTable(ServerLevel pLevel, DamageSource pDamageSource, boolean pPlayerKill, ResourceKey<LootTable> pLootTable) voidLivingEntity.dropFromLootTable(ServerLevel pLevel, DamageSource pDamageSource, boolean pPlayerKill, ResourceKey<LootTable> pLootTable, Consumer<ItemStack> pDropConsumer) protected voidLivingEntity.dropFromShearingLootTable(ServerLevel pLevel, ResourceKey<LootTable> pLootTable, ItemStack pShears, BiConsumer<ServerLevel, ItemStack> pDropConsumer) default voidEquipmentUser.equip(ResourceKey<LootTable> pEquipmentLootTable, LootParams pParams, long pSeed, Map<EquipmentSlot, Float> pSlotDropChances) default voidEquipmentUser.equip(ResourceKey<LootTable> pEquipmentLootTable, LootParams pParams, Map<EquipmentSlot, Float> pSlotDropChances) voidMob.equip(ResourceKey<LootTable> pEquipmentLootTable, Map<EquipmentSlot, Float> pSlotDropChances) Constructor parameters in net.minecraft.world.entity with type arguments of type LootTableModifierConstructorDescriptionEntityType(EntityType.EntityFactory<T> pFactory, MobCategory pCategory, boolean pSerialize, boolean pSummon, boolean pFireImmune, boolean pCanSpawnFarFromPlayer, ImmutableSet<Block> pImmuneTo, EntityDimensions pDimensions, float pSpawnDimensionsScale, int pClientTrackingRange, int pUpdateInterval, String pDescriptionId, Optional<ResourceKey<LootTable>> pLootTable, FeatureFlagSet pRequiredFeatures, boolean pAllowdInPeaceful) EntityType(EntityType.EntityFactory<T> pFactory, MobCategory pCategory, boolean pSerialize, boolean pSummon, boolean pFireImmune, boolean pCanSpawnFarFromPlayer, ImmutableSet<Block> pImmuneTo, EntityDimensions pDimensions, float pSpawnDimensionsScale, int pClientTrackingRange, int pUpdateInterval, String pDescriptionId, Optional<ResourceKey<LootTable>> pLootTable, FeatureFlagSet pRequiredFeatures, boolean pAllowdInPeaceful, Predicate<EntityType<?>> trackDeltasSupplier, ToIntFunction<EntityType<?>> trackingRangeSupplier, ToIntFunction<EntityType<?>> updateIntervalSupplier, boolean onlyOpCanSetNbt) EquipmentTable(ResourceKey<LootTable> p_368531_, float p_368593_) EquipmentTable(ResourceKey<LootTable> lootTable, Map<EquipmentSlot, Float> slotDropChances) Creates an instance of aEquipmentTablerecord 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<ResourceKey<VillagerProfession>, ResourceKey<LootTable>> GiveGiftToHero.GIFTSDeprecated.Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type LootTableModifier and TypeMethodDescriptionprivate static ResourceKey<LootTable> GiveGiftToHero.getLootTableToThrow(Villager pVillager) -
Uses of LootTable in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return types with arguments of type LootTableModifier and TypeMethodDescription@Nullable ResourceKey<LootTable> ContainerEntity.getContainerLootTable()Method parameters in net.minecraft.world.entity.vehicle with type arguments of type LootTableModifier and TypeMethodDescriptionvoidContainerEntity.setContainerLootTable(@Nullable ResourceKey<LootTable> pLootTable) -
Uses of LootTable in net.minecraft.world.entity.vehicle.boat
Fields in net.minecraft.world.entity.vehicle.boat with type parameters of type LootTableModifier and TypeFieldDescriptionprivate @Nullable ResourceKey<LootTable> AbstractChestBoat.lootTableMethods in net.minecraft.world.entity.vehicle.boat that return types with arguments of type LootTableModifier and TypeMethodDescription@Nullable ResourceKey<LootTable> AbstractChestBoat.getContainerLootTable()Method parameters in net.minecraft.world.entity.vehicle.boat with type arguments of type LootTableModifier and TypeMethodDescriptionvoidAbstractChestBoat.setContainerLootTable(@Nullable ResourceKey<LootTable> p_481235_) -
Uses of LootTable in net.minecraft.world.entity.vehicle.minecart
Fields in net.minecraft.world.entity.vehicle.minecart with type parameters of type LootTableModifier and TypeFieldDescriptionprivate @Nullable ResourceKey<LootTable> AbstractMinecartContainer.lootTableMethods in net.minecraft.world.entity.vehicle.minecart that return types with arguments of type LootTableModifier and TypeMethodDescription@Nullable ResourceKey<LootTable> AbstractMinecartContainer.getContainerLootTable()Method parameters in net.minecraft.world.entity.vehicle.minecart with type arguments of type LootTableModifier and TypeMethodDescriptionvoidAbstractMinecartContainer.setContainerLootTable(@Nullable ResourceKey<LootTable> p_481081_) voidAbstractMinecartContainer.setLootTable(ResourceKey<LootTable> pLootTable, long pSeed) -
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.lootTableThe field for thelootTablerecord component.Methods in net.minecraft.world.item.component that return types with arguments of type LootTableModifier and TypeMethodDescriptionSeededContainerLoot.lootTable()Returns the value of thelootTablerecord component.Constructor parameters in net.minecraft.world.item.component with type arguments of type LootTableModifierConstructorDescriptionSeededContainerLoot(ResourceKey<LootTable> lootTable, long seed) Creates an instance of aSeededContainerLootrecord class. -
Uses of LootTable in net.minecraft.world.level.block
Method parameters in net.minecraft.world.level.block with type arguments of type LootTableModifier and TypeMethodDescriptionprotected static booleanBlock.dropFromBlockInteractLootTable(ServerLevel pLevel, ResourceKey<LootTable> pLootTable, BlockState pState, @Nullable BlockEntity pBlockEntity, @Nullable ItemStack pTool, @Nullable Entity pEntity, BiConsumer<ServerLevel, ItemStack> pDropConsumer) protected static booleanBlock.dropFromLootTable(ServerLevel pLevel, ResourceKey<LootTable> pLootTable, Function<LootParams.Builder, LootParams> pParams, BiConsumer<ServerLevel, ItemStack> pDropConsumer) -
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 @Nullable ResourceKey<LootTable> BrushableBlockEntity.lootTableprotected @Nullable ResourceKey<LootTable> DecoratedPotBlockEntity.lootTableprotected @Nullable ResourceKey<LootTable> RandomizableContainerBlockEntity.lootTableMethods in net.minecraft.world.level.block.entity that return types with arguments of type LootTableModifier and TypeMethodDescription@Nullable ResourceKey<LootTable> DecoratedPotBlockEntity.getLootTable()@Nullable ResourceKey<LootTable> RandomizableContainerBlockEntity.getLootTable()Method parameters in net.minecraft.world.level.block.entity with type arguments of type LootTableModifier and TypeMethodDescriptionvoidBrushableBlockEntity.setLootTable(ResourceKey<LootTable> pLootTable, long pSeed) voidDecoratedPotBlockEntity.setLootTable(@Nullable ResourceKey<LootTable> p_336080_) voidRandomizableContainerBlockEntity.setLootTable(@Nullable 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 TypeFieldDescription(package private) Optional<ResourceKey<LootTable>> TrialSpawnerStateData.ejectingLootTableprivate final Optional<ResourceKey<LootTable>> TrialSpawnerStateData.Packed.ejectingLootTableThe field for theejectingLootTablerecord component.private ResourceKey<LootTable> TrialSpawnerConfig.Builder.itemsToDropWhenOminousprivate final ResourceKey<LootTable> TrialSpawnerConfig.itemsToDropWhenOminousThe field for theitemsToDropWhenOminousrecord component.private WeightedList<ResourceKey<LootTable>> TrialSpawnerConfig.Builder.lootTablesToEjectprivate final WeightedList<ResourceKey<LootTable>> TrialSpawnerConfig.lootTablesToEjectThe field for thelootTablesToEjectrecord component.Methods in net.minecraft.world.level.block.entity.trialspawner that return types with arguments of type LootTableModifier and TypeMethodDescriptionTrialSpawnerStateData.Packed.ejectingLootTable()Returns the value of theejectingLootTablerecord component.TrialSpawnerConfig.itemsToDropWhenOminous()Returns the value of theitemsToDropWhenOminousrecord component.TrialSpawnerConfig.lootTablesToEject()Returns the value of thelootTablesToEjectrecord component.Method parameters in net.minecraft.world.level.block.entity.trialspawner with type arguments of type LootTableModifier and TypeMethodDescriptionTrialSpawnerConfigs.customSpawnDataWithEquipment(EntityType<T> pEntityType, Consumer<CompoundTag> pTagConsumer, @Nullable ResourceKey<LootTable> pLootTableKey) voidTrialSpawner.ejectReward(ServerLevel pLevel, BlockPos pPos, ResourceKey<LootTable> pLootTable) TrialSpawnerConfig.Builder.itemsToDropWhenOminous(ResourceKey<LootTable> pItemsToDropWhenOminous) TrialSpawnerConfig.Builder.lootTablesToEject(WeightedList<ResourceKey<LootTable>> pLootTablesToEject) TrialSpawnerConfigs.spawnDataWithEquipment(EntityType<T> pEntityType, ResourceKey<LootTable> pLootTableKey) 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, WeightedList<SpawnData> spawnPotentialsDefinition, WeightedList<ResourceKey<LootTable>> lootTablesToEject, ResourceKey<LootTable> itemsToDropWhenOminous) Creates an instance of aTrialSpawnerConfigrecord 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.lootTableThe field for thelootTablerecord component.private final Optional<ResourceKey<LootTable>> VaultConfig.overrideLootTableToDisplayThe field for theoverrideLootTableToDisplayrecord 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 thelootTablerecord component.VaultConfig.overrideLootTableToDisplay()Returns the value of theoverrideLootTableToDisplayrecord component.Method parameters in net.minecraft.world.level.block.entity.vault with type arguments of type LootTableModifier and TypeMethodDescriptionprivate static ItemStackVaultBlockEntity.Server.getRandomDisplayItemFromLootTable(ServerLevel pLevel, BlockPos pPos, ResourceKey<LootTable> pLootTable) 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 aVaultConfigrecord class.VaultConfig(ResourceKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<ResourceKey<LootTable>> overrideLootTableToDisplay, PlayerDetector playerDetector, PlayerDetector.EntitySelector entitySelector) Creates an instance of aVaultConfigrecord 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 final Optional<ResourceKey<LootTable>> BlockBehaviour.dropsprivate DependantName<Block, Optional<ResourceKey<LootTable>>> BlockBehaviour.Properties.dropsSets loot table informationMethods in net.minecraft.world.level.block.state that return types with arguments of type LootTableModifier and TypeMethodDescriptionprotected Optional<ResourceKey<LootTable>> BlockBehaviour.Properties.effectiveDrops()final Optional<ResourceKey<LootTable>> BlockBehaviour.getLootTable()Method parameters in net.minecraft.world.level.block.state with type arguments of type LootTableModifier and TypeMethodDescriptionBlockBehaviour.Properties.overrideLootTable(Optional<ResourceKey<LootTable>> pLootTable) -
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 booleanStructurePiece.createChest(ServerLevelAccessor pLevel, BoundingBox pBox, RandomSource pRandom, BlockPos pPos, ResourceKey<LootTable> pLootTable, @Nullable BlockState pState) protected booleanStructurePiece.createChest(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, int pX, int pY, int pZ, ResourceKey<LootTable> pLootTable) protected booleanStructurePiece.createDispenser(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, int pX, int pY, int pZ, Direction pFacing, ResourceKey<LootTable> pLootTable) -
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_LOOTMethod parameters in net.minecraft.world.level.levelgen.structure.structures with type arguments of type LootTableModifier and TypeMethodDescriptionprivate static StructureProcessorOceanRuinPieces.archyRuleProcessor(Block pBlock, Block pSuspiciousBlock, ResourceKey<LootTable> pLootTable) protected booleanMineshaftPieces.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_MINESHAFTstatic final ResourceKey<LootTable> BuiltInLootTables.ANCIENT_CITYstatic final ResourceKey<LootTable> BuiltInLootTables.ANCIENT_CITY_ICE_BOXstatic final ResourceKey<LootTable> BuiltInLootTables.ARMADILLO_BRUSHstatic final ResourceKey<LootTable> BuiltInLootTables.ARMADILLO_SHEDstatic final ResourceKey<LootTable> BuiltInLootTables.ARMORER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.BABY_VILLAGER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.BASTION_BRIDGEstatic final ResourceKey<LootTable> BuiltInLootTables.BASTION_HOGLIN_STABLEstatic final ResourceKey<LootTable> BuiltInLootTables.BASTION_OTHERstatic final ResourceKey<LootTable> BuiltInLootTables.BASTION_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.BOGGED_SHEARstatic final ResourceKey<LootTable> BuiltInLootTables.BURIED_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.BUTCHER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.CARTOGRAPHER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.CARVE_PUMPKINstatic final ResourceKey<LootTable> BuiltInLootTables.CAT_MORNING_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.CHARGED_CREEPERstatic final ResourceKey<LootTable> BuiltInLootTables.CHARGED_CREEPER_CREEPERstatic final ResourceKey<LootTable> BuiltInLootTables.CHARGED_CREEPER_PIGLINstatic final ResourceKey<LootTable> BuiltInLootTables.CHARGED_CREEPER_SKELETONstatic final ResourceKey<LootTable> BuiltInLootTables.CHARGED_CREEPER_WITHER_SKELETONstatic final ResourceKey<LootTable> BuiltInLootTables.CHARGED_CREEPER_ZOMBIEstatic final ResourceKey<LootTable> BuiltInLootTables.CHICKEN_LAYstatic final ResourceKey<LootTable> BuiltInLootTables.CLERIC_GIFTLootTable.CODECstatic final com.mojang.serialization.Codec<Optional<WithConditions<LootTable>>> LootTable.CONDITIONAL_DIRECT_CODECstatic final ResourceKey<LootTable> BuiltInLootTables.DESERT_PYRAMIDstatic final ResourceKey<LootTable> BuiltInLootTables.DESERT_PYRAMID_ARCHAEOLOGYstatic final ResourceKey<LootTable> BuiltInLootTables.DESERT_WELL_ARCHAEOLOGYstatic final com.mojang.serialization.Codec<LootTable> LootTable.DIRECT_CODECstatic final ResourceKey<LootTable> BuiltInLootTables.END_CITY_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBERstatic final ResourceKey<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBER_MELEEstatic final ResourceKey<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBER_RANGEDstatic final ResourceKey<LootTable> BuiltInLootTables.FARMER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.FISHERMAN_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.FISHINGstatic final ResourceKey<LootTable> BuiltInLootTables.FISHING_FISHstatic final ResourceKey<LootTable> BuiltInLootTables.FISHING_JUNKstatic final ResourceKey<LootTable> BuiltInLootTables.FISHING_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.FLETCHER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.HARVEST_BEEHIVEstatic final ResourceKey<LootTable> BuiltInLootTables.HARVEST_CAVE_VINEstatic final ResourceKey<LootTable> BuiltInLootTables.HARVEST_SWEET_BERRY_BUSHstatic final ResourceKey<LootTable> BuiltInLootTables.IGLOO_CHESTprivate static final Set<ResourceKey<LootTable>> BuiltInLootTables.IMMUTABLE_LOCATIONSstatic final ResourceKey<LootTable> BuiltInLootTables.JUNGLE_TEMPLEstatic final ResourceKey<LootTable> BuiltInLootTables.JUNGLE_TEMPLE_DISPENSERstatic final com.mojang.serialization.Codec<ResourceKey<LootTable>> LootTable.KEY_CODECstatic final ResourceKey<LootTable> BuiltInLootTables.LEATHERWORKER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.LIBRARIAN_GIFTprivate static final Set<ResourceKey<LootTable>> BuiltInLootTables.LOCATIONSstatic final ResourceKey<LootTable> BuiltInLootTables.MASON_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.NETHER_BRIDGEstatic final ResourceKey<LootTable> BuiltInLootTables.OCEAN_RUIN_COLD_ARCHAEOLOGYstatic final ResourceKey<LootTable> BuiltInLootTables.OCEAN_RUIN_WARM_ARCHAEOLOGYstatic final ResourceKey<LootTable> BuiltInLootTables.PANDA_SNEEZEstatic final ResourceKey<LootTable> BuiltInLootTables.PIGLIN_BARTERINGstatic final ResourceKey<LootTable> BuiltInLootTables.PILLAGER_OUTPOSTstatic final ResourceKey<LootTable> BuiltInLootTables.RUINED_PORTALstatic final ResourceKey<LootTable> BuiltInLootTables.SHEAR_BROWN_MOOSHROOMstatic final ResourceKey<LootTable> BuiltInLootTables.SHEAR_MOOSHROOMstatic final ResourceKey<LootTable> BuiltInLootTables.SHEAR_RED_MOOSHROOMstatic final ResourceKey<LootTable> BuiltInLootTables.SHEAR_SHEEPstatic final Map<DyeColor, ResourceKey<LootTable>> BuiltInLootTables.SHEAR_SHEEP_BY_DYEstatic final ResourceKey<LootTable> BuiltInLootTables.SHEAR_SNOW_GOLEMstatic final Map<DyeColor, ResourceKey<LootTable>> BuiltInLootTables.SHEEP_BY_DYEstatic final ResourceKey<LootTable> BuiltInLootTables.SHEPHERD_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.SHIPWRECK_MAPstatic final ResourceKey<LootTable> BuiltInLootTables.SHIPWRECK_SUPPLYstatic final ResourceKey<LootTable> BuiltInLootTables.SHIPWRECK_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.SIMPLE_DUNGEONstatic final ResourceKey<LootTable> BuiltInLootTables.SNIFFER_DIGGINGstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWN_BONUS_CHESTstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_OMINOUS_TRIAL_CHAMBER_CONSUMABLESstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_OMINOUS_TRIAL_CHAMBER_KEYstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_CONSUMABLESstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_KEYstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_TRIAL_ITEMS_TO_DROP_WHEN_OMINOUSstatic final ResourceKey<LootTable> BuiltInLootTables.STRONGHOLD_CORRIDORstatic final ResourceKey<LootTable> BuiltInLootTables.STRONGHOLD_CROSSINGstatic final ResourceKey<LootTable> BuiltInLootTables.STRONGHOLD_LIBRARYstatic final LootDataType<LootTable> LootDataType.TABLEstatic final ResourceKey<LootTable> BuiltInLootTables.TOOLSMITH_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.TRAIL_RUINS_ARCHAEOLOGY_COMMONstatic final ResourceKey<LootTable> BuiltInLootTables.TRAIL_RUINS_ARCHAEOLOGY_RAREstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CHAMBER_DISPENSERstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDORstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_DISPENSERstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_POTstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_ENTRANCEstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTIONstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTION_BARRELstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARDstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_COMMONstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUSstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_COMMONstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_RAREstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUEstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_RAREstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_UNIQUEstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_SUPPLYstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_WATER_DISPENSERstatic final ResourceKey<LootTable> BuiltInLootTables.TURTLE_GROWstatic final ResourceKey<LootTable> BuiltInLootTables.UNDERWATER_RUIN_BIGstatic final ResourceKey<LootTable> BuiltInLootTables.UNDERWATER_RUIN_SMALLstatic final ResourceKey<LootTable> BuiltInLootTables.UNEMPLOYED_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_ARMORERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_BUTCHERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_CARTOGRAPHERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_DESERT_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_FISHERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_FLETCHERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_MASONstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_PLAINS_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_SAVANNA_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_SHEPHERDstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_SNOWY_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_TAIGA_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_TANNERYstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_TEMPLEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_TOOLSMITHstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_WEAPONSMITHstatic final ResourceKey<LootTable> BuiltInLootTables.WEAPONSMITH_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.WOODLAND_MANSIONMethods 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 pLootTable) private static Map<DyeColor, ResourceKey<LootTable>> BuiltInLootTables.makeDyeKeyMap(String pPath) private static ResourceKey<LootTable> private static ResourceKey<LootTable> BuiltInLootTables.register(ResourceKey<LootTable> pName) Methods in net.minecraft.world.level.storage.loot with parameters of type LootTableModifier and TypeMethodDescriptionstatic LootContext.VisitedEntry<LootTable> LootContext.createVisitedEntry(LootTable pLootTable) Method parameters in net.minecraft.world.level.storage.loot with type arguments of type LootTableModifier and TypeMethodDescriptionprivate static ResourceKey<LootTable> BuiltInLootTables.register(ResourceKey<LootTable> pName) -
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.contentsprivate final com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> NestedLootTable.contentsMethods in net.minecraft.world.level.storage.loot.entries with parameters of type LootTableModifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder<?> NestedLootTable.inlineLootTable(LootTable pLootTable) Method parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type LootTableModifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder<?> NestedLootTable.lootTableReference(ResourceKey<LootTable> pLootTable) Constructor parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type LootTableModifierConstructorDescriptionprivateNestedLootTable(com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> pContents, int pWeight, int pQuality, List<LootItemCondition> pConditions, List<LootItemFunction> pFunctions) privateNestedLootTable(com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> pContents, int pWeight, int pQuality, List<LootItemCondition> pConditions, List<LootItemFunction> pFunctions) -
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<?> pType, ResourceKey<LootTable> pToolTable) static LootItemConditionalFunction.Builder<?> SetContainerLootTable.withLootTable(BlockEntityType<?> pType, ResourceKey<LootTable> pLootTable, long pSeed) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type LootTableModifierConstructorDescriptionprivateSetContainerLootTable(List<LootItemCondition> pConditions, ResourceKey<LootTable> pName, long pSeed, Holder<BlockEntityType<?>> pType) -
Uses of LootTable in net.neoforged.neoforge.common.data
Method parameters in net.neoforged.neoforge.common.data with type arguments of type LootTableModifier and TypeMethodDescriptionvoidConditionalLootTableSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) -
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 voidNeoForgeLootTableProvider.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 LootTableFields in net.neoforged.neoforge.event with type parameters of type LootTableMethods in net.neoforged.neoforge.event that return LootTableModifier and TypeMethodDescriptionLootTableLoadEvent.getTable()static @Nullable LootTableEventHooks.loadLootTable(HolderLookup.Provider registries, Identifier name, LootTable table) Fires theLootTableLoadEventfor non-empty loot tables and returns the table if the event was not canceled and the table was not set toEMPTYin the event.Methods in net.neoforged.neoforge.event that return types with arguments of type LootTableMethods in net.neoforged.neoforge.event with parameters of type LootTableModifier and TypeMethodDescriptionstatic @Nullable LootTableEventHooks.loadLootTable(HolderLookup.Provider registries, Identifier name, LootTable table) Fires theLootTableLoadEventfor non-empty loot tables and returns the table if the event was not canceled and the table was not set toEMPTYin the event.voidConstructors in net.neoforged.neoforge.event with parameters of type LootTableModifierConstructorDescriptionLootTableLoadEvent(HolderLookup.Provider registries, Identifier name, LootTable table) -
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.lootTableThe field for thelootTablerecord component.Methods in net.neoforged.neoforge.registries.datamaps.builtin that return types with arguments of type LootTableModifier and TypeMethodDescriptionRaidHeroGift.lootTable()Returns the value of thelootTablerecord component.Constructor parameters in net.neoforged.neoforge.registries.datamaps.builtin with type arguments of type LootTableModifierConstructorDescriptionRaidHeroGift(ResourceKey<LootTable> lootTable) Creates an instance of aRaidHeroGiftrecord class.
data mapinstead