Uses of Class
net.minecraft.world.level.storage.loot.LootTable.Builder
Package
Description
Classes for NeoForge's own data generation.
-
Uses of LootTable.Builder in net.minecraft.data.loot
Modifier and TypeFieldDescriptionprotected final Map<ResourceLocation,
LootTable.Builder> BlockLootSubProvider.map
private final Map<EntityType<?>,
Map<ResourceLocation, LootTable.Builder>> EntityLootSubProvider.map
Modifier and TypeMethodDescriptionBlockLootSubProvider.createAttachedStemDrops
(Block p_249778_, Item p_250678_) protected LootTable.Builder
BlockLootSubProvider.createBannerDrop
(Block p_249810_) protected static LootTable.Builder
BlockLootSubProvider.createBeeHiveDrop
(Block p_248770_) protected static LootTable.Builder
BlockLootSubProvider.createBeeNestDrop
(Block p_250988_) protected static LootTable.Builder
BlockLootSubProvider.createCandleCakeDrops
(Block p_250280_) protected LootTable.Builder
BlockLootSubProvider.createCandleDrops
(Block p_250896_) protected static LootTable.Builder
BlockLootSubProvider.createCaveVinesDrop
(Block p_251070_) protected LootTable.Builder
BlockLootSubProvider.createCopperOreDrops
(Block p_251306_) protected LootTable.Builder
BlockLootSubProvider.createCropDrops
(Block p_249457_, Item p_248599_, Item p_251915_, LootItemCondition.Builder p_252202_) protected LootTable.Builder
BlockLootSubProvider.createDoorTable
(Block p_252166_) protected static LootTable.Builder
BlockLootSubProvider.createDoublePlantShearsDrop
(Block p_248678_) protected LootTable.Builder
BlockLootSubProvider.createDoublePlantWithSeedDrops
(Block p_248590_, Block p_248735_) protected LootTable.Builder
BlockLootSubProvider.createGrassDrops
(Block p_252139_) protected LootTable.Builder
BlockLootSubProvider.createLapisOreDrops
(Block p_251511_) protected LootTable.Builder
BlockLootSubProvider.createLeavesDrops
(Block p_250088_, Block p_250731_, float... p_248949_) protected LootTable.Builder
BlockLootSubProvider.createMangroveLeavesDrops
(Block p_251103_) protected LootTable.Builder
BlockLootSubProvider.createMultifaceBlockDrops
(Block p_249088_, LootItemCondition.Builder p_251535_) protected LootTable.Builder
BlockLootSubProvider.createMushroomBlockDrop
(Block p_249959_, ItemLike p_249315_) protected LootTable.Builder
BlockLootSubProvider.createNameableBlockEntityTable
(Block p_252291_) protected LootTable.Builder
BlockLootSubProvider.createOakLeavesDrops
(Block p_249535_, Block p_251505_, float... p_250753_) protected LootTable.Builder
BlockLootSubProvider.createOreDrop
(Block p_250450_, Item p_249745_) protected LootTable.Builder
BlockLootSubProvider.createPetalsDrops
(Block p_273240_) protected LootTable.Builder
BlockLootSubProvider.createPotFlowerItemTable
(ItemLike p_249395_) protected LootTable.Builder
BlockLootSubProvider.createRedstoneOreDrops
(Block p_251906_) protected static LootTable.Builder
BlockLootSubProvider.createSelfDropDispatchTable
(Block p_252253_, LootItemCondition.Builder p_248764_, LootPoolEntryContainer.Builder<?> p_249146_) protected static LootTable.Builder
BlockLootSubProvider.createShearsDispatchTable
(Block p_252195_, LootPoolEntryContainer.Builder<?> p_250102_) protected static LootTable.Builder
BlockLootSubProvider.createShearsOnlyDrop
(ItemLike p_250684_) protected static LootTable.Builder
EntityLootSubProvider.createSheepTable
(ItemLike p_249422_) protected LootTable.Builder
BlockLootSubProvider.createShulkerBoxDrop
(Block p_252164_) protected static LootTable.Builder
BlockLootSubProvider.createSilkTouchDispatchTable
(Block p_250203_, LootPoolEntryContainer.Builder<?> p_252089_) protected static LootTable.Builder
BlockLootSubProvider.createSilkTouchOnlyTable
(ItemLike p_252216_) protected static LootTable.Builder
BlockLootSubProvider.createSilkTouchOrShearsDispatchTable
(Block p_250539_, LootPoolEntryContainer.Builder<?> p_251459_) BlockLootSubProvider.createSingleItemTable
(ItemLike p_251912_) protected LootTable.Builder
BlockLootSubProvider.createSingleItemTable
(ItemLike p_251584_, NumberProvider p_249865_) protected LootTable.Builder
BlockLootSubProvider.createSingleItemTableWithSilkTouch
(Block p_249305_, ItemLike p_251905_) protected LootTable.Builder
BlockLootSubProvider.createSingleItemTableWithSilkTouch
(Block p_251449_, ItemLike p_248558_, NumberProvider p_250047_) protected <T extends Comparable<T> & StringRepresentable>
LootTable.BuilderBlockLootSubProvider.createSinglePropConditionTable
(Block p_252154_, Property<T> p_250272_, T p_250292_) protected LootTable.Builder
BlockLootSubProvider.createSlabItemTable
(Block p_251313_) BlockLootSubProvider.createStemDrops
(Block p_250957_, Item p_249098_) static LootTable.Builder
BlockLootSubProvider.noDrop()
Modifier and TypeMethodDescriptionprotected void
BlockLootSubProvider.add
(Block p_250610_, LootTable.Builder p_249817_) protected void
EntityLootSubProvider.add
(EntityType<?> p_252130_, ResourceLocation p_251706_, LootTable.Builder p_249357_) protected void
EntityLootSubProvider.add
(EntityType<?> p_248740_, LootTable.Builder p_249440_) Modifier and TypeMethodDescriptionprotected void
BlockLootSubProvider.add
(Block p_251966_, Function<Block, LootTable.Builder> p_251699_) void
BlockLootSubProvider.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_249322_) void
EntityLootSubProvider.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_251751_) void
LootTableSubProvider.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_249643_) ModifierConstructorDescriptionprotected
BlockLootSubProvider
(Set<Item> p_281507_, FeatureFlagSet p_283552_, Map<ResourceLocation, LootTable.Builder> p_282212_) -
Uses of LootTable.Builder in net.minecraft.data.loot.packs
Modifier and TypeMethodDescriptionstatic LootTable.Builder
TradeRebalanceChestLoot.ancientCityLootTable()
static LootTable.Builder
VanillaChestLoot.ancientCityLootTable()
static LootTable.Builder
VanillaChestLoot.bastionBridgeLootTable()
static LootTable.Builder
VanillaChestLoot.bastionHoglinStableLootTable()
static LootTable.Builder
VanillaChestLoot.bastionOtherLootTable()
static LootTable.Builder
VanillaChestLoot.bastionTreasureLootTable()
private LootTable.Builder
VanillaBlockLoot.createDecoratedPotTable
(Block p_277929_) private LootTable.Builder
VanillaBlockLoot.createPitcherCropLoot()
static LootTable.Builder
TradeRebalanceChestLoot.desertPyramidLootTable()
static LootTable.Builder
VanillaChestLoot.desertPyramidLootTable()
static LootTable.Builder
VanillaEntityLoot.elderGuardianLootTable()
static LootTable.Builder
VanillaChestLoot.endCityTreasureLootTable()
static LootTable.Builder
VanillaFishingLoot.fishingFishLootTable()
static LootTable.Builder
TradeRebalanceChestLoot.jungleTempleLootTable()
static LootTable.Builder
VanillaChestLoot.jungleTempleLootTable()
static LootTable.Builder
VanillaChestLoot.netherBridgeLootTable()
static LootTable.Builder
TradeRebalanceChestLoot.pillagerOutpostLootTable()
static LootTable.Builder
VanillaChestLoot.pillagerOutpostLootTable()
static LootTable.Builder
VanillaChestLoot.shipwreckMapLootTable()
static LootTable.Builder
VanillaChestLoot.shipwreckSupplyLootTable()
static LootTable.Builder
VanillaChestLoot.shipwreckTreasureLootTable()
static LootTable.Builder
VanillaChestLoot.strongholdCorridorLootTable()
static LootTable.Builder
VanillaChestLoot.strongholdLibraryLootTable()
static LootTable.Builder
VanillaChestLoot.woodlandMansionLootTable()
Modifier and TypeMethodDescriptionvoid
TradeRebalanceChestLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_301981_) void
UpdateOneTwentyOneChestLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_312616_) void
VanillaArchaeologyLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_278066_) void
VanillaChestLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_250931_) void
VanillaFishingLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_249559_) void
VanillaGiftLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_250831_) void
VanillaPiglinBarterLoot.generate
(BiConsumer<ResourceLocation, LootTable.Builder> p_250176_) static void
VanillaChestLoot.spawnerLootTables
(BiConsumer<ResourceLocation, LootTable.Builder> p_311958_) -
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.setRandomSequence
(ResourceLocation p_287667_) LootTable.Builder.unwrap()
LootTable.Builder.withPool
(LootPool.Builder p_79162_) -
Uses of LootTable.Builder in net.neoforged.neoforge.common.data.internal
Modifier and TypeMethodDescriptionprivate LootTable.Builder
NeoForgeLootTableProvider.findAndReplaceInLootTableBuilder
(LootTable.Builder builder) Modifier and TypeMethodDescriptionprivate boolean
NeoForgeLootTableProvider.findAndReplaceInLootPool
(LootPool lootPool, LootTable.Builder newBuilder) private LootTable.Builder
NeoForgeLootTableProvider.findAndReplaceInLootTableBuilder
(LootTable.Builder builder)