I want to add an itemcheck in the chest above the hopper.
If itemcheck is true, then the hopper installation will be canceled, if not, the hopper will be placed.
I have already written a primitive and simple code, but I do not know how to modify it:
Can help anyone? Thanks.
If itemcheck is true, then the hopper installation will be canceled, if not, the hopper will be placed.
I have already written a primitive and simple code, but I do not know how to modify it:
code_language.skript:
on place hopper:
if block above is chest:
cancel event