In vanilla Minecraft, golems do not attack creepers, and with the modified mechanics, you can set up targets that will attack or ignore golems. For example, golems will now be able to fight among themselves, or kill animals, everything is configured in the configuration.
Configuration:
Code (Text):
golem:
radius: 15
targetMobs: # The list of mobs that the golem will attack, the rest of the mobs that are not included in the list will be ignored by the golem
- BLAZE
- CAVE_SPIDER
- CREEPER
- DROWNED
- ELDER_GUARDIAN
- ENDER_DRAGON
- ENDERMAN
- ENDERMITE
- EVOKER
- GHAST
- GUARDIAN
- HOGLIN
- HUSK
- ILLUSIONER
- MAGMA_CUBE
- PHANTOM
- PIGLIN
- PIGLIN_BRUTE
- PILLAGER
- RAVAGER
- SHULKER
- SILVERFISH
- SKELETON
- SLIME
- SPIDER
- STRAY
- VEX
- VINDICATOR
- WITCH
- WITHER
- WITHER_SKELETON
- ZOGLIN
- ZOMBIE
- ZOMBIE_VILLAGER
- ZOMBIFIED_PIGLIN
Commands:
/golemtargetsreload - reloading the plugin
Permissions:
GolemTargets.reload - Allows the user to reload the GolemTargets configuration