How to prevent player from hitting entities
I'm making protected areas and I don't want the player to be able to break/place blocks. For this I use the adventure gamemode. I also want to prevent entity hitting. How can I achieve this ?
I'm making protected areas and I don't want the player to be able to break/place blocks. For this I use the adventure gamemode. I also want to prevent entity hitting. How can I achieve this ?