Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6175

java.lang.IllegalArgumentException: Parameters not allowed in this parameter set: [<parameter minecraft:origin>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • [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)
    • Yes

      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

            Unassigned Unassigned
            antiPerson Nathan (antiPerson)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: