Skip to main content

Rod Reel In

The arc:on_rod_reel_in action type is triggered when a player reels in a fishing rod.

Action Data

When this action is triggered, the following action data is made available to be used by conditions and rewards:

Action Data TypeDescription
arc:entityRepresents an entity in the game, such as a player, mob, or item.
arc:block_positionSpecifies the coordinates (x, y, z) of a block in the world.
arc:worldRefers to the world/dimension where the action occurs.

Example

The following example will pull the player towards the location they are fishing at when they reel in their fishing rod, as long as the fishing hook is in the air.

data/my_datapack/arc/pull_player_with_fishing_rod.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_rod_reel_in",
"rewards": [
{
"type": "arc:move_to_entity",
"force": 2
}
],
"conditions": [
{
"type": "arc:entity_in_block",
"block": "minecraft:air"
}
]
}

Compatible Condition Types

The following condition types can be used with this action type:

Compatible Reward Types

The following reward types can be used with this action type: