Posted October 30, 20187 yr I have the code already that gets the packet --pipeline stuff-- already. I just need a way to get an Entity from the packet. Doing: Minecraft.getMinecraft().world.getEntityByID(packet.getEntityID()); always returns null because I don't think the entity exists yet. I'm looking for a way to get the Entity. (End goal is trying to cancel all spawn zombie packets) Doing all of this client side btw I know there is an event for this, but it'd be nice to know how to do this aswell. Edited October 30, 20187 yr by joebro3
October 30, 20187 yr You can't get something that doesn't exist yet... I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.