Class AddItemToShriekerLootModifier

java.lang.Object
net.trique.wardentools.loot.ConditionalFabricLootModifier
net.trique.wardentools.loot.AddItemToShriekerLootModifier
All Implemented Interfaces:
FabricLootModifier

public class AddItemToShriekerLootModifier extends ConditionalFabricLootModifier
  • Constructor Summary

    Constructors
    Constructor
    Description
    AddItemToShriekerLootModifier(net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditionsIn, Set<net.minecraft.resources.ResourceLocation> tables, net.minecraft.world.item.Item item, float baseChance, float perLevel, int min, int max)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    it.unimi.dsi.fastutil.objects.ObjectArrayList<net.minecraft.world.item.ItemStack>
    doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<net.minecraft.world.item.ItemStack> generatedLoot, net.minecraft.world.level.storage.loot.LootContext lootContext, net.minecraft.resources.ResourceLocation lootTable)
     

    Methods inherited from class net.trique.wardentools.loot.ConditionalFabricLootModifier

    checkConditions

    Methods inherited from class java.lang.Object

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

    • AddItemToShriekerLootModifier

      public AddItemToShriekerLootModifier(net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditionsIn, Set<net.minecraft.resources.ResourceLocation> tables, net.minecraft.world.item.Item item, float baseChance, float perLevel, int min, int max)
  • Method Details

    • doApply

      public it.unimi.dsi.fastutil.objects.ObjectArrayList<net.minecraft.world.item.ItemStack> doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<net.minecraft.world.item.ItemStack> generatedLoot, net.minecraft.world.level.storage.loot.LootContext lootContext, net.minecraft.resources.ResourceLocation lootTable)