Started by
BaguetteDoesnt…
on
Topic category: Help with Minecraft modding (Java Edition)
ive been doing my first mod for a while now, and i wanted to make a wand that casts a lightning bolt in the block youre looking at, it works but the range is too short, it ends hurting you too and thats a very bad problem. how do i make it so the effective range of the wand goes further on? do i have to use a raycast of some kind?
Edited by BaguetteDoesntKnowCoding on Tue, 10/19/2021 - 00:34
with the procedure blocks called Is Event/Target entity looking at a block with raytrace distance 5 fluid mode NONE block mode OUTLINE
thanks, ill try to see if i can pull it out with that
i tried using the raytrace but all it did is tell if there was a block there, the lightining will only spawn if theres a block within 64 blocks (custom distance) of the player, but i cant get the lightning to spawn at where the raytrace pointed at
sorry for my total inavility to do this, if you havent noticed yet i have "doesnt know coding" in the name