TransWikia.com

/loot giving "An unexpected error occurred trying to execute that command"

Arqade Asked by EarthToAccess on December 6, 2020

I’m attempting to use /loot to give myself fishing loot, which should be fairly easy. I’m using this command;

/loot give EarthToAccess fish minecraft:gameplay/fishing/treasure -78 65 -212 mainhand

…however, it throws me the error An unexpected error occurred trying to execute that command. I tried to remove mainhand since the argument for it is optional anyway, but it still returns the same error. As far as I can tell, the syntax is correct; I’m supposedly giving myself the treasure loot table from the coordinates listed. Is there some bug with /loot give right now?

2 Answers

This worked fine for me:

/loot give [yourPlayerName] fish minecraft:gameplay/fishing/treasure ~ ~ ~

Using ~ ~ ~ for the location argument will give it to your current location.

Could any mods you're using be causing a problem?

Answered by Foofle Bloofle on December 6, 2020

Try it in an ocean or a river. If that doesn't work, it could be that the command is just broken.

I'd recommend submitting a bug report of it to Mojang.

Answered by MalO on December 6, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP