Started by
madcock83
on
Topic category: Help with Minecraft modding (Java Edition)
Looking to check how many of a certain item are in the players inventory then do something. I posted this question a while back. Someone answered it with a link to an old forum post. Before I saw it the post was removed. Any help would be awesome.
while player has it:
remove 1 of it in inventory
add cound by 1
end while
add (count) item "it" to inventory
grammar fix:
cound = count
spelling*
@Lord Of The D 42
(I am now a pro programmer)
There's no such thing as grammer or spelling, only SYNTAX
There's literally procedure template for that. Check for "check how many diamonds are in inventory" template, it can be used for any item.
@Toma400 this is an extremely old post okay?
Toma400 its not showing for me