Topic category: Help with modding (Java Edition)
Hello! I am trying to make it so that when I press a button, if the entity has a certain item in its inventory It shoots something. I can't seem to figure it out. Can someone help me with this? It will be very appreciated!