Package net.trique.wardentools.loot
Class AddEnchantedBookToPoolModifier
java.lang.Object
net.trique.wardentools.loot.ConditionalFabricLootModifier
net.trique.wardentools.loot.AddEnchantedBookToPoolModifier
- All Implemented Interfaces:
FabricLootModifier
-
Constructor Summary
ConstructorsConstructorDescriptionAddEnchantedBookToPoolModifier(net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditionsIn, Set<net.minecraft.resources.ResourceLocation> tables, net.minecraft.resources.ResourceKey<net.minecraft.world.item.enchantment.Enchantment> enchantment, int minLevel, int maxLevel) -
Method Summary
Modifier and TypeMethodDescriptionit.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 context, net.minecraft.resources.ResourceLocation lootTable) Methods inherited from class net.trique.wardentools.loot.ConditionalFabricLootModifier
checkConditions
-
Constructor Details
-
AddEnchantedBookToPoolModifier
public AddEnchantedBookToPoolModifier(net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditionsIn, Set<net.minecraft.resources.ResourceLocation> tables, net.minecraft.resources.ResourceKey<net.minecraft.world.item.enchantment.Enchantment> enchantment, int minLevel, int maxLevel)
-
-
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 context, net.minecraft.resources.ResourceLocation lootTable)
-