Good and Evil

Started by SoKoi- on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Good and Evil

Is there a way to make it so when a player clicks a button in a gui, it makes the player only able to kill and tame certain mobs. Like if the player chose between good and evil, and chose good. Is there a way to make it where they can only kill aggressive mobs and not passive ones?

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hmmmmm what you could do is…
Wed, 11/18/2020 - 21:29

Hmmmmm what you could do is set up an advancement and when you get the advancement you can do damage to certain mobs but I’m not sure how to do mobs part just the advancement 

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Awesome! That's half of the…
Wed, 11/18/2020 - 22:51

Awesome! That's half of the mechanic and another mechanic done. Now to figure out the mob part...

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait I think I got it. I'll…
Thu, 11/19/2020 - 21:47

Wait I think I got it. I'll just make it where they can be killed they just cant be tamed or captured, since I have an item that can capture the mob specifically.

 

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Cancel the death event if…
Sun, 11/22/2020 - 18:55

Cancel the death event if source entity has NBT tag.