Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.14.3 -> 1.14.4] Loot Tables stopped working
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 0
Draco18s

[1.14.3 -> 1.14.4] Loot Tables stopped working

By Draco18s, July 29 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

Draco18s    2091

Draco18s

Draco18s    2091

  • Reality Controller
  • Draco18s
  • Members
  • 2091
  • 14019 posts
Posted July 29

Somehow in updating from 1.14.3 to 1.14.4 my loot tables stopped working.

 

I know that I had them properly tested back on this branch and they were working (all blocks):

https://github.com/Draco18s/ReasonableRealism/tree/1.14.3/src/main/java/com/draco18s

 

But today they don't work on this branch:

https://github.com/Draco18s/ReasonableRealism/tree/1.14.4/src/main/java/com/draco18s

 

I didn't even touch loot tables. All I can figure is that the registration for them changed in some way that I can't identify (e.g. they are no longer automatically loaded).

  • Quote

Share this post


Link to post
Share on other sites

Afroman    1

Afroman

Afroman    1

  • Tree Puncher
  • Afroman
  • Members
  • 1
  • 8 posts
Posted July 30 (edited)

Mine works fine and the only difference is that i register the objects one by one.

 

I tried one of your loot_table. Works fine on my project...

Edited July 30 by Afroman
  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2091

Draco18s

Draco18s    2091

  • Reality Controller
  • Draco18s
  • Members
  • 2091
  • 14019 posts
Posted July 30
1 hour ago, Afroman said:

I tried one of your loot_table. Works fine on my project...

Weird.

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2091

Draco18s

Draco18s    2091

  • Reality Controller
  • Draco18s
  • Members
  • 2091
  • 14019 posts
Posted July 30

I keep poking at this to try and figure out what's going on.

 

If I make the JSON file invalid, it throws an error.

If I put a non-existent item in the JSON, nothing happens.

If everything's kosher, nothing happens.

 

Resource Location searched for is harderores:blocks/ore_hardiron. Loot table is data/harderores/loot_tables/blocks/ore_hardiron.json

 

The registeredLootTables map is fucking empty. There's nothing in it. No blocks of any kind drop anything.

  • Quote

Share this post


Link to post
Share on other sites

The_Wabbit    2

The_Wabbit

The_Wabbit    2

  • Tree Puncher
  • The_Wabbit
  • Members
  • 2
  • 31 posts
Posted July 30 (edited)

I had this "No blocks of any kind drop anything" happen to me a few times -- turned out to be a bad tag file that just caused the entire datapack loading (including loottables) init to abort...no warning that this had occured until i noticed that error in log file. Perhaps check for similar occurance

Edited July 30 by The_Wabbit
typo
  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2091

Draco18s

Draco18s    2091

  • Reality Controller
  • Draco18s
  • Members
  • 2091
  • 14019 posts
Posted July 30
4 minutes ago, The_Wabbit said:

I had this "No blocks of any kind drop anything" happen to me a few times -- turned out to be a bad tag file that just caused the entire datapack loading (including loottables) init to abort...no warning that this had occured until i noticed that error in log file. Perhaps check for similar occurance

Hmm.

Yeah, looks like I had a bad recipe or two. That did the trick. Seems really unhelpful that one bad data file causes all data files to be bad.

 

I'd been ignoring it because "I'm not worried about that right now, I want to test my enchantments."

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • BattleDash
      Get all players connected to a bungee server

      By BattleDash · Posted 41 minutes ago

      Hello all, I'm trying to make a mod that can tell you all the players on a bungee server you're connected to, I've never worked with Forge before and this API is very abstract to me compared to plugin development which is what I normally do. Does anyone know how I would go about getting a list of Player Entities of every player on the network you're connected to?
    • Draco18s
      Trouble getting contents of a Chest

      By Draco18s · Posted 1 hour ago

      It isn't merged, so it won't work yet.
    • saxon564
      [1.14.4] [UNSOLVED] Server Thread Freezes After Entity Explodes

      By saxon564 · Posted 2 hours ago

      Does anyone else have any thoughts as to what might be causing this issue?
    • diesieben07
      [1.12.2] How can I close GUI in Forge?

      By diesieben07 · Posted 2 hours ago

      You cannot call Minecraft methods from a separate thread. You need to wait a tick using ClientTickEvent.
    • bismuth210
      [1.12.2] Killing fireworks in unloaded chunks

      By bismuth210 · Posted 2 hours ago

      I'm creating a custom gamemode using forge in which players get teleported around regularly. I've run into a problem when I do the following:   I spawn a firework rocket near a player I teleport the player to a different location I wait a couple of seconds (or minutes) I teleport the player back to the same location as in step 1. Doing this will show the firework spawned in step 1 in step 4, despite significant time having passed in 3. This video shows what I mean:   I suspect the reason for why this happens is because once I teleport the player somewhere else, the chunk with the firework is no longer loaded and doesn't get updated.   Is there a simple way for me to simply "get rid" of all active fireworks shortly before teleporting players so that this doesn't occur? Or do I really have to forcibly keep all chunks loaded? To be more clear: I don't want to disable fireworks all together, but I don't want remnants of old fireworks showing up when I teleport players. "Killing" all firework rockets when I teleport a player would work fine, but I don't know if/how I can do that.   I've tried using /kill @e[type=!player] But that doesn't work for firework rockets apparently.
  • Topics

    • BattleDash
      0
      Get all players connected to a bungee server

      By BattleDash
      Started 41 minutes ago

    • MattNL
      5
      Trouble getting contents of a Chest

      By MattNL
      Started 12 hours ago

    • saxon564
      12
      [1.14.4] [UNSOLVED] Server Thread Freezes After Entity Explodes

      By saxon564
      Started Friday at 05:11 AM

    • Filip4223
      5
      [1.12.2] How can I close GUI in Forge?

      By Filip4223
      Started 3 hours ago

    • bismuth210
      0
      [1.12.2] Killing fireworks in unloaded chunks

      By bismuth210
      Started 2 hours ago

  • Who's Online (See full list)

    • Simon_kungen
    • LexManos
    • J0WAY
    • EmerProd
    • Elrol_Arrowsend
    • Oliviafrostpaw
    • Yanny7
    • BattleDash
    • DragonITA
    • vaartis
    • Choonster
    • no namezzzz
    • imacatlolol
    • Cerandior
    • M1ntcraft3r
    • AntonBespoiasov
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.14.3 -> 1.14.4] Loot Tables stopped working
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community