Fishing

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Sonic_0509

Member
Oct 31, 2023
2
1
1
I try to delete the vanilla fishing rewards but the code:
on fish:
if fish state = caught fish:
set item of caught entity to dirt
Dont work the game dosent know the set item of caught entity to dirt line

do anyone know what to do ?
 
Last edited:
I try to delete the vanilla fishing rewards but the code:
on fish:
if fish state = caught fish:
set item of caught entity to dirt
Dont work the game dosent know the set item of caught entity to dirt line

do anyone know what to do ?
You need the SkBee add-on to use the expression "if fish state = caught fish".
 
I try to delete the vanilla fishing rewards but the code:
on fish:
if fish state = caught fish:
set item of caught entity to dirt
Dont work the game dosent know the set item of caught entity to dirt line

do anyone know what to do ?
You need two dependencies for that, SkBee (for the event and fish state) and MorkazSK (to set a custom item):

The available fish states are:
- CAUGHT_ENTITY = When your fishing rod hits an entity.
- CAUGHT_FISH = When you catch something fishing.
- FAILED_ATTEMPT = When you pick up your fishing rod mid-air or in the water.
- FISHING = When you throw your fishing rod.
- IN_GROUND = When you pick up your fishing rod that was in the ground.

Code:
on fish:
    if fish state is CAUGHT_FISH:
        set item of caught entity to dirt