Started by
Beveyboygames
on
Topic category: Help with Minecraft modding (Java Edition)
So I have no idea why this isn't working, and I've been trying to figure it out for hours but could someone help me out to get this working
https://imgur.com/a/HZRvlIh
I've already tried without itemstacks too btw
When you tired without itemstack what did you replace It with?
I just used the item in main hand of source entity block.
I think that it would be better to use item in main hand again, and I just realized that probably endermen aren't tagged as "minecraft:enderman" since tags always contain more than one element, instead of that put there: is event/target entity (sub)type of: enderman
I did everything you said, but it still has no affect at all
https://imgur.com/a/o6JRJ6f
I've also tried something like this and it also did not work, and I also tested it with the (sub) type of: enderman block too
https://imgur.com/a/VvrB100
I did some tests with a similiar procedure and it works, then I looked at yours again and I noticed that even if your tool is enchanted with level 3 enderphobia it will still count as level one, (because it checks if the player has the enchanted item in main hand in the "if" and in both the "else if" too, causing it to doing nothing if you don't have the item and go to the level one part of the procedure even if you have level two or three) maybe it actually deals more damage but since is just 3hp you don't notice.
check with a "if" if the player has the item with the enchantment in his main hand and inside that "if" with another "if" and two "else if" check the level
it works now, ur literally a lifesaver thank you so much :), I've been working on this for days T_T
It's a pleasure