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<Identifier,
LootTable.Builder> BlockLootTableGenerator.lootTables
private final Map<EntityType<?>,
Map<Identifier, LootTable.Builder>> EntityLootTableGenerator.lootTables
Modifier and TypeMethodDescriptionBlockLootTableGenerator.attachedCropStemDrops
(Block stem, Item drop) protected LootTable.Builder
BlockLootTableGenerator.bannerDrops
(Block drop) protected static LootTable.Builder
BlockLootTableGenerator.beehiveDrops
(Block drop) protected static 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 static LootTable.Builder
EntityLootTableGenerator.createForSheep
(ItemConvertible item) 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 dropWithSilkTouch, ItemConvertible drop) protected LootTable.Builder
BlockLootTableGenerator.drops
(Block dropWithSilkTouch, 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 static LootTable.Builder
BlockLootTableGenerator.dropsWithShears
(Block drop, LootPoolEntry.Builder<?> child) protected static LootTable.Builder
BlockLootTableGenerator.dropsWithShears
(ItemConvertible drop) protected static LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouch
(Block drop, LootPoolEntry.Builder<?> child) private static LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouch
(ItemConvertible drop) protected static LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouchOrShears
(Block drop, LootPoolEntry.Builder<?> child) protected LootTable.Builder
BlockLootTableGenerator.flowerbedDrops
(Block flowerbed) protected static LootTable.Builder
BlockLootTableGenerator.glowBerryDrops
(Block drop) protected LootTable.Builder
BlockLootTableGenerator.lapisOreDrops
(Block drop) protected LootTable.Builder
BlockLootTableGenerator.leavesDrops
(Block leaves, Block drop, float[] chance) protected LootTable.Builder
BlockLootTableGenerator.mangroveLeavesDrops
(Block leaves) protected LootTable.Builder
BlockLootTableGenerator.multifaceGrowthDrops
(Block drop, LootCondition.Builder condition) protected LootTable.Builder
BlockLootTableGenerator.mushroomBlockDrops
(Block dropWithSilkTouch, ItemConvertible drop) protected LootTable.Builder
BlockLootTableGenerator.nameableContainerDrops
(Block drop) protected LootTable.Builder
BlockLootTableGenerator.oakLeavesDrops
(Block leaves, Block drop, float[] chance) protected LootTable.Builder
private LootTable.Builder
BlockLootTableGenerator.pottedPlantDrops
(ItemConvertible drop) protected LootTable.Builder
BlockLootTableGenerator.redstoneOreDrops
(Block drop) protected static LootTable.Builder
BlockLootTableGenerator.seagrassDrops
(Block seagrass) protected LootTable.Builder
BlockLootTableGenerator.shortPlantDrops
(Block dropWithShears) 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, Identifier entityId, LootTable.Builder lootTable) Modifier and TypeMethodDescriptionvoid
BlockLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) void
EntityLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) void
LootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) protected void
BlockLootTableGenerator.addDrop
(Block block, Function<Block, LootTable.Builder> lootTableFunction) ModifierConstructorDescriptionprotected
BlockLootTableGenerator
(Set<Item> explosionImmuneItems, FeatureSet requiredFeatures, Map<Identifier, LootTable.Builder> lootTables) -
Uses of LootTable.Builder in net.minecraft.data.server.loottable.onetwentyone
Modifier and TypeMethodDescriptionvoid
OneTwentyOneChestLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) -
Uses of LootTable.Builder in net.minecraft.data.server.loottable.rebalance
Modifier and TypeMethodDescriptionstatic LootTable.Builder
TradeRebalanceChestLootTableGenerator.createAncientCityChestTableBuilder()
static LootTable.Builder
TradeRebalanceChestLootTableGenerator.createDesertPyramidChestTableBuilder()
static LootTable.Builder
TradeRebalanceChestLootTableGenerator.createJungleTempleChestTableBuilder()
static LootTable.Builder
TradeRebalanceChestLootTableGenerator.createPillagerOutpostChestTableBuilder()
Modifier and TypeMethodDescriptionvoid
TradeRebalanceChestLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) -
Uses of LootTable.Builder in net.minecraft.data.server.loottable.vanilla
Modifier and TypeMethodDescriptionstatic LootTable.Builder
VanillaChestLootTableGenerator.createAncientCityChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createBastionBridgeChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createBastionHoglinStableChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createBastionOtherChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createBastionTreasureChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createDesertPyramidChestTableBuilder()
static LootTable.Builder
VanillaEntityLootTableGenerator.createElderGuardianTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createEndCityTreasureChestTableBuilder()
static LootTable.Builder
VanillaFishingLootTableGenerator.createFishTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createJungleTempleChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createNetherBridgeChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createPillagerOutpostChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createShipwreckMapChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createShipwreckSupplyChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createShipwreckTreasureChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createStrongholdCorridorChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createStrongholdLibraryChestTableBuilder()
static LootTable.Builder
VanillaChestLootTableGenerator.createWoodlandMansionChestTableBuilder()
private LootTable.Builder
VanillaBlockLootTableGenerator.decoratedPotDrops
(Block block) private LootTable.Builder
VanillaBlockLootTableGenerator.pitcherCropDrops()
Modifier and TypeMethodDescriptionvoid
VanillaArchaeologyLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) void
VanillaBarterLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) void
VanillaChestLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) void
VanillaFishingLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) void
VanillaGiftLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) static void
VanillaChestLootTableGenerator.acceptTrialSpawnerTables
(BiConsumer<Identifier, LootTable.Builder> exporter) -
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
(LootContextType type)