GUI error

  • I'm trying to make a GUI but if I click the block it gives me this:

    java.lang.RuntimeException: class is missing a mapping! This is a bug!

    at net.minecraft.tileentity.TileEntity.writeToNBT( ~[TileEntity.class:?]

    at [AnvilChunkLoader.class:?]

    at [AnvilChunkLoader.class:?]

    at [ChunkProviderServer.class:?]

    at [ChunkProviderServer.class:?]

    at [WorldServer.class:?]

    at net.minecraft.server.MinecraftServer.saveAllWorlds( [MinecraftServer.class:?]

    at net.minecraft.server.MinecraftServer.tick( [MinecraftServer.class:?]

    at net.minecraft.server.integrated.IntegratedServer.tick( [IntegratedServer.class:?]

    at [MinecraftServer.class:?]

    at net.minecraft.server.MinecraftServer$ [MinecraftServer$2.class:?

    and the GUI is not shown

  • You need to register your TileEntity Class so that the Chunks know which TileEntity to load from a Save File

    I don't say, your "insert whatever" is bad. I'm only showing ways for making it better.
    GregTech Website
    Patreon really helps me out. If you consider funding the development of GT, so I might be able to do it fulltime, why not?
    GregTech 6, the Main Thread, Bug Reports go here too.
    I'm also on #gt-dev on, if you don't want to make a Forum account just to contact me.
    (I'm there almost every day, when I'm at my own computer. Yes you can drop bugs and suggestions there too)