Started by
SomeOneAlredyT…
on
Topic category: Help with Minecraft modding (Java Edition)
Greedings, I'm looking for help with my mod, I want help with an procidure that adds a 10% chance of something happen to the player when he kills an entity type, Like having a 10% chance of giving a player nausea when player kills an undead mob for example. That's all i need, the rest I can figure out
The thing I tryed but doesn't seem to be working is:
Global Trigger: Entity dies
(If: entity type = undead) (do) :
(if [random 0,1] + [number 0.1]) (do) : [add potion effect to target entity blah blah blah]
something like that i cant elaborate better because im kinda new at modding