Uses of Class
net.minecraft.loot.LootTable.Builder
Package
Description
-
Uses of LootTable.Builder in net.minecraft.data.server.loottable
Modifier and TypeFieldDescriptionprotected final Map
<RegistryKey<LootTable>, LootTable.Builder> BlockLootTableGenerator.lootTables
private final Map
<EntityType<?>, Map<RegistryKey<LootTable>, LootTable.Builder>> EntityLootTableGenerator.lootTables
Modifier and TypeMethodDescriptionBlockLootTableGenerator.attachedCropStemDrops
(Block stem, Item drop) protected LootTable.Builder
BlockLootTableGenerator.bannerDrops
(Block drop) protected LootTable.Builder
BlockLootTableGenerator.beehiveDrops
(Block drop) protected LootTable.Builder
BlockLootTableGenerator.beeNestDrops
(Block drop) protected static LootTable.Builder
BlockLootTableGenerator.candleCakeDrops
(Block candleCake) protected LootTable.Builder
BlockLootTableGenerator.candleDrops
(Block candle) protected LootTable.Builder
BlockLootTableGenerator.copperOreDrops
(Block drop) protected LootTable.Builder
BlockLootTableGenerator.cropDrops
(Block crop, Item product, Item seeds, LootCondition.Builder condition) BlockLootTableGenerator.cropStemDrops
(Block stem, Item drop) protected LootTable.Builder
protected LootTable.Builder
BlockLootTableGenerator.drops
(Block withSilkTouch, ItemConvertible withoutSilkTouch) protected LootTable.Builder
BlockLootTableGenerator.drops
(Block block, ItemConvertible drop, LootNumberProvider count) private static LootTable.Builder
BlockLootTableGenerator.drops
(Block drop, LootCondition.Builder conditionBuilder, LootPoolEntry.Builder<?> child) BlockLootTableGenerator.drops
(ItemConvertible drop) protected LootTable.Builder
BlockLootTableGenerator.drops
(ItemConvertible drop, LootNumberProvider count) static LootTable.Builder
BlockLootTableGenerator.dropsNothing()
protected <T extends Comparable<T> & StringIdentifiable>
LootTable.BuilderBlockLootTableGenerator.dropsWithProperty
(Block drop, Property<T> property, T value) protected LootTable.Builder
BlockLootTableGenerator.dropsWithShears
(Block block, LootPoolEntry.Builder<?> loot) protected LootTable.Builder
BlockLootTableGenerator.dropsWithShears
(ItemConvertible item) protected LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouch
(Block block, LootPoolEntry.Builder<?> loot) private LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouch
(ItemConvertible drop) protected LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouchOrShears
(Block block, LootPoolEntry.Builder<?> loot) protected LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouchOrShears
(ItemConvertible item) protected LootTable.Builder
BlockLootTableGenerator.flowerbedDrops
(Block flowerbed) protected LootTable.Builder
BlockLootTableGenerator.glowBerryDrops
(Block drop) protected LootTable.Builder
BlockLootTableGenerator.lapisOreDrops
(Block drop) protected LootTable.Builder
BlockLootTableGenerator.leavesDrops
(Block leaves, Block sapling, float[] saplingChance) protected LootTable.Builder
BlockLootTableGenerator.mangroveLeavesDrops
(Block leaves) protected LootTable.Builder
BlockLootTableGenerator.multifaceGrowthDrops
(Block drop, LootCondition.Builder condition) protected LootTable.Builder
BlockLootTableGenerator.mushroomBlockDrops
(Block withSilkTouch, ItemConvertible withoutSilkTouch) protected LootTable.Builder
BlockLootTableGenerator.nameableContainerDrops
(Block drop) protected LootTable.Builder
BlockLootTableGenerator.oakLeavesDrops
(Block leaves, Block sapling, float[] saplingChance) protected LootTable.Builder
protected LootTable.Builder
BlockLootTableGenerator.paleMossCarpetDrops
(Block block) private LootTable.Builder
BlockLootTableGenerator.pottedPlantDrops
(ItemConvertible drop) protected LootTable.Builder
BlockLootTableGenerator.redstoneOreDrops
(Block drop) protected LootTable.Builder
BlockLootTableGenerator.seagrassDrops
(Block seagrass) protected LootTable.Builder
BlockLootTableGenerator.shortPlantDrops
(Block withShears) protected LootTable.Builder
BlockLootTableGenerator.shulkerBoxDrops
(Block drop) protected LootTable.Builder
protected LootTable.Builder
BlockLootTableGenerator.tallPlantDrops
(Block tallPlant, Block shortPlant) Modifier and TypeMethodDescriptionprotected void
BlockLootTableGenerator.addDrop
(Block block, LootTable.Builder lootTable) protected void
EntityLootTableGenerator.register
(EntityType<?> entityType, LootTable.Builder lootTable) protected void
EntityLootTableGenerator.register
(EntityType<?> entityType, RegistryKey<LootTable> tableKey, LootTable.Builder lootTable) 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) protected void
BlockLootTableGenerator.addDrop
(Block block, Function<Block, LootTable.Builder> lootTableFunction) ModifierConstructorDescriptionprotected
BlockLootTableGenerator
(Set<Item> explosionImmuneItems, FeatureSet requiredFeatures, Map<RegistryKey<LootTable>, LootTable.Builder> lootTables, RegistryWrapper.WrapperLookup registries) -
Uses of LootTable.Builder in net.minecraft.data.server.loottable.rebalance
Modifier and TypeMethodDescriptionTradeRebalanceChestLootTableGenerator.createAncientCityChestTableBuilder()
TradeRebalanceChestLootTableGenerator.createDesertPyramidChestTableBuilder()
TradeRebalanceChestLootTableGenerator.createJungleTempleChestTableBuilder()
TradeRebalanceChestLootTableGenerator.createPillagerOutpostChestTableBuilder()
Modifier and TypeMethodDescriptionvoid
TradeRebalanceChestLootTableGenerator.accept
(BiConsumer<RegistryKey<LootTable>, LootTable.Builder> lootTableBiConsumer) -
Uses of LootTable.Builder in net.minecraft.data.server.loottable.vanilla
Modifier and TypeMethodDescriptionVanillaChestLootTableGenerator.createAncientCityChestTableBuilder()
VanillaChestLootTableGenerator.createBastionBridgeChestTableBuilder()
VanillaChestLootTableGenerator.createBastionHoglinStableChestTableBuilder()
VanillaChestLootTableGenerator.createBastionOtherChestTableBuilder()
VanillaChestLootTableGenerator.createBastionTreasureChestTableBuilder()
VanillaChestLootTableGenerator.createDesertPyramidChestTableBuilder()
VanillaEntityLootTableGenerator.createElderGuardianTableBuilder()
VanillaChestLootTableGenerator.createEndCityTreasureChestTableBuilder()
static LootTable.Builder
VanillaEquipmentLootTableGenerator.createEquipmentTableBuilder
(Item helmet, Item chestplate, ArmorTrim trim, RegistryWrapper.Impl<Enchantment> enchantmentRegistryWrapper) static LootTable.Builder
VanillaFishingLootTableGenerator.createFishTableBuilder()
VanillaChestLootTableGenerator.createJungleTempleChestTableBuilder()
VanillaChestLootTableGenerator.createNetherBridgeChestTableBuilder()
VanillaChestLootTableGenerator.createPillagerOutpostChestTableBuilder()
VanillaChestLootTableGenerator.createShipwreckMapChestTableBuilder()
VanillaChestLootTableGenerator.createShipwreckSupplyChestTableBuilder()
VanillaChestLootTableGenerator.createShipwreckTreasureChestTableBuilder()
VanillaChestLootTableGenerator.createStrongholdCorridorChestTableBuilder()
VanillaChestLootTableGenerator.createStrongholdLibraryChestTableBuilder()
VanillaChestLootTableGenerator.createWoodlandMansionChestTableBuilder()
private LootTable.Builder
VanillaBlockLootTableGenerator.decoratedPotDrops
(Block block) private LootTable.Builder
VanillaBlockLootTableGenerator.pitcherCropDrops()
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.Builder in net.minecraft.loot
Modifier and TypeMethodDescriptionLootTable.Builder.apply
(LootFunction.Builder builder) static LootTable.Builder
LootTable.builder()
LootTable.Builder.getThisFunctionConsumingBuilder()
LootTable.Builder.pool
(LootPool.Builder poolBuilder) LootTable.Builder.randomSequenceId
(Identifier randomSequenceId) LootTable.Builder.type
(ContextType type)