Skip to main content

Fish Up Item

The arc:on_fished_up_item action type is triggered when a player fishes up an item.

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:item_stackRepresents a stack of items, including item type and quantity.
arc:itemRefers to a single item type without stack information.

Example

The following example will give the player an emerald every time they fish up an item.

data/my_datapack/arc/fish_for_emerald.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_fished_up_item",
"conditions": [
{
"type": "arc:items",
"items": ["#minecraft:fishes"]
}
],
"rewards": [
{
"type": "arc:item",
"item": {
"id": "minecraft:emerald"
}
}
]
}

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: