Help with Fishing Loot Table

Started by Joshuya1 on

Topic category: Help with modding (Java Edition)

Last seen on 21:50, 6. Aug 2020
Joined Mar 2017
Points:

User statistics:

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

Hello all,

I am needing help again. I tried making a new fishing loot table to spawn custom items to test it but it isn't working. My goal is to add different fish as items that can be fished. Can someone help please. If you could write it in steps maybe to help me or point me to a fishing loot table tutorial. I tried following one for mods but applied it to fishing and it didn't work.

Last seen on 11:29, 16. Apr 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There's a website I found…
Sun, 07/26/2020 - 12:28

There's a website I found which helps to create and edit loot tables, https://misode.github.io/loot-table/

What you want to do, is find the existing loot table for fish, loot_tables/gameplay/fishing/fish - and paste it into the box on the right hand side. I've pasted it here for you --> https://pastebin.com/8JFZ0Mks - so all you have to do is paste it into the website. 

Once you've done that, the website will update with the loot table, and from there it's pretty self-explanatory. You can add new items to the loot tables, with functions such as the amount you get in one catch, or if you need to be in a certain biome.

Once you've finished editing the loot table, copy the text that's now in the box in the right, and open Mcreator. You'll want to create a new loot table. Set the registry name to 'gameplay/fishing/fish', the Loot Table Namespace to Minecraft, and the loot table type to fishing. Then save the mod element and lock the code.

Now that you've locked it, edit the code, and paste in your loot table. Save the mod element, and it should now work!

 

If you have any questions, shoot me a DM on discord, I'm Hm#0965 over there. I'll be more than happy to help ^^

Last seen on 11:29, 16. Apr 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Forgot to mention you have…
Sun, 07/26/2020 - 12:35

Forgot to mention you have to press tab on the keyboard for the website to update with the pasted loot table

Last seen on 21:50, 6. Aug 2020
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you so much I really…
Sun, 07/26/2020 - 14:07

Thank you so much I really am thankful :)

Last seen on 21:15, 26. Oct 2020
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
necro but i did the exact…
Wed, 08/19/2020 - 03:28

necro but i did the exact same thing described here and it didn't work

Last seen on 14:29, 30. Aug 2023
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to add custom…
Mon, 09/06/2021 - 15:41

Is there a way to add custom MCreator items? I tried to change the code, tried everything i could but it whould just catch nothing.

Code: https://imgur.com/a/p17AyWv

I tried to change to type and name to "minecraft:'' but that didn't work either.

Any help?

Last seen on 11:29, 16. Apr 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So since the new update to…
Mon, 09/06/2021 - 23:05

So since the new update to Mcreator, they implemented something similar within the software.

Though what I can see in your code, rename 'nanobot:item' to 'minecraft:item' like the others, and make sure the mod id is correct for the backpack item

Last seen on 14:29, 30. Aug 2023
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That worked, thank you so…
Tue, 09/07/2021 - 13:47

That worked, thank you so much! :D

Last seen on 11:29, 16. Apr 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No worries, I'm glad I could…
Wed, 09/08/2021 - 09:05

No worries, I'm glad I could help!

Last seen on 16:55, 22. Nov 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
JJ_007, this is the best!…
Thu, 10/21/2021 - 20:26

JJ_007, this is the best! Thanks for your detailed explanation. Works great!

Last seen on 11:29, 16. Apr 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No problem at all! I'm glad…
Sat, 10/23/2021 - 13:33

No problem at all! I'm glad people are still finding this helpful even a year after I posted it!