[TUTORIAL] Changing fishing loot table depending on biome/dimension

Started by PhatBoi68419 on

Topic category: User side tutorials

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] Changing fishing loot table depending on biome/dimension

This is an easy tutorial, all that is need is 1 big procedure and an item tag or a percent chance procedure. First you should make the tag or chance procedure which will be used to grab from a pool of loot to spawn instead of whatever would normally be fished. The easier option is a tag, so this is what that would look like: 

""

In this tutorial I will not demonstrating how to make the other option, but you basically you would call a procedure which gives different items based on a chance instead of grabbing a random item from the tag. The result of a procedure instead would give the ability to make items more or less common. Moving on to the procedure, here is an image of it.

""

The dimension and biome can of course be customized to use one or both with any available options. Last thing to customize is the text input in the "random item from tag" block, put in "(the_name_of_your_mod):fishing_loot_table", which is the tag you created before this step. You will also need to make 6 global variables as well, the x y and z velocities, and the x y and z positions. Make them number types and player persistent. 

And that is it! My methodology may look weird, but I was testing many different ways of removing the original object for days, but since this works, it works!

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Does the 'y velocity of ____…
Sun, 01/07/2024 - 18:15

Does the 'y velocity of ______' block still exit within mcreator?.. bc I couldn't find it

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
not working, don't bother 
Wed, 05/22/2024 - 14:02

not working, don't bother 

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes all the velocity…
Fri, 07/12/2024 - 17:34

Yes all the velocity procedure blocks have been replaced with "(X/Y/Z) delta movement of (entity)" in new Mcreator versions, but it should work the same. I'm sorry its not working anymore, I'll try to update this sometime soon.