Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- 'a'= max hp 'b'= hp 'c'= attack power -->
- <event>
- <action>
- <entry if_mob="pig, chicken, wolf, cow, sheep" action="log + cancel"/>
- <entry if_mob="zombie" action="1a + 1b + 1c"/>
- <entry if_mob="spider" action="2a + 2b + 2c"/>
- <entry if_mob="enderman" action="3a + 3b + 3c"/>
- <entry if_mob="skeleton" action="4a + 4b + 4c"/>
- </action>
- <linked_action name="1a" action="set" sub="max_hp" value="50" number_type="absolute"/>
- <linked_action name="1b" action="set" sub="hp" value="50" number_type="absolute"/>
- <linked_action name="1c" action="set" sub="attack_power" value="8" number_type="absolute"/>
- <linked_action name="2a" action="set" sub="max_hp" value="20" number_type="absolute"/>
- <linked_action name="2b" action="set" sub="hp" value="20" number_type="absolute"/>
- <linked_action name="2c" action="set" sub="attack_power" value="4" number_type="absolute"/>
- <linked_action name="3a" action="set" sub="max_hp" value="45" number_type="absolute"/>
- <linked_action name="3b" action="set" sub="hp" value="45" number_type="absolute"/>
- <linked_action name="3c" action="set" sub="attack_power" value="11" number_type="absolute"/>
- <linked_action name="4a" action="set" sub="max_hp" value="25" number_type="absolute"/>
- <linked_action name="4b" action="set" sub="hp" value="25" number_type="absolute"/>
- <linked_action name="4c" action="set" sub="attack_power" value="2" number_type="absolute"/>
- <linked_action name="log" action="log" message="prevented mob spawn!"/>
- <linked_action name="cancel" action="cancel_event"/>
- </event>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement