Posted February 20, 20178 yr I'm trying to sync a double across the server and client to use in my gui that's being updated in the tile entity, but the good ol' getUpdatePacket and onDataPacket don't work anymore. I've seen you need to override getUpdateTag now too, but none of the three methods are being called at all, and my entity is registered, fyi. Anyone know what i've been doing wrong? [shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]
February 20, 20178 yr Are you calling markDirty() every time the double changes/any saved data changes? VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
February 20, 20178 yr Author Oh! I recall reading that but you actually want to do notifyBlockChange or whatever because that sncs where as markDirty saves. Thanks! [shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]
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.