how i can make zombie peaceful if containes player in hashmap ? Code:java if(hashmap.containesKey(player.getName)){ make zombie peaceful }
You could try cancelling EntityTargetEvent if the targeting entity is a zombie and the targeted entity is a player and in the map