@Tomcio0203x jako że nazwe itemu łatwo jest zmienić uzależniłem działanie sakwy od lore (opisu)
options:
fish: air or cod or salmon or tropical fish or puffer fish
lore: "Sakwa Rybaka"
command /test [<text>]:
trigger:
if arg 1 is set:
give 1 bundle with lore {@lore} to player
on inventory click:
if cursor slot of player is bundle with lore {@lore}:
if event-slot is not {@fish}:
cancel event
if cursor slot of player is not {@fish}:
if event-slot is bundle with lore {@lore}:
cancel event
oczywiście komenda jest tylko testowa żebyś nie musiał się bawić w tworzenie takiej sakwy do testów
Jescze jedna ważna rzecz:
to nie działa w gamemode creative musisz byc na survival !