Class ModifierSpecificExpandLootTable

java.lang.Object
com.blamejared.crafttweaker.natives.loot.modifier.ModifierSpecificExpandLootTable

@ZenRegister public final class ModifierSpecificExpandLootTable extends Object
Additional methods for easier modification of a specific loot table.
  • Constructor Details

    • ModifierSpecificExpandLootTable

      public ModifierSpecificExpandLootTable()
  • Method Details

    • addLootModifier

      public static void addLootModifier(net.minecraft.world.level.storage.loot.LootTable internal, String name, ILootModifier modifier)
      Adds an ILootModifier to this loot table, with the given name.
      Parameters:
      internal - The loot table to add the loot modifier to.
      name - The name of the loot modifier to add.
      modifier - The loot modifier to add.