custom loot tables not working in 1.12.2

Started by TFAU on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Dec 2020
Points:
668

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
custom loot tables not working in 1.12.2

is it possible to use custom loot tables in 1.12.2, it give an error about the syntax in the console

Active 2 years ago
Joined Dec 2017
Points:
1047

User statistics:

  • Modifications: 7
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 332
if you want item drops on…
Tue, 12/08/2020 - 02:07

if you want item drops on mob death you can use procedures to do that, otherwise I have never used loot tables, so that's the only way I know to drop loot.

Active 4 years ago
Joined Dec 2020
Points:
668

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
Im trying to use them for…
Tue, 12/08/2020 - 03:41

Im trying to use them for structure chests

Active 4 years ago
Joined Dec 2020
Points:
668

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
the game recognizes the loot…
Tue, 12/08/2020 - 16:55

the game recognizes the loot table but it says it cant add it because its missing the entry "name" for pool #0

meaning the default syntaxing by mcreator isnt right for 1.12.2

Active 4 years ago
Joined Dec 2020
Points:
668

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
ill just paste the important…
Wed, 12/09/2020 - 16:03

ill just paste the important part directly here cause the rest is irrelevant and its not very long:

09:02.03 [Server thread/ERROR] [minecraft/LootTableManager]: Couldn't load loot table not_enough_dimemensions:ruinslootnorm from jar:file:/C:/Users/~~~/build/libs/modid-1.0.jar!/assets/modname/loot_tables/ruinslootnorm.json
com.google.gson.JsonParseException: Loot Table "modname:ruinslootnorm" Missing `name` entry for pool #0

Active 5 hours ago
Joined Aug 2016
Points:
3320

User statistics:

  • Modifications: 9
  • Forum topics: 63
  • Wiki pages: 20
  • MCreator plugins: 11
  • Comments: 2958
Loot tables are a 1.13…
Wed, 12/09/2020 - 20:14

Loot tables are a 1.13 feature.

Active 4 years ago
Joined Dec 2020
Points:
668

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
then why does 1.12.2…
Thu, 12/10/2020 - 00:55

then why does 1.12.2 recognize them