Interface ILootPoolSingletonEntryModifier

All Superinterfaces:
ILootModifierBase, ILootPoolEntryModifier
All Known Implementing Classes:
ModifyNestedLootTableModifier, SetQualityLootPoolEntryModifier, SetWeightLootPoolEntryModifier

public interface ILootPoolSingletonEntryModifier extends ILootPoolEntryModifier
  • Field Summary

    Fields inherited from interface com.petrolpark.core.data.loot.modifier.ILootPoolEntryModifier

    CODEC, TYPED_CODEC
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
    modify(net.minecraft.core.HolderLookup.Provider registries, net.minecraft.world.level.storage.loot.LootTable lootTable, net.minecraft.world.level.storage.loot.LootPool pool, net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer entry)
     
    net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
    modifySingleton(net.minecraft.core.HolderLookup.Provider registries, net.minecraft.world.level.storage.loot.LootTable lootTable, net.minecraft.world.level.storage.loot.LootPool pool, net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer entry)
     

    Methods inherited from interface com.petrolpark.core.data.loot.modifier.ILootModifierBase

    add, apply, apply, copy, copy, getConditions, getEntries, getFunctions, getFunctions, getPools, getRandomSequence, when, withPool

    Methods inherited from interface com.petrolpark.core.data.loot.modifier.ILootPoolEntryModifier

    getType
  • Method Details

    • modify

      @NonExtendable default net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer modify(net.minecraft.core.HolderLookup.Provider registries, net.minecraft.world.level.storage.loot.LootTable lootTable, net.minecraft.world.level.storage.loot.LootPool pool, net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer entry)
      Specified by:
      modify in interface ILootPoolEntryModifier
    • modifySingleton

      net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer modifySingleton(net.minecraft.core.HolderLookup.Provider registries, net.minecraft.world.level.storage.loot.LootTable lootTable, net.minecraft.world.level.storage.loot.LootPool pool, net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer entry)