Class PaucalAddItemModifier

java.lang.Object
net.minecraftforge.common.loot.LootModifier
at.petrak.paucal.api.forge.datagen.lootmod.PaucalAddItemModifier
All Implemented Interfaces:
net.minecraftforge.common.loot.IGlobalLootModifier

public class PaucalAddItemModifier extends net.minecraftforge.common.loot.LootModifier
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields inherited from class net.minecraftforge.common.loot.LootModifier

    conditions
  • Constructor Summary

    Constructors
    Constructor
    Description
    PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, int count, net.minecraft.resources.ResourceLocation target)
     
    PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, int count, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditions)
     
    PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, net.minecraft.resources.ResourceLocation target)
     
    PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, net.minecraft.world.level.storage.loot.functions.LootItemFunction[] funcs, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditions)
     
    PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditions)
     
    PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, net.minecraft.world.level.storage.loot.providers.number.NumberProvider count, net.minecraft.resources.ResourceLocation target)
     
    PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, net.minecraft.world.level.storage.loot.providers.number.NumberProvider count, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected @NotNull List<net.minecraft.world.item.ItemStack>
    doApply(List<net.minecraft.world.item.ItemStack> generatedLoot, net.minecraft.world.level.storage.loot.LootContext context)
     

    Methods inherited from class net.minecraftforge.common.loot.LootModifier

    apply

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PaucalAddItemModifier

      public PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, net.minecraft.world.level.storage.loot.functions.LootItemFunction[] funcs, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditions)
    • PaucalAddItemModifier

      public PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, int count, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditions)
    • PaucalAddItemModifier

      public PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, net.minecraft.world.level.storage.loot.providers.number.NumberProvider count, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditions)
    • PaucalAddItemModifier

      public PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditions)
    • PaucalAddItemModifier

      public PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, net.minecraft.resources.ResourceLocation target)
    • PaucalAddItemModifier

      public PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, int count, net.minecraft.resources.ResourceLocation target)
    • PaucalAddItemModifier

      public PaucalAddItemModifier(net.minecraft.world.item.Item addedItem, net.minecraft.world.level.storage.loot.providers.number.NumberProvider count, net.minecraft.resources.ResourceLocation target)
  • Method Details

    • doApply

      @NotNull protected @NotNull List<net.minecraft.world.item.ItemStack> doApply(List<net.minecraft.world.item.ItemStack> generatedLoot, net.minecraft.world.level.storage.loot.LootContext context)
      Specified by:
      doApply in class net.minecraftforge.common.loot.LootModifier