Interface ILootModifierBase
- All Known Subinterfaces:
ILootPoolEntryModifier,ILootPoolModifier,ILootPoolSingletonEntryModifier,ILootTableModifier
- All Known Implementing Classes:
AddEntryLootPoolModifier,AddPoolLootTableModifier,ModifyNestedLootTableModifier,ModifyPoolEntryLootTableModifier,SetQualityLootPoolEntryModifier,SetWeightLootPoolEntryModifier
public interface ILootModifierBase
-
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.world.level.storage.loot.LootPool.Builderadd(net.minecraft.world.level.storage.loot.LootPool.Builder builder, net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer... entries) default net.minecraft.world.level.storage.loot.LootPool.Builderapply(net.minecraft.world.level.storage.loot.LootPool.Builder builder, net.minecraft.world.level.storage.loot.functions.LootItemFunction... functions) default net.minecraft.world.level.storage.loot.LootTable.Builderapply(net.minecraft.world.level.storage.loot.LootTable.Builder builder, net.minecraft.world.level.storage.loot.functions.LootItemFunction... functions) default net.minecraft.world.level.storage.loot.LootPool.Buildercopy(net.minecraft.world.level.storage.loot.LootPool pool) default net.minecraft.world.level.storage.loot.LootTable.Buildercopy(net.minecraft.world.level.storage.loot.LootTable table) default List<net.minecraft.world.level.storage.loot.predicates.LootItemCondition> getConditions(net.minecraft.world.level.storage.loot.LootPool pool) default List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer> getEntries(net.minecraft.world.level.storage.loot.LootPool pool) default List<net.minecraft.world.level.storage.loot.functions.LootItemFunction> getFunctions(net.minecraft.world.level.storage.loot.LootPool pool) default List<net.minecraft.world.level.storage.loot.functions.LootItemFunction> getFunctions(net.minecraft.world.level.storage.loot.LootTable lootTable) default List<net.minecraft.world.level.storage.loot.LootPool> getPools(net.minecraft.world.level.storage.loot.LootTable lootTable) default Optional<net.minecraft.resources.ResourceLocation> getRandomSequence(net.minecraft.world.level.storage.loot.LootTable lootTable) default net.minecraft.world.level.storage.loot.LootPool.Builderwhen(net.minecraft.world.level.storage.loot.LootPool.Builder builder, net.minecraft.world.level.storage.loot.predicates.LootItemCondition... conditions) default net.minecraft.world.level.storage.loot.LootTable.BuilderwithPool(net.minecraft.world.level.storage.loot.LootTable.Builder builder, net.minecraft.world.level.storage.loot.LootPool... pools)
-
Method Details
-
getRandomSequence
default Optional<net.minecraft.resources.ResourceLocation> getRandomSequence(net.minecraft.world.level.storage.loot.LootTable lootTable) -
getPools
default List<net.minecraft.world.level.storage.loot.LootPool> getPools(net.minecraft.world.level.storage.loot.LootTable lootTable) -
getFunctions
default List<net.minecraft.world.level.storage.loot.functions.LootItemFunction> getFunctions(net.minecraft.world.level.storage.loot.LootTable lootTable) -
withPool
default net.minecraft.world.level.storage.loot.LootTable.Builder withPool(net.minecraft.world.level.storage.loot.LootTable.Builder builder, net.minecraft.world.level.storage.loot.LootPool... pools) -
apply
default net.minecraft.world.level.storage.loot.LootTable.Builder apply(net.minecraft.world.level.storage.loot.LootTable.Builder builder, net.minecraft.world.level.storage.loot.functions.LootItemFunction... functions) -
copy
default net.minecraft.world.level.storage.loot.LootTable.Builder copy(net.minecraft.world.level.storage.loot.LootTable table) -
getEntries
default List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer> getEntries(net.minecraft.world.level.storage.loot.LootPool pool) -
getConditions
default List<net.minecraft.world.level.storage.loot.predicates.LootItemCondition> getConditions(net.minecraft.world.level.storage.loot.LootPool pool) -
getFunctions
default List<net.minecraft.world.level.storage.loot.functions.LootItemFunction> getFunctions(net.minecraft.world.level.storage.loot.LootPool pool) -
add
default net.minecraft.world.level.storage.loot.LootPool.Builder add(net.minecraft.world.level.storage.loot.LootPool.Builder builder, net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer... entries) -
when
default net.minecraft.world.level.storage.loot.LootPool.Builder when(net.minecraft.world.level.storage.loot.LootPool.Builder builder, net.minecraft.world.level.storage.loot.predicates.LootItemCondition... conditions) -
apply
default net.minecraft.world.level.storage.loot.LootPool.Builder apply(net.minecraft.world.level.storage.loot.LootPool.Builder builder, net.minecraft.world.level.storage.loot.functions.LootItemFunction... functions) -
copy
default net.minecraft.world.level.storage.loot.LootPool.Builder copy(net.minecraft.world.level.storage.loot.LootPool pool)
-