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> id) static AdvancementRewards.BuilderAdvancementRewards.Builder.loot(ResourceKey<LootTable> id) 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> lootTable) booleanLootTableTrigger.TriggerInstance.matches(ResourceKey<LootTable> lootTable) voidLootTableTrigger.trigger(ServerPlayer player, ResourceKey<LootTable> lootTable) 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
Subclasses with type arguments of type LootTable in net.minecraft.commands.argumentsMethods in net.minecraft.commands.arguments that return types with arguments of type LootTableModifier and TypeMethodDescriptionResourceOrIdArgument.getLootTable(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) -
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.private 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<?> type, ResourceKey<LootTable> lootTable, LootTable.Builder builder) static LootPool.BuilderEntityLootSubProvider.createSheepDispatchPool(Map<DyeColor, ResourceKey<LootTable>> tableNames) voidBlockLootSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidEntityLootSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidLootTableSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) private static IdentifierLootTableProvider.sequenceIdForLootTable(ResourceKey<LootTable> id) protected voidLootTableProvider.validate(WritableRegistry<LootTable> tables, ValidationContextSource validationContext, ProblemReporter.Collector problems) Constructor parameters in net.minecraft.data.loot with type arguments of type LootTableModifierConstructorDescriptionLootTableProvider(PackOutput output, Set<ResourceKey<LootTable>> requiredTables, List<LootTableProvider.SubProviderEntry> subProviders, CompletableFuture<HolderLookup.Provider> registries) 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> output) voidVanillaArchaeologyLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaBlockInteractLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaChargedCreeperExplosionLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaChestLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaEntityInteractLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaEquipmentLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaFishingLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaGiftLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaPiglinBarterLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaShearingLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaChestLoot.spawnerLootTables(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) Constructor parameters in net.minecraft.data.loot.packs with type arguments of type LootTableModifierConstructorDescriptionprivateEntry(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> lootTable, int count) -
Uses of LootTable in net.minecraft.server
Methods in net.minecraft.server that return LootTableModifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getLootTable(ResourceKey<LootTable> id) Method parameters in net.minecraft.server with type arguments of type LootTableModifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getLootTable(ResourceKey<LootTable> id) -
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 source, List<ItemStack> drops, ResourceKey<LootTable> location) private static intLootCommand.drop(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, LootParams lootParams, LootCommand.DropConsumer output) private static intLootCommand.dropChestLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, LootCommand.DropConsumer output) private static intLootCommand.dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, BlockPos pos, ItemInstance tool, LootCommand.DropConsumer output) -
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 level, RandomSource random, BlockPos blockEntityPos, ResourceKey<LootTable> lootTable) voidRandomizableContainer.setLootTable(@Nullable ResourceKey<LootTable> lootTable) default voidRandomizableContainer.setLootTable(ResourceKey<LootTable> lootTable, long seed) -
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 level, ResourceKey<LootTable> key, @Nullable Entity interactingEntity, ItemInstance tool, BiConsumer<ServerLevel, ItemStack> consumer) booleanLivingEntity.dropFromGiftLootTable(ServerLevel level, ResourceKey<LootTable> key, BiConsumer<ServerLevel, ItemStack> consumer) protected booleanLivingEntity.dropFromLootTable(ServerLevel level, ResourceKey<LootTable> key, Function<LootParams.Builder, LootParams> paramsBuilder, BiConsumer<ServerLevel, ItemStack> consumer) voidLivingEntity.dropFromLootTable(ServerLevel level, DamageSource source, boolean playerKilled, ResourceKey<LootTable> lootTable) voidLivingEntity.dropFromLootTable(ServerLevel level, DamageSource source, boolean playerKilled, ResourceKey<LootTable> lootTable, Consumer<ItemStack> itemStackConsumer) protected voidLivingEntity.dropFromShearingLootTable(ServerLevel level, ResourceKey<LootTable> key, ItemInstance tool, BiConsumer<ServerLevel, ItemStack> consumer) default voidEquipmentUser.equip(ResourceKey<LootTable> lootTable, LootParams lootParams, long optionalLootTableSeed, Map<EquipmentSlot, Float> dropChances) default voidEquipmentUser.equip(ResourceKey<LootTable> lootTable, LootParams lootParams, Map<EquipmentSlot, Float> dropChances) voidMob.equip(ResourceKey<LootTable> lootTable, Map<EquipmentSlot, Float> dropChances) Constructor parameters in net.minecraft.world.entity with type arguments of type LootTableModifierConstructorDescriptionEntityType(EntityType.EntityFactory<T> factory, MobCategory category, boolean serialize, boolean summon, boolean fireImmune, boolean canSpawnFarFromPlayer, ImmutableSet<Block> immuneTo, EntityDimensions dimensions, float spawnDimensionsScale, int clientTrackingRange, int updateInterval, String descriptionId, Optional<ResourceKey<LootTable>> lootTable, FeatureFlagSet requiredFeatures, boolean allowedInPeaceful) EntityType(EntityType.EntityFactory<T> factory, MobCategory category, boolean serialize, boolean summon, boolean fireImmune, boolean canSpawnFarFromPlayer, ImmutableSet<Block> immuneTo, EntityDimensions dimensions, float spawnDimensionsScale, int clientTrackingRange, int updateInterval, String descriptionId, Optional<ResourceKey<LootTable>> lootTable, FeatureFlagSet requiredFeatures, boolean allowedInPeaceful, Predicate<EntityType<?>> trackDeltasSupplier, ToIntFunction<EntityType<?>> trackingRangeSupplier, ToIntFunction<EntityType<?>> updateIntervalSupplier, boolean onlyOpCanSetNbt) EquipmentTable(ResourceKey<LootTable> lootTable, float dropChance) 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 villager) -
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> lootTable) -
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> lootTable) -
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> lootTable) voidAbstractMinecartContainer.setLootTable(ResourceKey<LootTable> lootTable, long seed) -
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 level, ResourceKey<LootTable> key, BlockState interactedBlockState, @Nullable BlockEntity interactedBlockEntity, @Nullable ItemInstance tool, @Nullable Entity interactingEntity, BiConsumer<ServerLevel, ItemStack> consumer) protected static booleanBlock.dropFromLootTable(ServerLevel level, ResourceKey<LootTable> key, Function<LootParams.Builder, LootParams> paramsBuilder, BiConsumer<ServerLevel, ItemStack> consumer) -
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> lootTable, long seed) voidDecoratedPotBlockEntity.setLootTable(@Nullable ResourceKey<LootTable> lootTable) voidRandomizableContainerBlockEntity.setLootTable(@Nullable ResourceKey<LootTable> lootTable) -
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> type, Consumer<CompoundTag> tagModifier, @Nullable ResourceKey<LootTable> equipmentLootTable) voidTrialSpawner.ejectReward(ServerLevel level, BlockPos pos, ResourceKey<LootTable> ejectingLootTable) TrialSpawnerConfig.Builder.itemsToDropWhenOminous(ResourceKey<LootTable> itemsToDropWhenOminous) TrialSpawnerConfig.Builder.lootTablesToEject(WeightedList<ResourceKey<LootTable>> lootTablesToEject) TrialSpawnerConfigs.spawnDataWithEquipment(EntityType<T> type, ResourceKey<LootTable> equipmentLootTable) 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 serverLevel, BlockPos pos, ResourceKey<LootTable> lootTableId) Constructor parameters in net.minecraft.world.level.block.entity.vault with type arguments of type LootTableModifierConstructorDescriptionVaultConfig(ResourceKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<ResourceKey<LootTable>> overrideDisplayItems) VaultConfig(ResourceKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<ResourceKey<LootTable>> overrideDisplayItems) 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>> table) -
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 level, BoundingBox chunkBB, RandomSource random, BlockPos pos, ResourceKey<LootTable> lootTable, @Nullable BlockState blockState) protected booleanStructurePiece.createChest(WorldGenLevel level, BoundingBox chunkBB, RandomSource random, int x, int y, int z, ResourceKey<LootTable> lootTable) protected booleanStructurePiece.createDispenser(WorldGenLevel level, BoundingBox chunkBB, RandomSource random, int x, int y, int z, Direction facing, ResourceKey<LootTable> lootTable) -
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 TypeFieldDescriptionprivate 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 candidateBlock, Block replacementBlock, ResourceKey<LootTable> lootTable) protected booleanMineshaftPieces.MineShaftCorridor.createChest(WorldGenLevel level, BoundingBox chunkBB, RandomSource random, int x, int y, int z, ResourceKey<LootTable> lootTable) -
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()static LootContext.VisitedEntry<LootTable> LootContext.createVisitedEntry(LootTable table) private static Map<DyeColor, ResourceKey<LootTable>> BuiltInLootTables.makeDyeKeyMap(String prefix) private static ResourceKey<LootTable> private static ResourceKey<LootTable> BuiltInLootTables.register(ResourceKey<LootTable> location) Methods in net.minecraft.world.level.storage.loot with parameters of type LootTableModifier and TypeMethodDescriptionstatic LootContext.VisitedEntry<LootTable> LootContext.createVisitedEntry(LootTable table) Method parameters in net.minecraft.world.level.storage.loot with type arguments of type LootTableModifier and TypeMethodDescriptionprivate static ResourceKey<LootTable> BuiltInLootTables.register(ResourceKey<LootTable> location) -
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 table) Method parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type LootTableModifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder<?> NestedLootTable.lootTableReference(ResourceKey<LootTable> name) Constructor parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type LootTableModifierConstructorDescriptionprivateNestedLootTable(com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> contents, int weight, int quality, List<LootItemCondition> conditions, List<LootItemFunction> functions) privateNestedLootTable(com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> contents, int weight, int quality, List<LootItemCondition> conditions, List<LootItemFunction> functions) -
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<?> type, ResourceKey<LootTable> value) static LootItemConditionalFunction.Builder<?> SetContainerLootTable.withLootTable(BlockEntityType<?> type, ResourceKey<LootTable> value, long seed) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type LootTableModifierConstructorDescriptionprivateSetContainerLootTable(List<LootItemCondition> predicates, ResourceKey<LootTable> name, long seed, Holder<BlockEntityType<?>> type) -
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> tables, ValidationContextSource validationContext, ProblemReporter.Collector problems) -
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 toLootTable.EMPTYin 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 toLootTable.EMPTYin 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