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<Identifier> 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 TypeFieldDescriptionprotected @Nullable RegistryKey
<LootTable> AbstractBlock.lootTableKey
TheRegistryKey
of the loot table that determines what this block drops.(package private) RegistryKey
<LootTable> AbstractBlock.Settings.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 final RegistryKey
<LootTable> TrialSpawnerConfig.itemsToDropWhenOminous
The field for theitemsToDropWhenOminous
record component.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 TypeMethodDescriptionvoid
TrialSpawnerLogic.ejectLootTable
(ServerWorld world, BlockPos pos, RegistryKey<LootTable> lootTable) 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
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) void
EntityLootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) void
LootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) 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) LootTableProvider
(DataOutput output, Set<RegistryKey<LootTable>> lootTableIds, List<LootTableProvider.LootTypeGenerator> lootTypeGenerators, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) -
Uses of LootTable in net.minecraft.data.server.loottable.onetwentyone
Modifier and TypeMethodDescriptionvoid
OneTwentyOneChestLootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) void
OneTwentyOneEquipmentLootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) void
OneTwentyOneShearingLootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) -
Uses of LootTable in net.minecraft.data.server.loottable.rebalance
Modifier and TypeMethodDescriptionvoid
TradeRebalanceChestLootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) -
Uses of LootTable in net.minecraft.data.server.loottable.vanilla
Modifier and TypeMethodDescriptionvoid
VanillaArchaeologyLootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) void
VanillaBarterLootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) void
VanillaChestLootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) void
VanillaEquipmentLootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) void
VanillaFishingLootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) void
VanillaGiftLootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) void
VanillaShearingLootTableGenerator.accept
(RegistryWrapper.WrapperLookup registryLookup, BiConsumer<RegistryKey<LootTable>, LootTable.Builder> consumer) static void
VanillaChestLootTableGenerator.acceptTrialSpawnerTables
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> exporter) -
Uses of LootTable in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate final RegistryKey
<LootTable> EquipmentTable.lootTable
The field for thelootTable
record component.private @Nullable RegistryKey
<LootTable> EntityType.lootTableId
Modifier and TypeMethodDescriptionLivingEntity.getLootTable()
EntityType.getLootTableId()
EquipmentTable.lootTable()
Returns the value of thelootTable
record component.Modifier and TypeMethodDescriptiondefault void
EquipmentHolder.setEquipmentFromTable
(RegistryKey<LootTable> lootTable, LootContextParameterSet parameters, long seed, Map<EquipmentSlot, Float> slotDropChances) default void
EquipmentHolder.setEquipmentFromTable
(RegistryKey<LootTable> lootTable, LootContextParameterSet parameters, Map<EquipmentSlot, Float> slotDropChances) ModifierConstructorDescriptionEquipmentTable
(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
-
Uses of LootTable in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionfinal RegistryKey
<LootTable> MobEntity.getLootTable()
protected RegistryKey
<LootTable> MobEntity.getLootTableId()
Modifier and TypeMethodDescriptionvoid
MobEntity.setEquipmentFromTable
(RegistryKey<LootTable> lootTable, Map<EquipmentSlot, Float> slotDropChances) -
Uses of LootTable in net.minecraft.entity.passive
-
Uses of LootTable in net.minecraft.entity.vehicle
Modifier and TypeFieldDescriptionprivate @Nullable RegistryKey
<LootTable> ChestBoatEntity.lootTable
private @Nullable RegistryKey
<LootTable> StorageMinecartEntity.lootTable
Modifier and TypeMethodDescriptionChestBoatEntity.getLootTable()
StorageMinecartEntity.getLootTable()
VehicleInventory.getLootTable()
Modifier and TypeMethodDescriptionvoid
ChestBoatEntity.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.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.BLACK_SHEEP_ENTITY
static final RegistryKey
<LootTable> LootTables.BLUE_SHEEP_ENTITY
static final RegistryKey
<LootTable> LootTables.BOGGED_SHEARING
static final RegistryKey
<LootTable> LootTables.BROWN_SHEEP_ENTITY
static final RegistryKey
<LootTable> LootTables.BURIED_TREASURE_CHEST
static final RegistryKey
<LootTable> LootTables.CAT_MORNING_GIFT_GAMEPLAY
static final com.mojang.serialization.Codec
<LootTable> LootTable.CODEC
static final RegistryKey
<LootTable> LootTables.CYAN_SHEEP_ENTITY
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.EMPTY
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.GRAY_SHEEP_ENTITY
static final RegistryKey
<LootTable> LootTables.GREEN_SHEEP_ENTITY
static final RegistryKey
<LootTable> LootTables.HERO_OF_THE_VILLAGE_ARMORER_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> 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 RegistryKey
<LootTable> LootTables.LIGHT_BLUE_SHEEP_ENTITY
static final RegistryKey
<LootTable> LootTables.LIGHT_GRAY_SHEEP_ENTITY
static final RegistryKey
<LootTable> LootTables.LIME_SHEEP_ENTITY
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.MAGENTA_SHEEP_ENTITY
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.ORANGE_SHEEP_ENTITY
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.PINK_SHEEP_ENTITY
static final RegistryKey
<LootTable> LootTables.PURPLE_SHEEP_ENTITY
static final RegistryKey
<LootTable> LootTables.RED_SHEEP_ENTITY
static final RegistryKey
<LootTable> LootTables.RUINED_PORTAL_CHEST
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.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.WHITE_SHEEP_ENTITY
static final RegistryKey
<LootTable> LootTables.WOODLAND_MANSION_CHEST
static final RegistryKey
<LootTable> LootTables.YELLOW_SHEEP_ENTITY
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 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, LootContextParameterSet 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)