[SPIGOT-6175] java.lang.IllegalArgumentException: Parameters not allowed in this parameter set: [<parameter minecraft:origin> Created: 10/Oct/20  Updated: 10/Oct/20  Resolved: 10/Oct/20

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Nathan (antiPerson) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None

Attachments: File test-1.0-SNAPSHOT.jar    
Version: [10:25:50] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-988b411-1f4693a (MC: 1.16.3) (Implementing API version 1.16.3-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

With the following code executed on the EntityDeathEvent:

LootContext.Builder builder = new LootContext.Builder(event.getEntity().getLocation()).lootedEntity(event.getEntity()).killer(event.getEntity().getKiller());
((Slime) event.getEntity()).getLootTable().populateLoot(ThreadLocalRandom.current(), builder.build());

Upon killing a slime, spawned with the command

/minecraft:summon minecraft:slime ~ ~ ~ {Size:4}

The following error is produced:

https://pastebin.com/HB04UdJj


Generated at Sat Mar 15 23:23:39 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.