Everything posted by TeNNoX
-
Proxy - crash! Help me plz.
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; ...
-
NoClassDefFoundError: net/minecraft/world/World$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()); }
-
DecoderException: Packet was larger than I expected [1.7.2]
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?
-
DecoderException: Packet was larger than I expected [1.7.2]
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?
-
NoClassDefFoundError: net/minecraft/world/World$2
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?)
-
NoClassDefFoundError: net/minecraft/world/World$2
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?)
-
DecoderException: Packet was larger than I expected [1.7.2]
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
-
DecoderException: Packet was larger than I expected [1.7.2]
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?
-
DecoderException: Packet was larger than I expected [1.7.2]
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?
-
Possible to change BlockNames after release?
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?
-
[Solved] Block rendered as Item, crash when placed [1.7.2]
That's the solution. Thanks you very much!
-
[Solved] Block rendered as Item, crash when placed [1.7.2]
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?
-
[Solved] Block rendered as Item, crash when placed [1.7.2]
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:
IPS spam blocked by CleanTalk.