Uses of Class
net.minecraft.loot.LootTable.Builder
-
Uses of LootTable.Builder in net.minecraft.data.server
Modifier and TypeFieldDescriptionprivate final Map<Identifier,
LootTable.Builder> BlockLootTableGenerator.lootTables
private final Map<Identifier,
LootTable.Builder> EntityLootTableGenerator.lootTables
private final List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<Identifier,
LootTable.Builder>>>, LootContextType>> LootTableProvider.lootTypeGenerators
Modifier and TypeMethodDescriptionstatic LootTable.Builder
BlockLootTableGenerator.addDoorDrop
(Block block) private static LootTable.Builder
BlockLootTableGenerator.attachedCropStemDrops
(Block stem, Item drop) private static LootTable.Builder
BlockLootTableGenerator.bannerDrops
(Block drop) private static LootTable.Builder
BlockLootTableGenerator.beehiveDrops
(Block drop) private static LootTable.Builder
BlockLootTableGenerator.beeNestDrops
(Block drop) private static LootTable.Builder
BlockLootTableGenerator.candleCakeDrops
(Block candle) private static LootTable.Builder
BlockLootTableGenerator.candleDrops
(Block candle) private static LootTable.Builder
BlockLootTableGenerator.copperOreDrops
(Block ore) private static LootTable.Builder
EntityLootTableGenerator.createForSheep
(ItemConvertible item) private static LootTable.Builder
BlockLootTableGenerator.cropDrops
(Block crop, Item product, Item seeds, LootCondition.Builder condition) private static LootTable.Builder
BlockLootTableGenerator.cropStemDrops
(Block stem, Item drop) private static LootTable.Builder
BlockLootTableGenerator.drops
(Block dropWithSilkTouch, ItemConvertible drop) private static LootTable.Builder
BlockLootTableGenerator.drops
(Block dropWithSilkTouch, ItemConvertible drop, LootNumberProvider count) private static LootTable.Builder
BlockLootTableGenerator.drops
(Block drop, LootCondition.Builder conditionBuilder, LootPoolEntry.Builder<?> child) private static LootTable.Builder
BlockLootTableGenerator.drops
(ItemConvertible drop) private static LootTable.Builder
BlockLootTableGenerator.drops
(ItemConvertible drop, LootNumberProvider count) static LootTable.Builder
BlockLootTableGenerator.dropsNothing()
private static <T extends Comparable<T> & StringIdentifiable>
LootTable.BuilderBlockLootTableGenerator.dropsWithProperty
(Block drop, Property<T> property, T value) private static LootTable.Builder
BlockLootTableGenerator.dropsWithShears
(Block drop, LootPoolEntry.Builder<?> child) private static LootTable.Builder
BlockLootTableGenerator.dropsWithShears
(ItemConvertible drop) private static LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouch
(Block drop, LootPoolEntry.Builder<?> child) private static LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouch
(ItemConvertible drop) private static LootTable.Builder
BlockLootTableGenerator.dropsWithSilkTouchOrShears
(Block drop, LootPoolEntry.Builder<?> child) private static LootTable.Builder
BlockLootTableGenerator.glowBerryDrops
(Block drop) private static LootTable.Builder
BlockLootTableGenerator.grassDrops
(Block dropWithShears) private static LootTable.Builder
BlockLootTableGenerator.lapisOreDrops
(Block ore) private static LootTable.Builder
BlockLootTableGenerator.leavesDrop
(Block leaves, Block drop, float[] chance) private static LootTable.Builder
BlockLootTableGenerator.mangroveLeavesDrop
(Block leaves) private static LootTable.Builder
BlockLootTableGenerator.multifaceGrowthDrops
(Block multifaceGrowthBlock, LootCondition.Builder conditionBuilder) private static LootTable.Builder
BlockLootTableGenerator.mushroomBlockDrops
(Block dropWithSilkTouch, ItemConvertible drop) private static LootTable.Builder
BlockLootTableGenerator.nameableContainerDrops
(Block drop) private static LootTable.Builder
BlockLootTableGenerator.oakLeavesDrop
(Block leaves, Block drop, float[] chance) private static LootTable.Builder
private static LootTable.Builder
BlockLootTableGenerator.pottedPlantDrops
(ItemConvertible plant) private static LootTable.Builder
BlockLootTableGenerator.redstoneOreDrops
(Block ore) private static LootTable.Builder
BlockLootTableGenerator.seagrassDrops
(Block seagrass) private static LootTable.Builder
BlockLootTableGenerator.shulkerBoxDrops
(Block drop) private static LootTable.Builder
private static LootTable.Builder
BlockLootTableGenerator.tallGrassDrops
(Block tallGrass, Block grass) Modifier and TypeMethodDescriptionprivate void
BlockLootTableGenerator.addDrop
(Block block, LootTable.Builder lootTable) private void
EntityLootTableGenerator.register
(EntityType<?> entityType, LootTable.Builder lootTable) private void
EntityLootTableGenerator.register
(Identifier entityId, LootTable.Builder lootTable) Modifier and TypeMethodDescriptionvoid
BarterLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> biConsumer) void
BlockLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> biConsumer) void
ChestLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> biConsumer) void
EntityLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> biConsumer) void
FishingLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> biConsumer) void
GiftLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> biConsumer) private void
BlockLootTableGenerator.addDrop
(Block block, Function<Block, LootTable.Builder> lootTableFunction) -
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.type
(LootContextType context)