Condition dependent fishing loot

Started by Linksvix99 on

Topic category: Help with MCreator software

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Condition dependent fishing loot

I'm attempting to implement a fishing loot table that only has a chance to be pulled from under specific circumstances, such as the vanilla behaviors of finding bamboo in a jungle biome or the updated treasure loot check in 1.16+ (where you can only get things like enchanted books with certain criteria). The thing is, the loot table doesn't offer the option to set a condition for when it gets pulled and, while I can set the criteria for the loot table to be pulled from with a procedure, it doesn't seem to be possible to pull from a loot table; only specific items. Is there any way I can just pull from the loot table I created?

Your procedure is called by…
Sat, 11/07/2020 - 08:57

Your procedure

image

is called by the entity right-clicked trigger of your entity.

The target entity is the entity you clicked, so you open the GUI for the entity, not for you. You will need to use sourceentity for this.

image

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Now I'm even more confused…
Sat, 11/07/2020 - 16:45

Now I'm even more confused... In order to get condition-specific fishing items I need to create a GUI? Or did you send that to the wrong person?

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Seriously, what does it have…
Fri, 11/20/2020 - 21:36

Seriously, what does it have to do with my issue? I don't mean to sound rude, but this makes absolutely no sense to me in this context.

 

"Your procedure is called by the entity right-clicked trigger of your entity. The target entity is the entity you clicked, so you open the GUI for the entity, not for you. You will need to use sourceentity for this."

 

...What procedure? What entity? What GUI? What literally anything that you said? I just want to get specific items from fishing under certain conditions.

Oh no, yep, I accidentally…
Sat, 11/21/2020 - 09:23

Oh no, yep, I accidentally posted this under the wrong topic, I sometimes have multiple forums open and try to help multiple at once as I only have limited time to work here, so I made a mistake. Sorry for the confusion ;)