-
-
Method Summary
default net.minecraft.world.level.storage.loot.LootTable
modify(net.minecraft.core.HolderLookup.Provider registries,
net.minecraft.world.level.storage.loot.LootTable originalTable)
net.minecraft.world.level.storage.loot.LootPool.Builder
modifyPool(net.minecraft.core.HolderLookup.Provider registries,
net.minecraft.world.level.storage.loot.LootTable lootTable,
net.minecraft.world.level.storage.loot.LootPool pool)
static <T extends ILootPoolModifier>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,com.mojang.datafixers.util.Either<String,Integer>>
poolField(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance)
Methods inherited from interface com.petrolpark.core.data.loot.modifier.ILootModifierBase
add, apply, apply, copy, copy, getConditions, getEntries, getFunctions, getFunctions, getPools, getRandomSequence, when, withPool
-
Method Details
-
poolField
static <T extends ILootPoolModifier>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,com.mojang.datafixers.util.Either<String,Integer>> poolField(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance)
-
poolIdentifier
com.mojang.datafixers.util.Either<String,Integer> poolIdentifier()
-
modify
@NonExtendable
default net.minecraft.world.level.storage.loot.LootTable modify(net.minecraft.core.HolderLookup.Provider registries,
net.minecraft.world.level.storage.loot.LootTable originalTable)
- Specified by:
modify in interface ILootTableModifier
-
modifyPool
net.minecraft.world.level.storage.loot.LootPool.Builder modifyPool(net.minecraft.core.HolderLookup.Provider registries,
net.minecraft.world.level.storage.loot.LootTable lootTable,
net.minecraft.world.level.storage.loot.LootPool pool)