Uses of Class
net.minecraft.world.level.storage.loot.LootTable.Builder
Package
Description
-
Uses of LootTable.Builder in net.minecraft.data.loot
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,LootTable.Builder>
BlockLoot.map
private Map<ResourceLocation,LootTable.Builder>
EntityLoot.map
private List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,LootTable.Builder>>>,LootContextParamSet>>
LootTableProvider.subProviders
Modifier and TypeMethodDescriptionprotected static LootTable.Builder
BlockLoot.createAttachedStemDrops(Block p_124275_, Item p_124276_)
protected static LootTable.Builder
BlockLoot.createBannerDrop(Block p_124297_)
protected static LootTable.Builder
BlockLoot.createBeeHiveDrop(Block p_124301_)
protected static LootTable.Builder
BlockLoot.createBeeNestDrop(Block p_124299_)
protected static LootTable.Builder
BlockLoot.createCandleCakeDrops(Block p_176059_)
protected static LootTable.Builder
BlockLoot.createCandleDrops(Block p_176057_)
protected static LootTable.Builder
BlockLoot.createCaveVinesDrop(Block p_176053_)
protected static LootTable.Builder
BlockLoot.createCopperOreDrops(Block p_176047_)
protected static LootTable.Builder
BlockLoot.createCropDrops(Block p_124143_, Item p_124144_, Item p_124145_, LootItemCondition.Builder p_124146_)
static LootTable.Builder
BlockLoot.createDoorTable(Block p_124138_)
protected static LootTable.Builder
BlockLoot.createDoublePlantShearsDrop(Block p_124305_)
protected static LootTable.Builder
BlockLoot.createDoublePlantWithSeedDrops(Block p_124261_, Block p_124262_)
protected static LootTable.Builder
BlockLoot.createGlowLichenDrops(Block p_176055_)
protected static LootTable.Builder
BlockLoot.createGrassDrops(Block p_124303_)
protected static LootTable.Builder
BlockLoot.createLapisOreDrops(Block p_176049_)
protected static LootTable.Builder
BlockLoot.createLeavesDrops(Block p_124158_, Block p_124159_, float... p_124160_)
protected static LootTable.Builder
BlockLoot.createMushroomBlockDrop(Block p_124278_, ItemLike p_124279_)
protected static LootTable.Builder
BlockLoot.createNameableBlockEntityTable(Block p_124293_)
protected static LootTable.Builder
BlockLoot.createOakLeavesDrops(Block p_124264_, Block p_124265_, float... p_124266_)
protected static LootTable.Builder
BlockLoot.createOreDrop(Block p_124140_, Item p_124141_)
protected static LootTable.Builder
BlockLoot.createPotFlowerItemTable(ItemLike p_124271_)
protected static LootTable.Builder
BlockLoot.createRedstoneOreDrops(Block p_176051_)
protected static LootTable.Builder
BlockLoot.createSelfDropDispatchTable(Block p_124172_, LootItemCondition.Builder p_124173_, LootPoolEntryContainer.Builder<?> p_124174_)
protected static LootTable.Builder
BlockLoot.createShearsDispatchTable(Block p_124268_, LootPoolEntryContainer.Builder<?> p_124269_)
protected static LootTable.Builder
BlockLoot.createShearsOnlyDrop(ItemLike p_124287_)
private static LootTable.Builder
EntityLoot.createSheepTable(ItemLike p_124375_)
protected static LootTable.Builder
BlockLoot.createShulkerBoxDrop(Block p_124295_)
protected static LootTable.Builder
BlockLoot.createSilkTouchDispatchTable(Block p_124169_, LootPoolEntryContainer.Builder<?> p_124170_)
protected static LootTable.Builder
BlockLoot.createSilkTouchOnlyTable(ItemLike p_124251_)
protected static LootTable.Builder
BlockLoot.createSilkTouchOrShearsDispatchTable(Block p_124284_, LootPoolEntryContainer.Builder<?> p_124285_)
protected static LootTable.Builder
BlockLoot.createSingleItemTable(ItemLike p_124127_)
protected static LootTable.Builder
BlockLoot.createSingleItemTable(ItemLike p_176040_, NumberProvider p_176041_)
protected static LootTable.Builder
BlockLoot.createSingleItemTableWithSilkTouch(Block p_124258_, ItemLike p_124259_)
protected static LootTable.Builder
BlockLoot.createSingleItemTableWithSilkTouch(Block p_176043_, ItemLike p_176044_, NumberProvider p_176045_)
protected static <T extends Comparable<T> & StringRepresentable>
LootTable.BuilderBlockLoot.createSinglePropConditionTable(Block p_124162_, Property<T> p_124163_, T p_124164_)
protected static LootTable.Builder
BlockLoot.createSlabItemTable(Block p_124291_)
protected static LootTable.Builder
BlockLoot.createStemDrops(Block p_124255_, Item p_124256_)
static LootTable.Builder
BlockLoot.noDrop()
Modifier and TypeMethodDescriptionprotected List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,LootTable.Builder>>>,LootContextParamSet>>
LootTableProvider.getTables()
Modifier and TypeMethodDescriptionprotected void
BlockLoot.add(Block p_124166_, LootTable.Builder p_124167_)
protected void
EntityLoot.add(ResourceLocation p_124381_, LootTable.Builder p_124382_)
protected void
EntityLoot.add(EntityType<?> p_124372_, LootTable.Builder p_124373_)
Modifier and TypeMethodDescriptionvoid
BlockLoot.accept(BiConsumer<ResourceLocation,LootTable.Builder> p_124179_)
void
ChestLoot.accept(BiConsumer<ResourceLocation,LootTable.Builder> p_124363_)
void
EntityLoot.accept(BiConsumer<ResourceLocation,LootTable.Builder> p_124377_)
void
FishingLoot.accept(BiConsumer<ResourceLocation,LootTable.Builder> p_124395_)
void
GiftLoot.accept(BiConsumer<ResourceLocation,LootTable.Builder> p_124402_)
void
PiglinBarterLoot.accept(BiConsumer<ResourceLocation,LootTable.Builder> p_124468_)
protected void
BlockLoot.add(Block p_124176_, Function<Block,LootTable.Builder> p_124177_)
-
Uses of LootTable.Builder in net.minecraft.world.level.storage.loot
Modifier and TypeMethodDescriptionLootTable.Builder.apply(LootItemFunction.Builder p_79164_)
static LootTable.Builder
LootTable.lootTable()
LootTable.Builder.setParamSet(LootContextParamSet p_79166_)
LootTable.Builder.unwrap()
LootTable.Builder.withPool(LootPool.Builder p_79162_)
-
Uses of LootTable.Builder in net.minecraftforge.common.data
Modifier and TypeMethodDescriptionprotected List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,LootTable.Builder>>>,LootContextParamSet>>
ForgeLootTableProvider.getTables()
private Consumer<BiConsumer<ResourceLocation,LootTable.Builder>>
ForgeLootTableProvider.replaceAndFilterChangesOnly(Consumer<BiConsumer<ResourceLocation,LootTable.Builder>> consumer)
Modifier and TypeMethodDescriptionprivate boolean
ForgeLootTableProvider.findAndReplaceInLootTableBuilder(LootTable.Builder builder, Item from, ToolAction toolAction)
Modifier and TypeMethodDescriptionprivate Consumer<BiConsumer<ResourceLocation,LootTable.Builder>>
ForgeLootTableProvider.replaceAndFilterChangesOnly(Consumer<BiConsumer<ResourceLocation,LootTable.Builder>> consumer)