Posted February 3, 201510 yr When I place a block that has a tile entity on a server and the chunk that the block is in unloads and then loads again I get this error: [glow=red,2,300]Skipping BlockEntity with id solarPanelTileEntityLeadstone[/glow] What could possible be causing that? Please help if you know Thanks in advance!
February 3, 201510 yr 1. Post the whole log 2. Post your code for your TileEntity Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
February 3, 201510 yr Author http://pastebin.com/fgg3jqCL TileEntity code I got this log from a user: http://pastebin.com/XZVs4yZH but myself I could only get the this that I showed earlier to show up...
February 3, 201510 yr Author Sorry I forgot to mention that this happens only on server and the tile entity loses its data for some reason when the chunk that its in reloads.
February 3, 201510 yr Author I Just got a message saying that the console spam is no longer happening with the latest build I made so nvm I don't need help but still thanks for your time!
February 3, 201510 yr Author I register them in FMLPreInitializationEvent Actually the console spam doesn't happen but the tile entity still loses its data...
February 3, 201510 yr Author I just need to know which code you are asking for... @Mod.EventHandler public void preInit(FMLPreInitializationEvent event) { Config.init(event.getSuggestedConfigurationFile()); SEGameObjects.init(); SEGameObjects.registerTileEntities(); } //This is just a temporaty place for the tile entity registration. public static void registerTileEntities() { GameRegistry.registerTileEntity(TileEntitySolarPanel.class, Refs.SOLAR_PANEL_TILE); GameRegistry.registerTileEntity(TileEntitySolarPanelLeadstone.class, Refs.SOLAR_PANEL_TILE + "Leadstone"); GameRegistry.registerTileEntity(TileEntitySolarPanelHardened.class, Refs.SOLAR_PANEL_TILE + "Hardened"); GameRegistry.registerTileEntity(TileEntitySolarPanelRedstone.class, Refs.SOLAR_PANEL_TILE + "Redstone"); GameRegistry.registerTileEntity(TileEntitySolarPanelResonant.class, Refs.SOLAR_PANEL_TILE + "Resonant"); GameRegistry.registerTileEntity(TileEntitySolarPanelAdvanced.class, Refs.SOLAR_PANEL_TILE + "Advanced"); GameRegistry.registerTileEntity(TileEntitySolarPanelUltimate.class, Refs.SOLAR_PANEL_TILE + "Ultimate"); } NOTE all the tile entity classes just extrend the main TileEntitySolarPanel
February 3, 201510 yr Author http://pastebin.com/fgg3jqCL I already gave it before it extends TileEntityBase: http://pastebin.com/xB90tAum which extends vanilla TileEntity
February 4, 201510 yr If you want to have something set in your TE, just make a function like, public void set[insertvariablehere](String blah){ this.[insertvariablehere]=blah; } I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!
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.