Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/10/18 in all areas

  1. Oops, my bad, that is only used for flying mobs it turns out. Specifically used for flying. It turns out you might have to subscribe to PlayerEvent.StartTracking and "tag" the entity and "untag" the entity in PlayerEvent.StopTracking. And then in a tick event check if they have the potion effect and send the packet and mark that so you don't continuously send the packet. And then check if they don't have the effect and send another packet letting the client know. Honestly, you might even want to skip the Tracking section because it might work better.
    1 point
  2. I understand; it's sad that fry moved on to Mojang before properly documenting this system because I feel that it is secretly great. When I find the solution I will be sure to post here and hopefully provide some type of tutorial/guide/documentation of some sort that is more easily followed than the current stuff.
    1 point
  3. Yeah, I think that should work except that if other mods set their priority to highest then you you're not guaranteed to have yours go before theirs (I assume the order is based on mod loading or modID alphabetical) and if other mods set their priority to lowest then you're not guaranteed to have yours go after thiers. In fact, one or the other will not fully work because if you're first in order for the highest then you'll be first in order for the lowest, and vice versa. But at least you can say you tried. And it should work for mods where they leave the priority at default (normal).
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.