Uses of Class
net.minecraft.loot.LootTable.Builder
-
Uses of LootTable.Builder in net.minecraft.data.server.loottable
Modifier and TypeFieldDescriptionprivate 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 static LootTable.Builder
BlockLootTableGenerator.glowBerryDrops
(Block drop) protected LootTable.Builder
BlockLootTableGenerator.grassDrops
(Block dropWithShears) 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.shulkerBoxDrops
(Block drop) protected LootTable.Builder
protected LootTable.Builder
BlockLootTableGenerator.tallGrassDrops
(Block tallGrass, Block grass) 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
BarterLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) void
BlockLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) void
ChestLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) void
EntityLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) void
FishingLootTableGenerator.accept
(BiConsumer<Identifier, LootTable.Builder> exporter) void
GiftLootTableGenerator.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) -
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)