When you hit an enemy with the enchanted sword you gain health!
This code will allow us to add the "Life Steal" enchantment to any type of sword by combining it with two blaze rods!
This code will restore health to the player if they damage an entity with the sword enchanted with "Life Steal"
Created about 5 years ago
Teach coding to your students with MVCode Teach
MVCode offers an integrated product designed to teach coding to students.
Learn more about MVCode Teach