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.

TeNNoX

Members
  • Joined

  • Last visited

Everything posted by TeNNoX

  1. The @SidedProxy annotation has to be directly above the proxy variable: @SidedProxy(clientSide = "net.elementarydiamonds.proxies.ClientProxy", serverSide = "net.elementarydiamonds.proxies.CommonProxy") public static CommonProxy proxy; ...
  2. We need to see your code. onBlockAdded: public void onBlockAdded(World world, int i, int j, int k) { super.onBlockAdded(world, i, j, k); TileEntityChameleon tile = (TileEntityChameleon) world.getTileEntity(i, j, k); tile.updateMaster(); } updateMaster: public void updateMaster() { int i = xCoord, j = yCoord, k = zCoord; if (side == ForgeDirection.DOWN) j--; if (side == ForgeDirection.UP) j++; if (side == ForgeDirection.NORTH) k--; if (side == ForgeDirection.EAST) i++; if (side == ForgeDirection.SOUTH) k++; if (side == ForgeDirection.WEST) i--; master = worldObj.getBlock(i, j, k); int meta = worldObj.getBlockMetadata(i, j, k); worldObj.setBlockMetadataWithNotify(xCoord, yCoord, zCoord, meta, 3); markDirty(); worldObj.markBlockForUpdate(xCoord, yCoord, zCoord); worldObj.notifyBlocksOfNeighborChange(xCoord, yCoord, zCoord, master, side.ordinal()); }
  3. At first, I am not sure which of my packets would cause the problem, would be nice if I could find that out, but I can't place Breakpoints in the Minecraft compiled code (I am also not sure if my packets ARE the problem, but I think they are) I thought, which of my packets could be so big, that it would be too big.. the only packet that came to my mind is the NBT Packet which I send when Minecraft calls getDescriptionPacket(...), because I put all NBT stuff in there. In the NBT there are 2 arrays stored, the first contains the count of items traversed per type and the second one the entityId's of the items traversed. (All this never caused an error in 1.6 or earlier, and I counted MANY items!) So my question is, Could this packet be the problem? If yes, how can I fix it? If no, how can I find out which packet is causing the problem?
  4. I don't want to be offensive in any way, but that doesn't help me... I get the same error without even saving the nbt stuff... Please please help me, ignore the nbt stuff I posted, I fixed the typo. Just look at the error and could you tell me some tip or advice on fixing that one?
  5. Sorry... Forge Version: 1.7.2-10.12.0.104 Base classes aren't modified in any way! (not sure if that's even possible with gradle?)
  6. Got this error, is this a Minecraft Bug, a Forge bug or am I doing something wrong? My Block normally works but sometimes I get this error when calling notifyBlocksOfNeighborChange()... I also got this error one time without even touching my mod Block: Forge Version: 1.7.2-10.12.0.104 Base classes aren't modified in any way! (not sure if that's even possible with gradle?)
  7. So how do I keep it under a maximum size (and how high would that be?) when I want to count all items? Another thing: Is it possible that the error is Minecraft-related, and not an error in my mod? Because at the stage where it crashes I didn't count that many items at all... Yep, thanks
  8. The value saving and loading works perfectly. It's not perfectly coded but it works. The problem I have is a different one: The error that a "Packet was larger than I expected" ... (see the error in the main post) I just put my code because I THINK it could be that the packet I create there is too large. Any other advice?
  9. After a while of playing/testing with my mod I got this exception: The only packet I send that COULD be larger that 32k is my Item counter, but the only time it sends a packet is a NBT description packet like this: Any idea how to fix that one?
  10. I would like to change the block names to something more unique because they were called something like "normal" or "corner" or "cross" in 1.6.4 and this is pretty bad for 1.7.4 I think. Is there a way to change those without being unable to load older worlds? PS: Is it right that there would be a conflict when another mod would call it's blocks "normal" or "corner etc., or isn't it?
  11. That's the solution. Thanks you very much!
  12. I think you got something wrong. The crashed occur in the real Minecraft, completely obfuscated and shit. The decompiled one in Eclipse is running perfectly fine. I could recreate the second error like this: What am I missing? some block/item registering in 1.7?
  13. I updated my Mod from 1.6.4, works fine in eclipse so I wanted to test it in a real Minecraft copy. When I try to open the creativeTab with the blocks (I only have blocks) Minecraft chrashes: When I spawn the item with /give xTeNNoXx tennox_assemblymod:normal it is rendered like an item: And when I try to place it, this error comes up:

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.