Loot chests in 2023.2

Started by JustAGuyThatMods on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Loot chests in 2023.2
Mon, 08/14/2023 - 21:21 (edited)

Heya! Ive been trying to use commands to place down loot tables in my structures for a LONG time now, but I still cant seem to do it, can someone tell me what the best command is to place down a loot table? Or tell me if I set it up wrong?

The mods called The BanBan and Jumbo Josh Pack

loot table regestry name: chests/banban_loot, loot table workspace: mod, loot table table type, Chest

I use the command: /setblock ~ ~1 ~ minecraft:chest{BanbanLoot:"TheBanBanAndJumboJoshPack:Chests/loottable"} destroy

Edited by JustAGuyThatMods on Mon, 08/14/2023 - 21:21
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait, it still dosnt work  …
Tue, 08/15/2023 - 20:40

Wait, it still dosnt work

 

is this the right command? /setblock ~ ~1 ~ minecraft:chest{banbanloot:"thebanbanandjumbojoshpack:chests/loottable"} destroy

 

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
He is a command you do not…
Wed, 08/16/2023 - 01:35

He is a command you do not need a command block /give @s chest{BlockEntityTag:{LootTable:”modname:chests/loottablename”}} 

Remember there is no cap and when there is a space use a _

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
whats the block entity tag?
Wed, 08/16/2023 - 20:34

whats the block entity tag?

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh leave the block entity…
Wed, 08/16/2023 - 21:41

Oh leave the block entity tag by it self don’t change it

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Only change modname and…
Wed, 08/16/2023 - 21:42

Only change modname and loottablename