#(ripariva) auto fishing

14 messages · Page 1 of 1 (latest)

split iris
#

How do I get players to automatically catch fish when their fishing hook is bitten? I'm also trying to create opportunities where players can get 3 different items when catching fish. But I couldn't find a way.

dapper starBOT
#

(ripariva) auto fishing

dapper starBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

rustic frigate
#

!e player fishes entity while state

jaunty mesaBOT
# rustic frigate !e player fishes entity while state
Group

Player

Event Lines

player fishes (<entity>) (while <state>) player fishes (<item>) (while <state>)

Switches

with:<item> to only process the event if the fishing rod is a specified item.

Triggers

when a player uses a fishing rod.

Has Player

If the fisher or the caught entity is a player (in most cases, the fisher can be assumed to be a real player). - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.

Has NPC

If the fisher or the caught entity is an NPC.

Context

<context.hook> returns an EntityTag of the hook.
<context.state> returns an ElementTag of the fishing state. Valid states: <@link url https://hub.s...
<context.entity> returns an EntityTag of the entity that got caught.
<context.item> returns an ItemTag of the item gotten, if any.
<context.xp> returns the amount of experience that will drop.

Determine

"CAUGHT:<ItemTag>" to change the item that was caught (only if an item was already being caught).
"XP:<ElementTag(Number)>" to change how much experience will drop.

Has Known Location

True - this adds switches in:<area> + location_flagged:<flag name>.

Cancellable

True - this adds <context.cancelled> and determines cancelled + cancelled:false.

opaque flume
#

!m fish_hook_pull

jaunty mesaBOT
opaque flume
#

bite state + that mech ^

#

players can get 3 different items when catching fish
Determine "CAUGHT:<ItemTag>" to change the item that was caught (only if an item was already being caught).

*(unsure if you can actually specify more than 1 item, if you try and are unsuccessful you can fake catch the other items (spawning a dropped item and shooting it towards the player or something of that sort))

paper yew
#

You cant specify more than one item

split iris
#

Oh okay

#

But how to using mechanic to task command?

#

Oh It uses the adjust command, thanks for help