Alright. Let's just spill the code and see if you can understand it.
Mob.yml:
Skills.yml:
Got that? No? Oh fine i'll explain.
First clear the original vanilla pig's AISelectors. Both goal and...
[Tutorial] Hostile Passive Mobs
Mob.yml:
Code:
BadPiggy: Mobtype: pig AITargetSelectors: - 0 clear - 1 players AIGoalSelectors: - 0 clear - 1 randomstroll - 2 meleeattack Skills: - skill{s=SketchyAttack} @target ~onTimer:20
Code:
SketchyAttack: Conditions: - targetwithin 2 Skills: - damage{a=4}
First clear the original vanilla pig's AISelectors. Both goal and...
[Tutorial] Hostile Passive Mobs