Started by
Lord Makishi
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, i want to check if an custom made entity hit another entity. If yes, the source entity gains an temporary regeneration effect (basically like Lifesteal). I've tried many procedures, but with no success.
You can use global trigger Entity Attacked. It provides which entity and by who was attacked.
Then in if block you can try checking if source entity is a (sub) type of your mob -> there's block named something like "is entity (sub) type of".
Thanks, for helping me again, this was the only block i was missing!