SHARE
TWEET

Untitled

a guest Feb 16th, 2020 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Import necessary types
  2. import loottweaker.vanilla.loot.LootTables;
  3. import loottweaker.vanilla.loot.LootTable;
  4. import loottweaker.vanilla.loot.LootPool;
  5. import loottweaker.vanilla.loot.Functions;
  6. //Get the loot table named "minecraft:entities/stray" and store it for later use
  7. val stray = LootTables.getTable("minecraft:entities/stray");
  8. //Get the pool named "main" from the loot table and store it for later use
  9. val strayMain = stray.getPool("main");
  10. //Remove the entry named "minecraft:arrow" from the loot pool
  11. strayMain.removeEntry("minecraft:arrow");
  12. //Get the pool named "pool2" from the loot table and store it for later use
  13. val straypool2 = stray.getPool("pool2");
  14. //Remove the entry named "minecraft:tipped_arrow" from the loot pool
  15. straypool2.removeEntry("minecraft:tipped_arrow");
  16. // Add a pool called steve to the stray loot table, then store it for later use
  17. val steve = stray.addPool("steve", 1, 2, 0, 0);
  18. // Add an tconstruct arrow to "steve"
  19. steve.addItemEntry(<tconstruct:arrow>.withTag({StatsOriginal: {AttackSpeedMultiplier: 1.0 as float, Accuracy: 1.0 as float, MiningSpeed: 4.0 as float, FreeModifiers: 3, Durability: 120, HarvestLevel: 1, Attack: 5.0 as float}, Stats: {AttackSpeedMultiplier: 1.0 as float, Accuracy: 1.0 as float, MiningSpeed: 4.0 as float, FreeModifiers: 3, Durability: 96, HarvestLevel: 1, Attack: 5.0 as float}, Special: {Categories: ["tool", "no_melee", "projectile"]}, TinkerData: {Materials: ["wood", "stone", "feather"], Modifiers: []}, Modifiers: [{identifier: "ecological", color: -7444965, level: 1}, {identifier: "cheapskate", color: -6710887, level: 1}, {identifier: "cheap", color: -6710887, level: 1}], Traits: ["ecological", "cheapskate", "cheap"]}), 1);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top