Condition dependent fishing loot

Started by Linksvix99 on Thu, 11/05/2020 - 19:19

Topic category: Help with MCreator software

Last seen on 17:04, 19. Jan 2021
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Condition dependent fishing loot
Thu, 11/05/2020 - 19:19

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?

Last seen on 15:52, 27. Jan 2021
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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

Last seen on 17:04, 19. Jan 2021
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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?

Last seen on 17:04, 19. Jan 2021
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 15:52, 27. Jan 2021
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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 ;)