How to make a smite/bane of athropods type of enchantment?

Started by Sebaz on

Topic category: Help with MCreator software

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a smite/bane of athropods type of enchantment?

I'm trying to figure out the procedure for it and nothing I've done has any effect on it. Can anyone give me some advice? Is the trigger supposed to 'entity attacked' and how does one apply the damage. Trying to make an ender-like enchantment that only affects mobs from the end (i.e endermen, the dragon, shulkers)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Tue, 06/15/2021 - 22:13

Code for question

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"damage of xyz" is…
Tue, 06/15/2021 - 22:31

"damage of xyz" is durability of the item, not the attack damage. Instead use dependency amount  or calc the damage based on enchant level. For example

if: player has enchant
do: damage target for {enchant level * some value}

or for example:

if: player has enchant
do: damage target for { [number dependency: amount] * some low percent}

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah my bad. Feel like damage…
Wed, 06/16/2021 - 14:12

Ah my bad. Feel like damage and attack damage should be more easily shown using durability to make it less likely that someone with confuse the two.

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So... I know this is old but…
Tue, 07/16/2024 - 03:49

So... I know this is old but I'm working on something very similar, I can't figure out how to get it to detect a specific mob (eg. endermen, shulker, custom end mobs etc.), even with custom code snipits and I'd really appreciate some help.

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this is literally all I have…
Tue, 07/16/2024 - 04:27

this is literally all I have rn