zonf_ Posted June 29, 2022 Share Posted June 29, 2022 on rightclick: if player has {rawwolfmeat} in main hand: if clicked block is campfire: cancel event wait 1 tick send "test" to player remove 1 of {rawwolfmeat} from player's inventory give 1 of {cookedwolfmeat} to player Example: if i hold 3 on {rawwolfmeat}, the skript doesnt think i hold {rawwolfmeat} Link to comment Share on other sites More sharing options...
Pryzmm Posted June 29, 2022 Share Posted June 29, 2022 7 hours ago, zonf_ said: on rightclick: if player has {rawwolfmeat} in main hand: if clicked block is campfire: cancel event wait 1 tick send "test" to player remove 1 of {rawwolfmeat} from player's inventory give 1 of {cookedwolfmeat} to player Example: if i hold 3 on {rawwolfmeat}, the skript doesnt think i hold {rawwolfmeat} Try if player's held item contains 3 of {rawwolfmeat}: Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
zonf_ Posted June 29, 2022 Author Share Posted June 29, 2022 the thing is im trying to make it so it checks for any number of the item, not just 3 1 Link to comment Share on other sites More sharing options...
ThemightyTho Posted January 18, 2023 Share Posted January 18, 2023 Zonf did you get an answer? I am still having trouble with this Link to comment Share on other sites More sharing options...
kegnh Posted January 28, 2023 Share Posted January 28, 2023 for anyone still looking, compare a relative amount: on rightclick: 1 of player's tool = campfire: send "CLICK WITH CAMPFIRE!!" Minecraft Ranks[DEFAULT] - 9th October 2020[PRO] - 21st November 2020[PATRON] - 27th October 2021 Proficiency Python - 8 Years C/C++ - 5 Years Skript - 4 Years Javascript - 3 Year Java - 1 Year Links Discord - kegnh#1234 Link to comment Share on other sites More sharing options...
Frecklestainer Posted June 21, 2023 Share Posted June 21, 2023 yeah this still dont work matey Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now