Help with Loot Table Commands

Started by radscientist44 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Loot Table Commands

Hello,

I need help with loot table commands. I've tried YouTube videos and other posts on the forum, but every time I try the command out it is either is invalid or in the chat it says changed block data of cords, but every time the chest is empty.And just to make sure its incorrect ,I press control+mmb and each time get no chest. Maybe I'm doing it wrong, but I need help. I have tried for three days already.

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
/give @s chest[container…
Mon, 02/10/2025 - 16:17

/give @s chest[container_loot={loot_table:"Star_Wars_ the_clone_wars:chests/Wrecked_aat"}] 1

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
that's the command I use,…
Mon, 02/10/2025 - 16:19

that's the command I use, Star Wars the clone wars is my mod name, and Wrecked aat is my loot table

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
why gta with minecraft there…
Tue, 02/11/2025 - 16:19

why gta with minecraft there's a big difference

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
im trying to solve a problem
Tue, 02/11/2025 - 16:21

im trying to solve a problem

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Seriously. Ok, there’s your…
Tue, 02/11/2025 - 16:26

Seriously. 
Ok, there’s your mistake! No capital letters in commands! Well, sometimes you need capital letters, but not in this case. Try without capital letters. Hope that this works! :D

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I realize that the…
Tue, 02/11/2025 - 16:30

I realize that the exclamation points in my comment makes it exasperated. I’m just excited, that’s all.

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I get a chest, but with no…
Tue, 02/11/2025 - 16:58

I get a chest, but with no loot in it! and in chat it said it gave me a plain chest.

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
or does loot appear when I…
Tue, 02/11/2025 - 17:01

or does loot appear when I put it in my structure?

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
no, i checked its just a…
Tue, 02/11/2025 - 17:13

no, i checked its just a plain chest.

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I fixed it, tried first…
Fri, 02/14/2025 - 01:14

I fixed it, tried first command and the loot was randomized. thank you so much for you time and help darkcloak.

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Great! So glad that it was…
Sun, 02/16/2025 - 00:57

Great! So glad that it was fixed! Sorry, I could not respond because of the holiday, but I’m glad you figured it out, radscientist44!

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi guys, i have the same…
Mon, 02/24/2025 - 16:49

Hi guys, i have the same problem as Radscientist and I came across your thread while searching for help

Radscientist you said you fixed it, can you please copy paste the command that is working for you ? 
I tried everything that has been said in this post and in other places and nothing is working. 
The command DarkCloak is writing seems valid because it doesnt turn red in the command block, but when i use it, i only get an empty chest. 
I verified multiple times and i have mad no spelling or mistake with capital letters, the name of my loot table is not in capital letters too.

I used mctools to create my loot table, maybe it's not up to date anymore ?

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
try the first command, and…
Wed, 02/26/2025 - 02:45

try the first command, and use neoforge 1.21 it works im sure

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
have you made a chest loot…
Wed, 02/26/2025 - 02:46

have you made a chest loot table, if not make it