Uses of Class
net.minecraft.loot.LootTable
Package
Description
-
Uses of LootTable in net.minecraft.advancement
Modifier and TypeFieldDescriptionprivate final ImmutableList.Builder
<RegistryKey<LootTable>> AdvancementRewards.Builder.loot
private final List
<RegistryKey<LootTable>> AdvancementRewards.loot
The field for theloot
record component.Modifier and TypeMethodDescriptionAdvancementRewards.loot()
Returns the value of theloot
record component.Modifier and TypeMethodDescriptionAdvancementRewards.Builder.addLoot
(RegistryKey<LootTable> loot) static AdvancementRewards.Builder
AdvancementRewards.Builder.loot
(RegistryKey<LootTable> loot) ModifierConstructorDescriptionAdvancementRewards
(int experience, List<RegistryKey<LootTable>> list, List<RegistryKey<Recipe<?>>> list2, Optional<LazyContainer> optional) -
Uses of LootTable in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final RegistryKey
<LootTable> PlayerGeneratesContainerLootCriterion.Conditions.lootTable
The field for thelootTable
record component.Modifier and TypeMethodDescriptionPlayerGeneratesContainerLootCriterion.Conditions.lootTable()
Returns the value of thelootTable
record component.Modifier and TypeMethodDescriptionPlayerGeneratesContainerLootCriterion.Conditions.create
(RegistryKey<LootTable> registryKey) boolean
PlayerGeneratesContainerLootCriterion.Conditions.test
(RegistryKey<LootTable> lootTable) void
PlayerGeneratesContainerLootCriterion.trigger
(ServerPlayerEntity player, RegistryKey<LootTable> lootTable) ModifierConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, RegistryKey<LootTable> registryKey) -
Uses of LootTable in net.minecraft.block
Modifier and TypeFieldDescriptionprivate RegistryKeyedValue
<Block, Optional<RegistryKey<LootTable>>> AbstractBlock.Settings.lootTable
protected final Optional
<RegistryKey<LootTable>> AbstractBlock.lootTableKey
TheRegistryKey
of the loot table that determines what this block drops.Modifier and TypeMethodDescriptionfinal Optional
<RegistryKey<LootTable>> AbstractBlock.getLootTableKey()
protected Optional
<RegistryKey<LootTable>> AbstractBlock.Settings.getLootTableKey()
Modifier and TypeMethodDescriptionAbstractBlock.Settings.lootTable
(Optional<RegistryKey<LootTable>> lootTableKey) -
Uses of LootTable in net.minecraft.block.entity
Modifier and TypeFieldDescriptionprivate @Nullable RegistryKey
<LootTable> BrushableBlockEntity.lootTable
protected @Nullable RegistryKey
<LootTable> LootableContainerBlockEntity.lootTable
protected @Nullable RegistryKey
<LootTable> DecoratedPotBlockEntity.lootTableId
Modifier and TypeMethodDescriptionDecoratedPotBlockEntity.getLootTable()
LootableContainerBlockEntity.getLootTable()
Modifier and TypeMethodDescriptionprivate static ItemStack
VaultBlockEntity.Server.generateDisplayItem
(ServerWorld world, BlockPos pos, RegistryKey<LootTable> lootTable) void
BrushableBlockEntity.setLootTable
(RegistryKey<LootTable> lootTable, long seed) void
DecoratedPotBlockEntity.setLootTable
(@Nullable RegistryKey<LootTable> lootTable) void
LootableContainerBlockEntity.setLootTable
(@Nullable RegistryKey<LootTable> lootTable) -
Uses of LootTable in net.minecraft.block.spawner
Modifier and TypeFieldDescriptionprivate RegistryKey
<LootTable> TrialSpawnerConfig.Builder.itemsToDropWhenOminous
private final RegistryKey
<LootTable> TrialSpawnerConfig.itemsToDropWhenOminous
The field for theitemsToDropWhenOminous
record component.private DataPool
<RegistryKey<LootTable>> TrialSpawnerConfig.Builder.lootTablesToEject
private final DataPool
<RegistryKey<LootTable>> TrialSpawnerConfig.lootTablesToEject
The field for thelootTablesToEject
record component.protected Optional
<RegistryKey<LootTable>> TrialSpawnerData.rewardLootTable
Modifier and TypeMethodDescriptionTrialSpawnerConfig.itemsToDropWhenOminous()
Returns the value of theitemsToDropWhenOminous
record component.TrialSpawnerConfig.lootTablesToEject()
Returns the value of thelootTablesToEject
record component.Modifier and TypeMethodDescriptionprivate static <T extends Entity>
MobSpawnerEntryTrialSpawnerConfigs.createEntry
(EntityType<T> entityType, Consumer<NbtCompound> nbtConsumer, @Nullable RegistryKey<LootTable> equipmentTable) private static <T extends Entity>
MobSpawnerEntryTrialSpawnerConfigs.createEntry
(EntityType<T> entityType, RegistryKey<LootTable> equipmentTable) void
TrialSpawnerLogic.ejectLootTable
(ServerWorld world, BlockPos pos, RegistryKey<LootTable> lootTable) TrialSpawnerConfig.Builder.itemsToDropWhenOminous
(RegistryKey<LootTable> itemsToDropWhenOminous) TrialSpawnerConfig.Builder.lootTablesToEject
(DataPool<RegistryKey<LootTable>> lootTablesToEject) ModifierConstructorDescriptionTrialSpawnerConfig
(int int2, float float2, float float3, float float4, float float5, int int3, DataPool<MobSpawnerEntry> dataPool, DataPool<RegistryKey<LootTable>> dataPool2, RegistryKey<LootTable> registryKey) -
Uses of LootTable in net.minecraft.block.vault
Modifier and TypeFieldDescriptionprivate final RegistryKey
<LootTable> VaultConfig.lootTable
The field for thelootTable
record component.private final Optional
<RegistryKey<LootTable>> VaultConfig.overrideLootTableToDisplay
The field for theoverrideLootTableToDisplay
record component.Modifier and TypeMethodDescriptionVaultConfig.lootTable()
Returns the value of thelootTable
record component.VaultConfig.overrideLootTableToDisplay()
Returns the value of theoverrideLootTableToDisplay
record component.ModifierConstructorDescriptionVaultConfig
(RegistryKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<RegistryKey<LootTable>> overrideLootTableToDisplay) VaultConfig
(RegistryKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<RegistryKey<LootTable>> overrideLootTableToDisplay) VaultConfig
(RegistryKey<LootTable> registryKey, double double2, double double3, ItemStack itemStack, Optional<RegistryKey<LootTable>> optional, EntityDetector entityDetector, EntityDetector.Selector selector) VaultConfig
(RegistryKey<LootTable> registryKey, double double2, double double3, ItemStack itemStack, Optional<RegistryKey<LootTable>> optional, EntityDetector entityDetector, EntityDetector.Selector selector) -
Uses of LootTable in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic RegistryEntry
<LootTable> RegistryEntryArgumentType.getLootTable
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument) -
Uses of LootTable in net.minecraft.component.type
Modifier and TypeFieldDescriptionprivate final RegistryKey
<LootTable> ContainerLootComponent.lootTable
The field for thelootTable
record component.Modifier and TypeMethodDescriptionContainerLootComponent.lootTable()
Returns the value of thelootTable
record component.ModifierConstructorDescriptionContainerLootComponent
(RegistryKey<LootTable> registryKey, long long2) -
Uses of LootTable in net.minecraft.data.server.loottable
Modifier and TypeFieldDescriptionprivate final Set
<RegistryKey<LootTable>> LootTableProvider.lootTableIds
protected final Map
<RegistryKey<LootTable>, LootTable.Builder> BlockLootTableGenerator.lootTables
private final Map
<EntityType<?>, Map<RegistryKey<LootTable>, LootTable.Builder>> EntityLootTableGenerator.lootTables
Modifier and TypeMethodDescriptionvoid
BlockLootTableGenerator.accept
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) void
EntityLootTableGenerator.accept
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) void
LootTableGenerator.accept
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) static LootPool.Builder
EntityLootTableGenerator.createForSheep
(Map<DyeColor, RegistryKey<LootTable>> colorLootTables) private static Identifier
LootTableProvider.getId
(RegistryKey<LootTable> lootTableKey) protected void
EntityLootTableGenerator.register
(EntityType<?> entityType, RegistryKey<LootTable> tableKey, LootTable.Builder lootTable) ModifierConstructorDescriptionprotected
BlockLootTableGenerator
(Set<Item> explosionImmuneItems, FeatureSet requiredFeatures, Map<RegistryKey<LootTable>, LootTable.Builder> lootTables, RegistryWrapper.WrapperLookup registries) LootTableProvider
(DataOutput output, Set<RegistryKey<LootTable>> lootTableIds, List<LootTableProvider.LootTypeGenerator> lootTypeGenerators, CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture) -
Uses of LootTable in net.minecraft.data.server.loottable.rebalance
Modifier and TypeMethodDescriptionvoid
TradeRebalanceChestLootTableGenerator.accept
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) -
Uses of LootTable in net.minecraft.data.server.loottable.vanilla
Modifier and TypeMethodDescriptionvoid
VanillaArchaeologyLootTableGenerator.accept
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) void
VanillaBarterLootTableGenerator.accept
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) void
VanillaChestLootTableGenerator.accept
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) void
VanillaEquipmentLootTableGenerator.accept
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) void
VanillaFishingLootTableGenerator.accept
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) void
VanillaGiftLootTableGenerator.accept
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) void
VanillaShearingLootTableGenerator.accept
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) void
VanillaChestLootTableGenerator.acceptTrialSpawnerTables
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) -
Uses of LootTable in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate RegistryKeyedValue
<EntityType<?>, Optional<RegistryKey<LootTable>>> EntityType.Builder.lootTable
private final RegistryKey
<LootTable> EquipmentTable.lootTable
The field for thelootTable
record component.private final Optional
<RegistryKey<LootTable>> EntityType.lootTableKey
Modifier and TypeMethodDescriptionEntity.getLootTableKey()
EntityType.getLootTableKey()
EquipmentTable.lootTable()
Returns the value of thelootTable
record component.Modifier and TypeMethodDescriptionprotected boolean
LivingEntity.forEachGeneratedItem
(ServerWorld world, RegistryKey<LootTable> lootTableKey, Function<LootWorldContext.Builder, LootWorldContext> lootContextParametersFactory, BiConsumer<ServerWorld, ItemStack> lootConsumer) boolean
LivingEntity.forEachGiftedItem
(ServerWorld world, RegistryKey<LootTable> lootTableKey, BiConsumer<ServerWorld, ItemStack> lootConsumer) protected void
LivingEntity.forEachShearedItem
(ServerWorld world, RegistryKey<LootTable> lootTableKey, ItemStack tool, BiConsumer<ServerWorld, ItemStack> lootConsumer) default void
EquipmentHolder.setEquipmentFromTable
(RegistryKey<LootTable> lootTable, LootWorldContext parameters, long seed, Map<EquipmentSlot, Float> slotDropChances) default void
EquipmentHolder.setEquipmentFromTable
(RegistryKey<LootTable> lootTable, LootWorldContext parameters, Map<EquipmentSlot, Float> slotDropChances) ModifierConstructorDescriptionEntityType
(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup, boolean saveable, boolean summonable, boolean fireImmune, boolean spawnableFarFromPlayer, ImmutableSet<Block> canSpawnInside, EntityDimensions dimensions, float spawnBoxScale, int maxTrackDistance, int trackTickInterval, String translationKey, Optional<RegistryKey<LootTable>> lootTable, FeatureSet requiredFeatures) EquipmentTable
(RegistryKey<LootTable> lootTable, float slotDropChances) EquipmentTable
(RegistryKey<LootTable> registryKey, Map<EquipmentSlot, Float> map) -
Uses of LootTable in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate static final Map
<VillagerProfession, RegistryKey<LootTable>> GiveGiftsToHeroTask.GIFTS
Modifier and TypeMethodDescriptionprivate static RegistryKey
<LootTable> GiveGiftsToHeroTask.getGiftLootTable
(VillagerEntity villager) -
Uses of LootTable in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionfinal Optional
<RegistryKey<LootTable>> MobEntity.getLootTableKey()
Modifier and TypeMethodDescriptionvoid
MobEntity.setEquipmentFromTable
(RegistryKey<LootTable> lootTable, Map<EquipmentSlot, Float> slotDropChances) -
Uses of LootTable in net.minecraft.entity.vehicle
Modifier and TypeFieldDescriptionprivate @Nullable RegistryKey
<LootTable> AbstractChestBoatEntity.lootTable
private @Nullable RegistryKey
<LootTable> StorageMinecartEntity.lootTable
Modifier and TypeMethodDescriptionAbstractChestBoatEntity.getLootTable()
StorageMinecartEntity.getLootTable()
VehicleInventory.getLootTable()
Modifier and TypeMethodDescriptionvoid
AbstractChestBoatEntity.setLootTable
(@Nullable RegistryKey<LootTable> lootTable) void
StorageMinecartEntity.setLootTable
(@Nullable RegistryKey<LootTable> lootTable) void
StorageMinecartEntity.setLootTable
(RegistryKey<LootTable> lootTable, long lootSeed) void
VehicleInventory.setLootTable
(@Nullable RegistryKey<LootTable> lootTable) -
Uses of LootTable in net.minecraft.inventory
Modifier and TypeMethodDescriptionvoid
LootableInventory.setLootTable
(@Nullable RegistryKey<LootTable> lootTable) default void
LootableInventory.setLootTable
(RegistryKey<LootTable> lootTableId, long lootTableSeed) Sets the loot table and seed at once.static void
LootableInventory.setLootTable
(BlockView world, Random random, BlockPos pos, RegistryKey<LootTable> lootTableId) Queries the block entity atpos
, checks if it is aLootableInventory
, and sets the loot table and seed if applicable. -
Uses of LootTable in net.minecraft.loot
Modifier and TypeFieldDescriptionstatic final RegistryKey
<LootTable> LootTables.ABANDONED_MINESHAFT_CHEST
static final RegistryKey
<LootTable> LootTables.ANCIENT_CITY_CHEST
static final RegistryKey
<LootTable> LootTables.ANCIENT_CITY_ICE_BOX_CHEST
static final RegistryKey
<LootTable> LootTables.ARMADILLO_SHED_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.BASTION_BRIDGE_CHEST
static final RegistryKey
<LootTable> LootTables.BASTION_HOGLIN_STABLE_CHEST
static final RegistryKey
<LootTable> LootTables.BASTION_OTHER_CHEST
static final RegistryKey
<LootTable> LootTables.BASTION_TREASURE_CHEST
static final RegistryKey
<LootTable> LootTables.BOGGED_SHEARING
static final RegistryKey
<LootTable> LootTables.BURIED_TREASURE_CHEST
static final RegistryKey
<LootTable> LootTables.CAT_MORNING_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.CHICKEN_LAY_GAMEPLAY
static final com.mojang.serialization.Codec
<LootTable> LootTable.CODEC
static final RegistryKey
<LootTable> LootTables.DESERT_PYRAMID_ARCHAEOLOGY
static final RegistryKey
<LootTable> LootTables.DESERT_PYRAMID_CHEST
static final RegistryKey
<LootTable> LootTables.DESERT_WELL_ARCHAEOLOGY
static final RegistryKey
<LootTable> LootTables.END_CITY_TREASURE_CHEST
static final com.mojang.serialization.Codec
<RegistryEntry<LootTable>> LootTable.ENTRY_CODEC
static final RegistryKey
<LootTable> LootTables.FISHING_FISH_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.FISHING_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.FISHING_JUNK_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.FISHING_TREASURE_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_ARMORER_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_BABY_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_BUTCHER_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_CLERIC_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_FARMER_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_FISHERMAN_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_FLETCHER_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_LIBRARIAN_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_MASON_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_SHEPHERD_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_TOOLSMITH_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_UNEMPLOYED_GIFT_GAMEPLAY
static final RegistryKey
<LootTable> static final RegistryKey
<LootTable> LootTables.IGLOO_CHEST_CHEST
static final RegistryKey
<LootTable> LootTables.JUNGLE_TEMPLE_CHEST
static final RegistryKey
<LootTable> LootTables.JUNGLE_TEMPLE_DISPENSER_CHEST
static final LootDataType
<LootTable> LootDataType.LOOT_TABLES
private static final Set
<RegistryKey<LootTable>> LootTables.LOOT_TABLES
private static final Set
<RegistryKey<LootTable>> LootTables.LOOT_TABLES_READ_ONLY
static final RegistryKey
<LootTable> LootTables.MOOSHROOM_BROWN_SHEARING
static final RegistryKey
<LootTable> LootTables.MOOSHROOM_RED_SHEARING
static final RegistryKey
<LootTable> LootTables.MOOSHROOM_SHEARING
static final RegistryKey
<LootTable> LootTables.NETHER_BRIDGE_CHEST
static final RegistryKey
<LootTable> LootTables.OCEAN_RUIN_COLD_ARCHAEOLOGY
static final RegistryKey
<LootTable> LootTables.OCEAN_RUIN_WARM_ARCHAEOLOGY
static final RegistryKey
<LootTable> LootTables.OMINOUS_TRIAL_CHAMBER_CONSUMABLES_SPAWNER
static final RegistryKey
<LootTable> LootTables.OMINOUS_TRIAL_CHAMBER_KEY_SPAWNER
static final RegistryKey
<LootTable> LootTables.PANDA_SNEEZE_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.PIGLIN_BARTERING_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.PILLAGER_OUTPOST_CHEST
static final RegistryKey
<LootTable> LootTables.RUINED_PORTAL_CHEST
static final Map
<DyeColor, RegistryKey<LootTable>> LootTables.SHEEP_DROPS_FROM_DYE_COLOR
static final RegistryKey
<LootTable> LootTables.SHEEP_SHEARING
static final Map
<DyeColor, RegistryKey<LootTable>> LootTables.SHEEP_SHEARING_FROM_DYE_COLOR
static final RegistryKey
<LootTable> LootTables.SHIPWRECK_MAP_CHEST
static final RegistryKey
<LootTable> LootTables.SHIPWRECK_SUPPLY_CHEST
static final RegistryKey
<LootTable> LootTables.SHIPWRECK_TREASURE_CHEST
static final RegistryKey
<LootTable> LootTables.SIMPLE_DUNGEON_CHEST
static final RegistryKey
<LootTable> LootTables.SNIFFER_DIGGING_GAMEPLAY
static final RegistryKey
<LootTable> LootTables.SNOW_GOLEM_SHEARING
static final RegistryKey
<LootTable> LootTables.SPAWN_BONUS_CHEST
static final RegistryKey
<LootTable> LootTables.STRONGHOLD_CORRIDOR_CHEST
static final RegistryKey
<LootTable> LootTables.STRONGHOLD_CROSSING_CHEST
static final RegistryKey
<LootTable> LootTables.STRONGHOLD_LIBRARY_CHEST
static final RegistryKey
<LootTable> LootTables.TRAIL_RUINS_COMMON_ARCHAEOLOGY
static final RegistryKey
<LootTable> LootTables.TRAIL_RUINS_RARE_ARCHAEOLOGY
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBER_CONSUMABLES_SPAWNER
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBER_EQUIPMENT
static final RegistryKey
<LootTable> static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBER_KEY_SPAWNER
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBER_MELEE_EQUIPMENT
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBER_RANGED_EQUIPMENT
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_CHAMBER_DISPENSER
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_CORRIDOR_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_CORRIDOR_DISPENSER
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_CORRIDOR_POT
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_ENTRANCE_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_INTERSECTION_BARREL_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_INTERSECTION_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_REWARD_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_REWARD_COMMON_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_COMMON_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_RARE_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUE_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_REWARD_RARE_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_REWARD_UNIQUE_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_SUPPLY_CHEST
static final RegistryKey
<LootTable> LootTables.TRIAL_CHAMBERS_WATER_DISPENSER
static final RegistryKey
<LootTable> LootTables.UNDERWATER_RUIN_BIG_CHEST
static final RegistryKey
<LootTable> LootTables.UNDERWATER_RUIN_SMALL_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_ARMORER_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_BUTCHER_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_CARTOGRAPHER_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_DESERT_HOUSE_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_FISHER_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_FLETCHER_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_MASON_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_PLAINS_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_SAVANNA_HOUSE_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_SHEPARD_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_SNOWY_HOUSE_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_TAIGA_HOUSE_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_TANNERY_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_TEMPLE_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_TOOLSMITH_CHEST
static final RegistryKey
<LootTable> LootTables.VILLAGE_WEAPONSMITH_CHEST
static final RegistryKey
<LootTable> LootTables.WOODLAND_MANSION_CHEST
Modifier and TypeMethodDescriptionstatic Set
<RegistryKey<LootTable>> LootTables.getAll()
private static RegistryKey
<LootTable> private static RegistryKey
<LootTable> LootTables.registerLootTable
(RegistryKey<LootTable> key) private static LootDataType.Validator
<LootTable> LootDataType.tableValidator()
Modifier and TypeMethodDescriptionprivate static void
LootTables.registerAllDyeColors
(EnumMap<DyeColor, RegistryKey<LootTable>> lootTableMap, String lootTableType) private static RegistryKey
<LootTable> LootTables.registerLootTable
(RegistryKey<LootTable> key) -
Uses of LootTable in net.minecraft.loot.context
-
Uses of LootTable in net.minecraft.loot.entry
Modifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either
<RegistryKey<LootTable>, LootTable> LootTableEntry.value
private final com.mojang.datafixers.util.Either
<RegistryKey<LootTable>, LootTable> LootTableEntry.value
Modifier and TypeMethodDescriptionstatic LeafEntry.Builder
<?> LootTableEntry.builder
(RegistryKey<LootTable> key) ModifierConstructorDescriptionprivate
LootTableEntry
(com.mojang.datafixers.util.Either<RegistryKey<LootTable>, LootTable> value, int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions) private
LootTableEntry
(com.mojang.datafixers.util.Either<RegistryKey<LootTable>, LootTable> value, int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions) -
Uses of LootTable in net.minecraft.loot.function
Modifier and TypeFieldDescriptionprivate final RegistryKey
<LootTable> SetLootTableLootFunction.lootTable
Modifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder
<?> SetLootTableLootFunction.builder
(BlockEntityType<?> type, RegistryKey<LootTable> lootTable) static ConditionalLootFunction.Builder
<?> SetLootTableLootFunction.builder
(BlockEntityType<?> type, RegistryKey<LootTable> lootTable, long seed) ModifierConstructorDescriptionprivate
SetLootTableLootFunction
(List<LootCondition> conditions, RegistryKey<LootTable> lootTable, long seed, RegistryEntry<BlockEntityType<?>> blockEntityType) -
Uses of LootTable in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey
<Registry<LootTable>> RegistryKeys.LOOT_TABLE
Modifier and TypeMethodDescriptionReloadableRegistries.Lookup.getLootTable
(RegistryKey<LootTable> key) Modifier and TypeMethodDescriptionReloadableRegistries.Lookup.getLootTable
(RegistryKey<LootTable> key) -
Uses of LootTable in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
LootCommand.executeFish
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, BlockPos pos, ItemStack stack, LootCommand.Target constructor) private static int
LootCommand.executeLoot
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootCommand.Target constructor) private static int
LootCommand.getFeedbackMessageSingle
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootWorldContext lootContextParameters, LootCommand.Target constructor) private static void
LootCommand.sendDroppedFeedback
(ServerCommandSource source, List<ItemStack> stacks, RegistryKey<LootTable> lootTable) -
Uses of LootTable in net.minecraft.structure
Modifier and TypeFieldDescription(package private) static final Map
<String, RegistryKey<LootTable>> ShipwreckGenerator.LOOT_TABLES
Modifier and TypeMethodDescriptionprotected boolean
MineshaftGenerator.MineshaftCorridor.addChest
(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, RegistryKey<LootTable> lootTable) protected boolean
StructurePiece.addChest
(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, RegistryKey<LootTable> lootTable, @Nullable BlockState block) protected boolean
StructurePiece.addChest
(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, RegistryKey<LootTable> lootTable) protected boolean
StructurePiece.addDispenser
(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, Direction facing, RegistryKey<LootTable> lootTable) private static StructureProcessor
OceanRuinGenerator.createArchaeologyStructureProcessor
(Block baseBlock, Block suspiciousBlock, RegistryKey<LootTable> lootTable) -
Uses of LootTable in net.minecraft.structure.processor
Modifier and TypeMethodDescriptionprivate static CappedStructureProcessor
StructureProcessorLists.createTrailRuinsTowerTopProcessor
(RegistryKey<LootTable> lootTable, int limit) -
Uses of LootTable in net.minecraft.structure.rule.blockentity
Modifier and TypeFieldDescriptionprivate final RegistryKey
<LootTable> AppendLootRuleBlockEntityModifier.lootTable
ModifierConstructorDescriptionAppendLootRuleBlockEntityModifier
(RegistryKey<LootTable> lootTable)