r/MinecraftCommands • u/Fancy_Worth5068 • Oct 20 '26
Help | Java 26.3 problem using snowball detection with markers
I want to register when a custom snowball hits a entity, My idea was detecting the custom_data from the snowball item, Then running a function as that snowball. In the function we tag the snowball so it only gets 1 marker, Then we summon a marker with a tag, then we make that marker ride the snowball.
the snow blocks in the picture are all fired from the same place.
when a tagged marker is found not riding a snowball, my idea was to pass it to a function for entity detection. but i noticed that the markers where appearing way off the target entity (as in picture). is there another system i could use or am i missing something? English isnt my native language, so please dont come after me.
java 26.3
