Topic category: Help with Minecraft modding (Java Edition)
tutorial on how to make a custom ender pearl:
Step 1: make a ranged item
step 2: make it preferably do 1 damage, 0 knockback and put the range you want ;)
Step 3: when the projectile (in this case a custom pearl) collides with a block it looks for the block called "set location" That would be all
Bonus: You can also place (when it collides with a block) that it gives you a potion effect, that it gives you a sword, that it gives you more life, the possibilities are endless.
To set the cooldown, go to where it says "when ranged item used" and search for set cooldown, the cooldown of a pearl is 20 ticks (1 second = 20 ticks 2 seconds = 40 ticks and so on), don't forget to save, and voila! you already have a personalized ender pearl
nice tutorial, kinda obvious, but perfect for beginners :D
typo on cover :/
Which category is set location in?
Entity Management
very helpful
thanks man
Help: when ender pearl hits entity, ender pearl dissapears
try making it so it kills the entity it touched and then spawn another ender pearl(the one you made) that will collide whit the ground because the entity died i think it does not affect the player because theres one for living entity and one for player
i have problem, when it touches ground, nothing happends, can i see your procedure?
like, i cant set source entity, only event/target, i saw it only triggers thinks to teleport that it touches, it dose not teleport me