Topic category: Help with modding (Java Edition)
Hello sorry for my bad English right away.
so here is my question: how can I make a procedure that if on right-click on a certain block it checks if the block has an item in the inventory of the block and if yes then drops it
and if a player right-clicks with a certain item in its hand, the item (with nbt data) will be transferred to the inventory of the block.
so please help me