Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Yo.

 

So, in 1.5 or so Minecraft introduced a generic tile entity data packet type (finally, yaaay).

However, Forge overrides it, so all my ML mods using this piece of code can't sync their data. This is not a problem in vanilla yet. It might become so, though, since they did implement it, and when did they ever implement code for mods before...? x)

 

Okay, since vanilla code posting is not allowed, the code I'm talking about is in NetClientHandler, in handleTileEntityData(Packet132TileEntityData).

If the actionType equals 255, it gets the custom param 1 (an NBTTagCompound), and extracts the string under value 'ID'. If this equals the registered Tile Entity ID, the tile entity data gets applied (it's a validity >> delay check).

 

So yeah, in Forge, my packets never arrive the clients. This fucks up some logic and rendering, and thus renders the mods incompatible.

This should be the case because Forge removes this feature [though I didn't specifically check].

 

I would be glad if someone could fix this one.

 

Thanks in advance,

 

~Ivorius

 

[edit: Used builds universal-1.5.2-7.8.0.700 and down]

Minecraft does not use packet 132 for generic callbacks it is very much a specialized callback for vanilla tile entities {In particular MobSpawner, CommandBlock, Beacon and Skull.

 

Forge adds a generic callback:

https://github.com/MinecraftForge/MinecraftForge/blob/master/patches/minecraft/net/minecraft/client/multiplayer/NetClientHandler.java.patch#L41

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

Ah, I see it is not a vanilla feature now, but rather a ModLoader one.

 

I'd still love for Forge to pick up this feature, though, because with FML you do aim for full ML mod compatibility, and this is most definitely a missing feature. =)

You'd have to provide cpw a mod that works on ModLoader but doesn't work on FML.

FML is a clean room implementation, which means he only implements the documented features of ModLoader.

Either way, i'd advise moving to Forge directly as we can not garentee ModLoader compatibility for to much longer.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.