Good and Evil

Started by SoKoi- on

Topic category: Help with modding (Java Edition)

Last seen on 06:32, 5. Dec 2020
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?

Last seen on 23:41, 3. Jun 2021
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 

Last seen on 06:32, 5. Dec 2020
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...

Last seen on 06:32, 5. Dec 2020
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.

 

Last seen on 14:43, 2. Aug 2022
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.