Jump to content

[SOLVED][1.6.2] Custom GUI with textfield and Button


Graphicscore

Recommended Posts

Hello I try to make a custom GUI of my Block to give the block a "internal" name so each Block has a string that can be changed.

But first of all I just wanted to create a gui with a textfield and a button but I'm always failing, I'm new to forge and java as well and the tutorials on the forge wiki don't help me at all so I post my code here and you tell me why it is not working and what has to be changed. Tips and explanations I would really appreciate and sorry for my english I'm not a native speaker.

 

 

FastTravelMod

 

 

package org.setcore.fasttravel;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.Mod.PostInit;
import cpw.mods.fml.common.Mod.PreInit; 
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;

@Mod(modid="fasttravelmod", name="FastTravelMod", version="0.0.1")
@NetworkMod(clientSideRequired=true, serverSideRequired=false)
public class FastTravelMod
{

//BLOCKS//
public static final Block fastTravelBlock = new FastTravelBlock(500, Material.ground).setHardness(1.0f).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("FastTravelBlock").setCreativeTab(CreativeTabs.tabBlock);



@Instance("fasttravelmod")
    public static FastTravelMod instance = new FastTravelMod();
    
    // Says where the client and server 'proxy' code is loaded.
    @SidedProxy(clientSide="org.setcore.fasttravel.ClientProxy", serverSide="org.setcore.fasttravel.CommonProxy")
    public static CommonProxy proxy;
    
    @EventHandler
    public void preInit(FMLPreInitializationEvent event) {
            // Stub Method
    }
    
    @EventHandler
    public void load(FMLInitializationEvent event) {
            GameRegistry.registerBlock(fastTravelBlock, "FastTravelBlock");
            LanguageRegistry.addName(fastTravelBlock, "Travel Marker");
            NetworkRegistry.instance().registerGuiHandler(this, new GuiHandler());
    }
    
    @EventHandler
    public void postInit(FMLPostInitializationEvent event) {
            // Stub Method
    }
}

 

 

CommonProxy

 

 

package org.setcore.fasttravel;

 

import cpw.mods.fml.common.network.IGuiHandler;

import net.minecraft.entity.player.EntityPlayer;

import net.minecraft.tileentity.TileEntity;

import net.minecraft.world.World;

import net.minecraftforge.client.MinecraftForgeClient;

 

public class CommonProxy implements IGuiHandler

{

@Override

public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)

{

            return null;

}

@Override

public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)

{

 

switch(ID)

{

case 0:

return new GuiTravelMark(player);

}

 

return null;

 

}

}

 

 

ClientProxy

 

package org.setcore.fasttravel;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;

public class ClientProxy extends CommonProxy
{
@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
{

		switch(ID)
		{
		case 0:
			return new GuiTravelMark(player);

		}
		return null;

}
}

 

 

FastTravelBlock

 

package org.setcore.fasttravel;

import net.minecraft.block.Block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;

public class FastTravelBlock extends BlockContainer
{

public FastTravelBlock(int id, Material material) 
{
	super(id, material);
}


public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int i, float a, float b, float c)
{
	player.openGui(FastTravelMod.instance, 3, world, x, y, z);
	return true;

}


@Override
public TileEntity createNewTileEntity(World world) {
	return null;
}

}

 

 

GuiTravelMark

 

package org.setcore.fasttravel;

import org.lwjgl.opengl.GL11;

import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.ResourceLocation;

public class GuiTravelMark extends GuiScreen
{
public GuiTravelMark(EntityPlayer player)
{

}


private static final ResourceLocation RESOURCELOCATION = new ResourceLocation("fasttravelmod:/textures/guitravelmark/travelblockgui.png");
public final int xSizeOfTexture = 176;
public final int ySizeOfTexture = 88;
@Override
public void drawScreen(int x, int y, float f)
{
drawDefaultBackground();
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
this.mc.renderEngine.func_110577_a(RESOURCELOCATION);

int posX = (this.width - xSizeOfTexture) / 2;
int posY = (this.height - ySizeOfTexture) / 2;
drawTexturedModalRect(posX, posY, 0, 0, xSizeOfTexture, ySizeOfTexture);
super.drawScreen(x, y, f);
}


public void initGui()
{
this.buttonList.clear();

int posX = (this.width - xSizeOfTexture) / 2;
int posY = (this.height - ySizeOfTexture) / 2;

this.buttonList.add(new GuiButton(0, posX+ 40, posY + 40, 100, 20, "no use"));
}


//		this.mc.renderEngine.func_110577_a(RESOURCELOCATION);

}


 

 

GuiHandler

 

package org.setcore.fasttravel;

import net.minecraft.client.gui.inventory.GuiChest;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.ContainerChest;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityChest;
import net.minecraft.world.World;
import cpw.mods.fml.common.network.IGuiHandler;

public class GuiHandler implements IGuiHandler
{

        @Override
        public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) 
        { 
                if (ID == 3)
                {
                       return new GuiTravelMark(player); //return new ContainerForge(player.inventory, world, x, y, z);
                }

                return null;
        }

        @Override
        public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
        {
   }
                }
                if (ID == 3)
                {
                        
                }

                return null;
        }
}

 

 

And the errorlog by opening the gui :

 

Jul 28, 2013 10:19:05 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker
2013-07-28 22:19:05 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.19.789 for Minecraft 1.6.2 loading
2013-07-28 22:19:05 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_25, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
2013-07-28 22:19:05 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2013-07-28 22:19:05 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg
2013-07-28 22:19:05 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg
2013-07-28 22:19:05 [sEVERE] [ForgeModLoader] The binary patch set is missing. Things are probably about to go very wrong.
2013-07-28 22:19:05 [iNFO] [ForgeModLoader] Launching wrapped minecraft
2013-07-28 22:19:11 [iNFO] [Minecraft-Client] Setting user: Player496
2013-07-28 22:19:11 [iNFO] [Minecraft-Client] (Session ID is null)
2013-07-28 22:19:11 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0
2013-07-28 22:19:12 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default
2013-07-28 22:19:12 [iNFO] [sTDOUT] 
2013-07-28 22:19:12 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-07-28 22:19:12 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization
2013-07-28 22:19:12 [iNFO] [sTDOUT] MinecraftForge v9.10.0.789 Initialized
2013-07-28 22:19:12 [iNFO] [ForgeModLoader] MinecraftForge v9.10.0.789 Initialized
2013-07-28 22:19:12 [iNFO] [sTDOUT] Replaced 101 ore recipies
2013-07-28 22:19:12 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization
2013-07-28 22:19:12 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Louven\Desktop\forge\mcp\jars\config\logging.properties
2013-07-28 22:19:12 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2013-07-28 22:19:12 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-07-28 22:19:12 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-07-28 22:19:12 [iNFO] [ForgeModLoader] Searching C:\Users\Louven\Desktop\forge\mcp\jars\mods for mods
2013-07-28 22:19:12 [iNFO] [sTDOUT] OpenAL initialized.
2013-07-28 22:19:13 [iNFO] [sTDOUT] 
2013-07-28 22:19:14 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2013-07-28 22:19:14 [iNFO] [mcp] Activating mod mcp
2013-07-28 22:19:14 [iNFO] [FML] Activating mod FML
2013-07-28 22:19:14 [iNFO] [Forge] Activating mod Forge
2013-07-28 22:19:14 [iNFO] [fasttravelmod] Activating mod fasttravelmod
2013-07-28 22:19:14 [iNFO] [ForgeModLoader] Registering Forge Packet Handler
2013-07-28 22:19:14 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler
2013-07-28 22:19:14 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0
2013-07-28 22:19:14 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_500_FastTravelBlock.png
2013-07-28 22:19:14 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods
2013-07-28 22:19:14 [WARNING] [FastTravelMod] Mod FastTravelMod is missing a pack.mcmeta file, things may not work well
2013-07-28 22:19:14 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:FastTravelMod
2013-07-28 22:19:14 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_500_FastTravelBlock.png
2013-07-28 22:19:15 [iNFO] [sTDOUT] 
2013-07-28 22:19:15 [iNFO] [sTDOUT] SoundSystem shutting down...
2013-07-28 22:19:15 [iNFO] [sTDOUT]     Author: Paul Lamb, www.paulscode.com
2013-07-28 22:19:15 [iNFO] [sTDOUT] 
2013-07-28 22:19:15 [iNFO] [sTDOUT] 
2013-07-28 22:19:15 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-07-28 22:19:15 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-07-28 22:19:15 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-07-28 22:19:15 [iNFO] [sTDOUT] OpenAL initialized.
2013-07-28 22:19:15 [iNFO] [sTDOUT] 
2013-07-28 22:19:16 [sEVERE] [Minecraft-Client] Realms: Invalid session id
2013-07-28 22:19:30 [iNFO] [Minecraft-Server] Starting integrated minecraft server version 1.6.2
2013-07-28 22:19:30 [iNFO] [Minecraft-Server] Generating keypair
2013-07-28 22:19:31 [iNFO] [ForgeModLoader] Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@7a859a9a)
2013-07-28 22:19:31 [iNFO] [ForgeModLoader] Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@7a859a9a)
2013-07-28 22:19:31 [iNFO] [ForgeModLoader] Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@7a859a9a)
2013-07-28 22:19:31 [iNFO] [Minecraft-Server] Preparing start region for level 0
2013-07-28 22:19:31 [iNFO] [sTDOUT] loading single player
2013-07-28 22:19:31 [iNFO] [Minecraft-Server] Player496[/127.0.0.1:0] logged in with entity id 327 at (15.517739999098788, 68.0, 288.2877094913678)
2013-07-28 22:19:31 [iNFO] [Minecraft-Server] Player496 joined the game
2013-07-28 22:19:32 [iNFO] [sTDOUT] Setting up custom skins
2013-07-28 22:19:33 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Ticking memory connection
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-07-28 22:19:33 [iNFO] [sTDERR] Caused by: java.lang.ClassCastException: org.setcore.fasttravel.GuiTravelMark cannot be cast to net.minecraft.inventory.Container
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:308)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:352)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2461)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at org.setcore.fasttravel.FastTravelBlock.onBlockActivated(FastTravelBlock.java:21)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:416)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:554)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2013-07-28 22:19:33 [iNFO] [sTDERR] 	... 6 more
2013-07-28 22:19:33 [sEVERE] [Minecraft-Server] Encountered an unexpected exception ReportedException
net.minecraft.util.ReportedException: Ticking memory connection
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63)
at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.ClassCastException: org.setcore.fasttravel.GuiTravelMark cannot be cast to net.minecraft.inventory.Container
at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:308)
at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:352)
at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2461)
at org.setcore.fasttravel.FastTravelBlock.onBlockActivated(FastTravelBlock.java:21)
at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:416)
at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:554)
at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
... 6 more
2013-07-28 22:19:33 [sEVERE] [Minecraft-Server] This crash report has been saved to: C:\Users\Louven\Desktop\forge\mcp\jars\.\crash-reports\crash-2013-07-28_22.19.33-server.txt
2013-07-28 22:19:33 [iNFO] [Minecraft-Server] Stopping server
2013-07-28 22:19:33 [iNFO] [Minecraft-Server] Saving players
2013-07-28 22:19:33 [iNFO] [Minecraft-Server] Player496 left the game
2013-07-28 22:19:33 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----
2013-07-28 22:19:33 [iNFO] [sTDOUT] // I bet Cylons wouldn't have this problem.
2013-07-28 22:19:33 [iNFO] [sTDOUT] 
2013-07-28 22:19:33 [iNFO] [sTDOUT] Time: 28.07.13 22:19
2013-07-28 22:19:33 [iNFO] [sTDOUT] Description: Ticking memory connection
2013-07-28 22:19:33 [iNFO] [sTDOUT] 
2013-07-28 22:19:33 [iNFO] [sTDOUT] java.lang.ClassCastException: org.setcore.fasttravel.GuiTravelMark cannot be cast to net.minecraft.inventory.Container
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:308)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:352)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2461)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at org.setcore.fasttravel.FastTravelBlock.onBlockActivated(FastTravelBlock.java:21)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:416)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:554)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 
2013-07-28 22:19:33 [iNFO] [sTDOUT] 
2013-07-28 22:19:33 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2013-07-28 22:19:33 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------
2013-07-28 22:19:33 [iNFO] [sTDOUT] 
2013-07-28 22:19:33 [iNFO] [sTDOUT] -- Head --
2013-07-28 22:19:33 [iNFO] [sTDOUT] Stacktrace:
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:308)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:352)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2461)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at org.setcore.fasttravel.FastTravelBlock.onBlockActivated(FastTravelBlock.java:21)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:416)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:554)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 
2013-07-28 22:19:33 [iNFO] [sTDOUT] -- Ticking connection --
2013-07-28 22:19:33 [iNFO] [sTDOUT] Details:
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Connection: net.minecraft.network.NetServerHandler@4116f358
2013-07-28 22:19:33 [iNFO] [sTDOUT] Stacktrace:
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 
2013-07-28 22:19:33 [iNFO] [sTDOUT] -- System Details --
2013-07-28 22:19:33 [iNFO] [sTDOUT] Details:
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Minecraft Version: 1.6.2
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Operating System: Windows 7 (amd64) version 6.1
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Java Version: 1.7.0_25, Oracle Corporation
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Memory: 1777478688 bytes (1695 MB) / 2112618496 bytes (2014 MB) up to 4260102144 bytes (4062 MB)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	JVM Flags: 6 total; -Xincgc -Xmx1024M -Xms1024M -Xincgc -Xms2048m -Xmx4096m
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	AABB Pool Size: 5948 (333088 bytes; 0 MB) allocated, 5385 (301560 bytes; 0 MB) used
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Suspicious classes: FML and Forge are installed
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 63
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	FML: MCP v8.04 FML v6.2.19.789 Minecraft Forge 9.10.0.789 4 mods loaded, 4 mods active
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	FML{6.2.19.789} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Forge{9.10.0.789} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	fasttravelmod{0.0.1} [FastTravelMod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Profiler Position: N/A (disabled)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Vec3 Pool Size: 1357 (75992 bytes; 0 MB) allocated, 1249 (69944 bytes; 0 MB) used
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Player Count: 1 / 8; [EntityPlayerMP['Player496'/327, l='New World', x=15,52, y=68,00, z=288,29]]
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Type: Integrated Server (map_client.txt)
2013-07-28 22:19:33 [iNFO] [sTDOUT] 	Is Modded: Definitely; Client brand changed to 'fml,forge'
2013-07-28 22:19:33 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Louven\Desktop\forge\mcp\jars\.\crash-reports\crash-2013-07-28_22.19.33-server.txt
2013-07-28 22:19:33 [iNFO] [Minecraft-Server] Stopping server
2013-07-28 22:19:33 [iNFO] [Minecraft-Server] Saving players
AL lib: (EE) alc_cleanup: 1 device not closed

 

 

Thank you for helping me , LG Graphic :P

Link to comment
Share on other sites

Seems like I'm still stuck at my gui I just wanna show the gui now at all I've tried to change the code to a Container and looked at the tutorial in the wiki but now I have the error : " java.lang.ClassCastException: org.setcore.fasttravel.ContainerTravelMark cannot be cast to net.minecraft.client.gui.GuiScreen"

 

My Code so far :

 

ClientProxy

 

 

package org.setcore.fasttravel;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;

public class ClientProxy extends CommonProxy
{
@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
{

		switch(ID)
		{
		case 0:
			TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
			return new ContainerTravelMark(player.inventory, (TileEntityTravel) tileEntity);

		}
		return null;

}
}

 

 

 

CommonProxy

 

 

package org.setcore.fasttravel;

import cpw.mods.fml.common.network.IGuiHandler;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import net.minecraftforge.client.MinecraftForgeClient;

public class CommonProxy implements IGuiHandler
{
	@Override
	public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
	{
		switch(ID)
		{
		case 0:
			TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
			return new ContainerTravelMark(player.inventory, (TileEntityTravel) tileEntity);
		}

	return null;
	}
		@Override
		public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
		{

				switch(ID)
				{
				case 0:
					 TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
		             return new GuiTravelMark(player.inventory, (TileEntityTravel) tileEntity);

				}

			return null;

		}
}

 

 

 

ContainerTravelMark

 

 

package org.setcore.fasttravel;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;

public class ContainerTravelMark extends Container {

        protected TileEntityTravel tileEntity;

        public ContainerTravelMark (InventoryPlayer inventoryPlayer, TileEntityTravel te){
                tileEntity = te;

                //the Slot constructor takes the IInventory and the slot number in that it binds to
                //and the x-y coordinates it resides on-screen
                for (int i = 0; i < 3; i++) {
                        for (int j = 0; j < 3; j++) {
                                addSlotToContainer(new Slot(tileEntity, j + i * 3, 62 + j * 18, 17 + i * 18));
                        }
                }

                //commonly used vanilla code that adds the player's inventory
                bindPlayerInventory(inventoryPlayer);
        }

        @Override
        public boolean canInteractWith(EntityPlayer player) {
                return tileEntity.isUseableByPlayer(player);
        }


        protected void bindPlayerInventory(InventoryPlayer inventoryPlayer) {
                for (int i = 0; i < 3; i++) {
                        for (int j = 0; j < 9; j++) {
                                addSlotToContainer(new Slot(inventoryPlayer, j + i * 9 + 9,
                                                8 + j * 18, 84 + i * 18));
                        }
                }

                for (int i = 0; i < 9; i++) {
                        addSlotToContainer(new Slot(inventoryPlayer, i, 8 + i * 18, 142));
                }
        }

        @Override
        public ItemStack transferStackInSlot(EntityPlayer player, int slot) {
                ItemStack stack = null;
                Slot slotObject = (Slot) inventorySlots.get(slot);

                //null checks and checks if the item can be stacked (maxStackSize > 1)
                if (slotObject != null && slotObject.getHasStack()) {
                        ItemStack stackInSlot = slotObject.getStack();
                        stack = stackInSlot.copy();

                        //merges the item into player inventory since its in the tileEntity
                        if (slot < 9) {
                                if (!this.mergeItemStack(stackInSlot, 0, 35, true)) {
                                        return null;
                                }
                        }
                        //places it into the tileEntity is possible since its in the player inventory
                        else if (!this.mergeItemStack(stackInSlot, 0, 9, false)) {
                                return null;
                        }

                        if (stackInSlot.stackSize == 0) {
                                slotObject.putStack(null);
                        } else {
                                slotObject.onSlotChanged();
                        }

                        if (stackInSlot.stackSize == stack.stackSize) {
                                return null;
                        }
                        slotObject.onPickupFromSlot(player, stackInSlot);
                }
                return stack;
        }
}


 

 

 

FastTravelBlock

 

 

package org.setcore.fasttravel;

import net.minecraft.block.Block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;

public class FastTravelBlock extends BlockContainer
{

public FastTravelBlock(int id, Material material) 
{
	super(id, material);
}


public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int i, float a, float b, float c)
{
       player.openGui(FastTravelMod.instance, 0, world, x, y, z);
        return true;
}




@Override
public TileEntity createNewTileEntity(World world) {
	return null;
}

}

 

 

 

FastTravelMod

 

 

package org.setcore.fasttravel;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.Mod.PostInit;
import cpw.mods.fml.common.Mod.PreInit; 
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;

@Mod(modid="fasttravelmod", name="FastTravelMod", version="0.0.1")
@NetworkMod(clientSideRequired=true, serverSideRequired=false)
public class FastTravelMod
{

//BLOCKS//
public static final Block fastTravelBlock = new FastTravelBlock(500, Material.ground).setHardness(1.0f).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("FastTravelBlock").setCreativeTab(CreativeTabs.tabBlock);



@Instance("fasttravelmod")
    public static FastTravelMod instance = new FastTravelMod();
    
    // Says where the client and server 'proxy' code is loaded.
    @SidedProxy(clientSide="org.setcore.fasttravel.ClientProxy", serverSide="org.setcore.fasttravel.CommonProxy")
    public static CommonProxy proxy;
    
    @EventHandler
    public void preInit(FMLPreInitializationEvent event) {
            // Stub Method
    }
    
    @EventHandler
    public void load(FMLInitializationEvent event) {
            GameRegistry.registerBlock(fastTravelBlock, "FastTravelBlock");
            LanguageRegistry.addName(fastTravelBlock, "Travel Marker");
            NetworkRegistry.instance().registerGuiHandler(this, this.proxy);
    }
    
    @EventHandler
    public void postInit(FMLPostInitializationEvent event) {
            // Stub Method
    }
}

 

 

 

GuiTravelMark

 

 

package org.setcore.fasttravel;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;

import org.lwjgl.opengl.GL11;

public class GuiTravelMark extends GuiContainer {

    private static final ResourceLocation textureLocation = new ResourceLocation("fasttravelmod:textures/guitravelmark/travelblockgui.png");

public GuiTravelMark (InventoryPlayer inventoryPlayer,
                    TileEntityTravel tileEntity) {
            //the container is instanciated and passed to the superclass for handling
            super(new ContainerTravelMark(inventoryPlayer, tileEntity));
    }

    @Override
    protected void drawGuiContainerForegroundLayer(int param1, int param2) {
            //draw text and stuff here
            //the parameters for drawString are: string, x, y, color
            fontRenderer.drawString("Tiny", 8, 6, 4210752);
            //draws "Inventory" or your regional equivalent
            fontRenderer.drawString(StatCollector.translateToLocal("container.inventory"), 8, ySize - 96 + 2, 4210752);
    }

    @Override
    protected void drawGuiContainerBackgroundLayer(float par1, int par2,
                    int par3) {
            //draw your Gui here, only thing you need to change is the path
            
            this.mc.renderEngine.func_110577_a(textureLocation);
            int x = (width - xSize) / 2;
            int y = (height - ySize) / 2;
            this.drawTexturedModalRect(x, y, 0, 0, xSize, ySize);
    }

}

 

 

TileEntityTravel

 

 

package org.setcore.fasttravel;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.tileentity.TileEntity;

public class TileEntityTravel extends TileEntity implements IInventory {

        private ItemStack[] inv;

        public TileEntityTravel(){
                inv = new ItemStack[9];
        }
        
        @Override
        public int getSizeInventory() {
                return inv.length;
        }

        @Override
        public ItemStack getStackInSlot(int slot) {
                return inv[slot];
        }
        
        @Override
        public void setInventorySlotContents(int slot, ItemStack stack) {
                inv[slot] = stack;
                if (stack != null && stack.stackSize > getInventoryStackLimit()) {
                        stack.stackSize = getInventoryStackLimit();
                }               
        }

        @Override
        public ItemStack decrStackSize(int slot, int amt) {
                ItemStack stack = getStackInSlot(slot);
                if (stack != null) {
                        if (stack.stackSize <= amt) {
                                setInventorySlotContents(slot, null);
                        } else {
                                stack = stack.splitStack(amt);
                                if (stack.stackSize == 0) {
                                        setInventorySlotContents(slot, null);
                                }
                        }
                }
                return stack;
        }

        @Override
        public ItemStack getStackInSlotOnClosing(int slot) {
                ItemStack stack = getStackInSlot(slot);
                if (stack != null) {
                        setInventorySlotContents(slot, null);
                }
                return stack;
        }
        
        @Override
        public int getInventoryStackLimit() {
                return 64;
        }

        @Override
        public boolean isUseableByPlayer(EntityPlayer player) {
                return worldObj.getBlockTileEntity(xCoord, yCoord, zCoord) == this &&
                player.getDistanceSq(xCoord + 0.5, yCoord + 0.5, zCoord + 0.5) < 64;
        }

        @Override
        public void openChest() {}

        @Override
        public void closeChest() {}
        
        @Override
        public void readFromNBT(NBTTagCompound tagCompound) {
                super.readFromNBT(tagCompound);
                
                NBTTagList tagList = tagCompound.getTagList("Inventory");
                for (int i = 0; i < tagList.tagCount(); i++) {
                        NBTTagCompound tag = (NBTTagCompound) tagList.tagAt(i);
                        byte slot = tag.getByte("Slot");
                        if (slot >= 0 && slot < inv.length) {
                                inv[slot] = ItemStack.loadItemStackFromNBT(tag);
                        }
                }
        }

        @Override
        public void writeToNBT(NBTTagCompound tagCompound) {
                super.writeToNBT(tagCompound);
                                
                NBTTagList itemList = new NBTTagList();
                for (int i = 0; i < inv.length; i++) {
                        ItemStack stack = inv[i];
                        if (stack != null) {
                                NBTTagCompound tag = new NBTTagCompound();
                                tag.setByte("Slot", (byte) i);
                                stack.writeToNBT(tag);
                                itemList.appendTag(tag);
                        }
                }
                tagCompound.setTag("Inventory", itemList);
        }

                @Override
                public String getInvName() {
                        return "tco.tileentitytiny";
                }

			@Override
			public boolean isInvNameLocalized() {
				// TODO Auto-generated method stub
				return false;
			}

			@Override
			public boolean isItemValidForSlot(int i, ItemStack itemstack) {
				// TODO Auto-generated method stub
				return false;
			}



}

 

 

Link to comment
Share on other sites

I changed it now so that the server returns the container and the client returns the gui know I'm running into the following error caused by a nullpointerexception but I don't know where ...:

 

 

2013-07-29 12:28:36 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Ticking memory connection
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-07-29 12:28:36 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.inventory.Slot.getStack(Slot.java:91)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.inventory.Container.getInventory(Container.java:69)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.inventory.Container.addCraftingToCrafters(Container.java:55)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:321)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:352)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2461)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at org.setcore.fasttravel.FastTravelBlock.onBlockActivated(FastTravelBlock.java:21)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:416)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:554)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2013-07-29 12:28:36 [iNFO] [sTDERR] 	... 6 more
2013-07-29 12:28:36 [sEVERE] [Minecraft-Server] Encountered an unexpected exception ReportedException
net.minecraft.util.ReportedException: Ticking memory connection
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63)
at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NullPointerException
at net.minecraft.inventory.Slot.getStack(Slot.java:91)
at net.minecraft.inventory.Container.getInventory(Container.java:69)
at net.minecraft.inventory.Container.addCraftingToCrafters(Container.java:55)
at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:321)
at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:352)
at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2461)
at org.setcore.fasttravel.FastTravelBlock.onBlockActivated(FastTravelBlock.java:21)
at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:416)
at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:554)
at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
... 6 more
2013-07-29 12:28:36 [sEVERE] [Minecraft-Server] This crash report has been saved to: C:\Users\Louven\Desktop\forge\mcp\jars\.\crash-reports\crash-2013-07-29_12.28.36-server.txt
2013-07-29 12:28:36 [iNFO] [Minecraft-Server] Stopping server
2013-07-29 12:28:36 [iNFO] [Minecraft-Server] Saving players
2013-07-29 12:28:36 [iNFO] [Minecraft-Server] Player437 left the game
2013-07-29 12:28:36 [iNFO] [Minecraft-Server] Saving worlds
2013-07-29 12:28:36 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Overworld
2013-07-29 12:28:37 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Nether
2013-07-29 12:28:37 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/The End
2013-07-29 12:28:37 [iNFO] [ForgeModLoader] Unloading dimension 0
2013-07-29 12:28:37 [iNFO] [ForgeModLoader] Unloading dimension -1
2013-07-29 12:28:37 [iNFO] [ForgeModLoader] Unloading dimension 1
2013-07-29 12:28:37 [iNFO] [ForgeModLoader] The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
2013-07-29 12:28:37 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Rendering screen
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1045)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:934)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:826)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-07-29 12:28:37 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at net.minecraft.inventory.Slot.getStack(Slot.java:91)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:353)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:132)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036)
2013-07-29 12:28:37 [iNFO] [sTDERR] 	... 9 more
2013-07-29 12:28:37 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----
2013-07-29 12:28:37 [iNFO] [sTDOUT] // Daisy, daisy...
2013-07-29 12:28:37 [iNFO] [sTDOUT] 
2013-07-29 12:28:37 [iNFO] [sTDOUT] Time: 29.07.13 12:28
2013-07-29 12:28:37 [iNFO] [sTDOUT] Description: Rendering screen
2013-07-29 12:28:37 [iNFO] [sTDOUT] 
2013-07-29 12:28:37 [iNFO] [sTDOUT] java.lang.NullPointerException
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.inventory.Slot.getStack(Slot.java:91)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:353)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:132)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:934)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:826)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 
2013-07-29 12:28:37 [iNFO] [sTDOUT] 
2013-07-29 12:28:37 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2013-07-29 12:28:37 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------
2013-07-29 12:28:37 [iNFO] [sTDOUT] 
2013-07-29 12:28:37 [iNFO] [sTDOUT] -- Head --
2013-07-29 12:28:37 [iNFO] [sTDOUT] Stacktrace:
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.inventory.Slot.getStack(Slot.java:91)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:353)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:132)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 
2013-07-29 12:28:37 [iNFO] [sTDOUT] -- Screen render details --
2013-07-29 12:28:37 [iNFO] [sTDOUT] Details:
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Screen name: org.setcore.fasttravel.GuiTravelMark
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Mouse location: Scaled: (213, 119). Absolute: (427, 240)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
2013-07-29 12:28:37 [iNFO] [sTDOUT] 
2013-07-29 12:28:37 [iNFO] [sTDOUT] -- Affected level --
2013-07-29 12:28:37 [iNFO] [sTDOUT] Details:
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Level name: MpServer
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	All players: 1 total; [EntityClientPlayerMP['Player437'/323, l='MpServer', x=18,06, y=69,62, z=287,62]]
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Chunk stats: MultiplayerChunkCache: 265
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Level seed: 0
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Level generator: ID 00 - default, ver 1. Features enabled: false
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Level generator options: 
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Level spawn location: World: (183,64,232), Chunk: (at 7,4,8 in 11,14; contains blocks 176,0,224 to 191,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Level time: 4788 game time, 4788 day time
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Level dimension: 0
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Level storage version: 0x00000 - Unknown?
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Forced entities: 83 total; [EntityMinecartChest['entity.MinecartChest.name'/0, l='MpServer', x=-1,50, y=39,50, z=234,50], EntityCreeper['Creeper'/1, l='MpServer', x=-2,30, y=38,86, z=307,69], EntityZombie['Zombie'/2, l='MpServer', x=-2,94, y=38,38, z=311,25], EntityCreeper['Creeper'/3, l='MpServer', x=-4,34, y=38,01, z=309,38], EntityZombie['Zombie'/4, l='MpServer', x=-3,84, y=37,97, z=305,13], EntityPig['Pig'/5, l='MpServer', x=-3,06, y=66,00, z=332,06], EntityPig['Pig'/6, l='MpServer', x=-7,29, y=68,00, z=333,19], EntityPig['Pig'/7, l='MpServer', x=-6,53, y=63,00, z=349,50], EntityPig['Pig'/8, l='MpServer', x=-3,50, y=67,00, z=337,19], EntitySkeleton['Skeleton'/15, l='MpServer', x=11,88, y=42,00, z=262,50], EntitySkeleton['Skeleton'/17, l='MpServer', x=7,70, y=32,00, z=276,84], EntityCreeper['Creeper'/16, l='MpServer', x=12,59, y=41,00, z=260,59], EntityBat['Bat'/18, l='MpServer', x=11,75, y=42,10, z=284,25], EntityItem['item.item.seeds'/21, l='MpServer', x=17,16, y=63,13, z=311,47], EntitySheep['Sheep'/29, l='MpServer', x=41,50, y=63,00, z=317,38], EntityCreeper['Creeper'/31, l='MpServer', x=36,66, y=38,00, z=352,97], EntitySheep['Sheep'/30, l='MpServer', x=34,44, y=63,00, z=315,19], EntityZombie['Zombie'/32, l='MpServer', x=37,63, y=37,00, z=354,59], EntitySheep['Sheep'/39, l='MpServer', x=63,53, y=64,00, z=223,38], EntitySheep['Sheep'/42, l='MpServer', x=52,51, y=62,03, z=273,92], EntitySheep['Sheep'/43, l='MpServer', x=49,78, y=64,00, z=280,66], EntitySheep['Sheep'/40, l='MpServer', x=59,19, y=63,00, z=235,41], EntitySquid['Squid'/41, l='MpServer', x=55,54, y=56,42, z=263,27], EntitySheep['Sheep'/46, l='MpServer', x=54,50, y=65,00, z=323,50], EntitySheep['Sheep'/47, l='MpServer', x=48,16, y=64,00, z=330,88], EntitySheep['Sheep'/44, l='MpServer', x=50,16, y=63,00, z=291,44], EntitySheep['Sheep'/45, l='MpServer', x=54,13, y=65,00, z=294,44], EntitySheep['Sheep'/55, l='MpServer', x=67,84, y=63,00, z=225,47], EntityZombie['Zombie'/59, l='MpServer', x=76,44, y=44,00, z=361,00], EntitySheep['Sheep'/58, l='MpServer', x=64,34, y=63,00, z=341,91], EntityEnderman['Enderman'/57, l='MpServer', x=67,89, y=64,00, z=216,50], EntitySheep['Sheep'/56, l='MpServer', x=72,94, y=63,00, z=224,16], EntityBat['Bat'/343, l='MpServer', x=-41,47, y=40,10, z=250,88], EntitySkeleton['Skeleton'/342, l='MpServer', x=-43,72, y=52,00, z=223,75], EntityBat['Bat'/341, l='MpServer', x=-32,25, y=37,10, z=207,44], EntityBat['Bat'/70, l='MpServer', x=88,41, y=15,10, z=238,16], EntitySpider['Spider'/340, l='MpServer', x=-51,28, y=52,00, z=240,34], EntityBat['Bat'/71, l='MpServer', x=92,25, y=15,10, z=230,41], EntitySkeleton['Skeleton'/339, l='MpServer', x=-52,44, y=37,00, z=253,06], EntityCreeper['Creeper'/338, l='MpServer', x=-59,31, y=54,00, z=231,94], EntityCreeper['Creeper'/336, l='MpServer', x=-52,34, y=37,00, z=239,50], EntityZombie['Zombie'/351, l='MpServer', x=-45,13, y=39,00, z=287,38], EntitySheep['Sheep'/76, l='MpServer', x=86,75, y=70,00, z=294,53], EntityZombie['Zombie'/350, l='MpServer', x=-45,47, y=40,00, z=270,97], EntitySheep['Sheep'/77, l='MpServer', x=88,75, y=71,00, z=298,22], EntityZombie['Zombie'/349, l='MpServer', x=-41,06, y=40,00, z=269,53], EntitySheep['Sheep'/78, l='MpServer', x=92,03, y=71,00, z=301,09], EntitySkeleton['Skeleton'/348, l='MpServer', x=-42,59, y=36,00, z=258,31], EntitySheep['Sheep'/79, l='MpServer', x=81,66, y=69,00, z=294,50], EntityZombie['Zombie'/347, l='MpServer', x=-47,50, y=53,00, z=244,78], EntityBat['Bat'/72, l='MpServer', x=90,52, y=16,28, z=236,51], EntityZombie['Zombie'/346, l='MpServer', x=-46,56, y=54,00, z=244,50], EntityBat['Bat'/73, l='MpServer', x=83,60, y=14,12, z=246,52], EntityZombie['Zombie'/345, l='MpServer', x=-42,84, y=57,00, z=248,83], EntityBat['Bat'/74, l='MpServer', x=88,64, y=14,00, z=235,68], EntitySkeleton['Skeleton'/344, l='MpServer', x=-46,50, y=37,00, z=251,50], EntitySheep['Sheep'/75, l='MpServer', x=85,71, y=70,00, z=299,19], EntityZombie['Zombie'/85, l='MpServer', x=85,56, y=41,00, z=324,72], EntityMinecartChest['entity.MinecartChest.name'/84, l='MpServer', x=94,50, y=38,50, z=334,47], EntityCreeper['Creeper'/87, l='MpServer', x=85,41, y=25,00, z=351,06], EntityZombie['Zombie'/86, l='MpServer', x=86,16, y=41,00, z=327,50], EntityZombie['Zombie'/81, l='MpServer', x=85,59, y=41,00, z=316,34], EntitySkeleton['Skeleton'/80, l='MpServer', x=93,84, y=24,00, z=319,47], EntityBat['Bat'/83, l='MpServer', x=89,50, y=29,10, z=322,50], EntityZombie['Zombie'/82, l='MpServer', x=86,63, y=41,00, z=316,32], EntityZombie['Zombie'/334, l='MpServer', x=-59,38, y=22,12, z=209,70], EntityZombie['Zombie'/335, l='MpServer', x=-52,31, y=23,00, z=216,34], EntityCreeper['Creeper'/89, l='MpServer', x=93,38, y=38,00, z=336,06], EntityZombie['Zombie'/88, l='MpServer', x=83,72, y=25,00, z=347,22], EntityCreeper['Creeper'/90, l='MpServer', x=82,53, y=44,00, z=347,00], EntityBat['Bat'/101, l='MpServer', x=94,87, y=19,08, z=239,53], EntityClientPlayerMP['Player437'/323, l='MpServer', x=18,06, y=69,62, z=287,62], EntityCreeper['Creeper'/110, l='MpServer', x=97,47, y=28,00, z=311,75], EntityCreeper['Creeper'/111, l='MpServer', x=96,59, y=24,00, z=318,59], EntitySpider['Spider'/356, l='MpServer', x=-20,50, y=39,00, z=259,50], EntityBat['Bat'/357, l='MpServer', x=-25,25, y=40,10, z=265,25], EntityCreeper['Creeper'/358, l='MpServer', x=-17,06, y=36,00, z=287,00], EntitySpider['Spider'/115, l='MpServer', x=96,53, y=38,00, z=334,72], EntityBat['Bat'/352, l='MpServer', x=-25,75, y=36,10, z=212,25], EntityItem['item.tile.rail'/353, l='MpServer', x=-31,50, y=38,13, z=264,81], EntitySkeleton['Skeleton'/354, l='MpServer', x=-24,30, y=38,66, z=266,30], EntitySpider['Spider'/355, l='MpServer', x=-22,03, y=39,00, z=261,66], EntityWolf['Wolf'/123, l='MpServer', x=96,50, y=63,00, z=354,69]]
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Retry entities: 0 total; []
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Server brand: fml,forge
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Server type: Integrated singleplayer server
2013-07-29 12:28:37 [iNFO] [sTDOUT] Stacktrace:
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2298)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:844)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 
2013-07-29 12:28:37 [iNFO] [sTDOUT] -- System Details --
2013-07-29 12:28:37 [iNFO] [sTDOUT] Details:
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Minecraft Version: 1.6.2
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Operating System: Windows 7 (amd64) version 6.1
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Java Version: 1.7.0_25, Oracle Corporation
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Memory: 1978100640 bytes (1886 MB) / 2112618496 bytes (2014 MB) up to 4260102144 bytes (4062 MB)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	JVM Flags: 6 total; -Xincgc -Xmx1024M -Xms1024M -Xincgc -Xms2048m -Xmx4096m
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	AABB Pool Size: 16934 (948304 bytes; 0 MB) allocated, 1179 (66024 bytes; 0 MB) used
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Suspicious classes: FML and Forge are installed
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 63
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	FML: MCP v8.04 FML v6.2.19.789 Minecraft Forge 9.10.0.789 4 mods loaded, 4 mods active
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	FML{6.2.19.789} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Forge{9.10.0.789} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	fasttravelmod{0.0.1} [FastTravelMod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Launched Version: 1.6
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	LWJGL: 2.9.0
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	OpenGL: GeForce GTX 570/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Is Modded: Definitely; Client brand changed to 'fml,forge'
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Type: Client (map_client.txt)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Resource Pack: Default
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Current Language: English (US)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Profiler Position: N/A (disabled)
2013-07-29 12:28:37 [iNFO] [sTDOUT] 	Vec3 Pool Size: 2048 (114688 bytes; 0 MB) allocated, 312 (17472 bytes; 0 MB) used
2013-07-29 12:28:37 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Louven\Desktop\forge\mcp\jars\.\crash-reports\crash-2013-07-29_12.28.37-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed

 

Link to comment
Share on other sites

Here you go :

 

CommonProxy

 

package org.setcore.fasttravel;

import cpw.mods.fml.common.network.IGuiHandler;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import net.minecraftforge.client.MinecraftForgeClient;

public class CommonProxy implements IGuiHandler
{
	@Override
	public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
	{
		switch(ID)
		{
		case 0:
			TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
			return new GuiTravelMark(player.inventory, (TileEntityTravel) tileEntity);
		}

	return null;
	}
		@Override
		public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
		{

				switch(ID)
				{
				case 0:
					 TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
		             
		             return new ContainerTravelMark(player.inventory, (TileEntityTravel) tileEntity);

				}

			return null;

		}
}

 

 

 

ClientProxy

 

package org.setcore.fasttravel;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;

public class ClientProxy extends CommonProxy
{
@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
{

		switch(ID)
		{
		case 0:
			TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
			return new GuiTravelMark(player.inventory, (TileEntityTravel) tileEntity);

		}
		return null;

}
}

 

 

I think it has something to do with the TileEntity

Link to comment
Share on other sites

I don't know what you mean exactly but this is whole Log from the debug :

 

 

Jul 29, 2013 3:53:42 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker
2013-07-29 15:53:42 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.19.789 for Minecraft 1.6.2 loading
2013-07-29 15:53:42 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_25, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
2013-07-29 15:53:42 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2013-07-29 15:53:42 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg
2013-07-29 15:53:42 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg
2013-07-29 15:53:43 [sEVERE] [ForgeModLoader] The binary patch set is missing. Things are probably about to go very wrong.
2013-07-29 15:53:43 [iNFO] [ForgeModLoader] Launching wrapped minecraft
2013-07-29 15:53:49 [iNFO] [Minecraft-Client] Setting user: Player201
2013-07-29 15:53:49 [iNFO] [Minecraft-Client] (Session ID is null)
2013-07-29 15:53:51 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0
2013-07-29 15:53:52 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default
2013-07-29 15:53:52 [iNFO] [sTDOUT] 
2013-07-29 15:53:52 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-07-29 15:53:52 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-07-29 15:53:52 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-07-29 15:53:52 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization
2013-07-29 15:53:52 [iNFO] [sTDOUT] MinecraftForge v9.10.0.789 Initialized
2013-07-29 15:53:52 [iNFO] [ForgeModLoader] MinecraftForge v9.10.0.789 Initialized
2013-07-29 15:53:52 [iNFO] [sTDOUT] OpenAL initialized.
2013-07-29 15:53:52 [iNFO] [sTDOUT] Replaced 101 ore recipies
2013-07-29 15:53:53 [iNFO] [sTDOUT] 
2013-07-29 15:53:53 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization
2013-07-29 15:53:53 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Louven\Desktop\forge\mcp\jars\config\logging.properties
2013-07-29 15:53:53 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2013-07-29 15:53:53 [iNFO] [ForgeModLoader] Searching C:\Users\Louven\Desktop\forge\mcp\jars\mods for mods
2013-07-29 15:54:00 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2013-07-29 15:54:00 [iNFO] [mcp] Activating mod mcp
2013-07-29 15:54:00 [iNFO] [FML] Activating mod FML
2013-07-29 15:54:00 [iNFO] [Forge] Activating mod Forge
2013-07-29 15:54:00 [iNFO] [fasttravelmod] Activating mod fasttravelmod
2013-07-29 15:54:00 [iNFO] [ForgeModLoader] Registering Forge Packet Handler
2013-07-29 15:54:00 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler
2013-07-29 15:54:00 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0
2013-07-29 15:54:00 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_500_FastTravelBlock.png
2013-07-29 15:54:01 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods
2013-07-29 15:54:01 [WARNING] [FastTravelMod] Mod FastTravelMod is missing a pack.mcmeta file, things may not work well
2013-07-29 15:54:01 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:FastTravelMod
2013-07-29 15:54:01 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_500_FastTravelBlock.png
2013-07-29 15:54:01 [iNFO] [sTDOUT] 
2013-07-29 15:54:01 [iNFO] [sTDOUT] SoundSystem shutting down...
2013-07-29 15:54:01 [iNFO] [sTDOUT]     Author: Paul Lamb, www.paulscode.com
2013-07-29 15:54:01 [iNFO] [sTDOUT] 
2013-07-29 15:54:01 [iNFO] [sTDOUT] 
2013-07-29 15:54:01 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-07-29 15:54:01 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-07-29 15:54:01 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-07-29 15:54:01 [iNFO] [sTDOUT] OpenAL initialized.
2013-07-29 15:54:02 [iNFO] [sTDOUT] 
2013-07-29 15:54:02 [sEVERE] [Minecraft-Client] Realms: Invalid session id
2013-07-29 15:54:15 [iNFO] [Minecraft-Server] Starting integrated minecraft server version 1.6.2
2013-07-29 15:54:15 [iNFO] [Minecraft-Server] Generating keypair
2013-07-29 15:54:15 [iNFO] [ForgeModLoader] Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@295fb895)
2013-07-29 15:54:15 [iNFO] [ForgeModLoader] Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@295fb895)
2013-07-29 15:54:15 [iNFO] [ForgeModLoader] Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@295fb895)
2013-07-29 15:54:15 [iNFO] [Minecraft-Server] Preparing start region for level 0
2013-07-29 15:54:16 [iNFO] [sTDOUT] loading single player
2013-07-29 15:54:16 [iNFO] [Minecraft-Server] Player201[/127.0.0.1:0] logged in with entity id 323 at (18.056096138980433, 68.0, 287.61309474830915)
2013-07-29 15:54:16 [iNFO] [Minecraft-Server] Player201 joined the game
2013-07-29 15:54:16 [iNFO] [sTDOUT] Setting up custom skins
2013-07-29 15:54:20 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Ticking memory connection
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-07-29 15:54:20 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.inventory.Slot.getStack(Slot.java:91)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.inventory.Container.getInventory(Container.java:69)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.inventory.Container.addCraftingToCrafters(Container.java:55)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:321)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:352)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2461)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at org.setcore.fasttravel.FastTravelBlock.onBlockActivated(FastTravelBlock.java:21)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:416)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:554)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2013-07-29 15:54:20 [iNFO] [sTDERR] 	... 6 more
2013-07-29 15:54:20 [sEVERE] [Minecraft-Server] Encountered an unexpected exception ReportedException
net.minecraft.util.ReportedException: Ticking memory connection
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63)
at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NullPointerException
at net.minecraft.inventory.Slot.getStack(Slot.java:91)
at net.minecraft.inventory.Container.getInventory(Container.java:69)
at net.minecraft.inventory.Container.addCraftingToCrafters(Container.java:55)
at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:321)
at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:352)
at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2461)
at org.setcore.fasttravel.FastTravelBlock.onBlockActivated(FastTravelBlock.java:21)
at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:416)
at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:554)
at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
... 6 more
2013-07-29 15:54:20 [sEVERE] [Minecraft-Server] This crash report has been saved to: C:\Users\Louven\Desktop\forge\mcp\jars\.\crash-reports\crash-2013-07-29_15.54.20-server.txt
2013-07-29 15:54:20 [iNFO] [Minecraft-Server] Stopping server
2013-07-29 15:54:20 [iNFO] [Minecraft-Server] Saving players
2013-07-29 15:54:20 [iNFO] [Minecraft-Server] Player201 left the game
2013-07-29 15:54:20 [iNFO] [Minecraft-Server] Saving worlds
2013-07-29 15:54:20 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Overworld
2013-07-29 15:54:20 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Nether
2013-07-29 15:54:20 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/The End
2013-07-29 15:54:20 [iNFO] [ForgeModLoader] Unloading dimension 0
2013-07-29 15:54:20 [iNFO] [ForgeModLoader] Unloading dimension -1
2013-07-29 15:54:20 [iNFO] [ForgeModLoader] Unloading dimension 1
2013-07-29 15:54:20 [iNFO] [ForgeModLoader] The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
2013-07-29 15:54:21 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Rendering screen
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1045)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:934)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:826)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-07-29 15:54:21 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at net.minecraft.inventory.Slot.getStack(Slot.java:91)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:353)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:132)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036)
2013-07-29 15:54:21 [iNFO] [sTDERR] 	... 9 more
2013-07-29 15:54:21 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----
2013-07-29 15:54:21 [iNFO] [sTDOUT] // I'm sorry, Dave.
2013-07-29 15:54:21 [iNFO] [sTDOUT] 
2013-07-29 15:54:21 [iNFO] [sTDOUT] Time: 29.07.13 15:54
2013-07-29 15:54:21 [iNFO] [sTDOUT] Description: Rendering screen
2013-07-29 15:54:21 [iNFO] [sTDOUT] 
2013-07-29 15:54:21 [iNFO] [sTDOUT] java.lang.NullPointerException
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.inventory.Slot.getStack(Slot.java:91)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:353)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:132)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:934)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:826)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 
2013-07-29 15:54:21 [iNFO] [sTDOUT] 
2013-07-29 15:54:21 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2013-07-29 15:54:21 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------
2013-07-29 15:54:21 [iNFO] [sTDOUT] 
2013-07-29 15:54:21 [iNFO] [sTDOUT] -- Head --
2013-07-29 15:54:21 [iNFO] [sTDOUT] Stacktrace:
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.inventory.Slot.getStack(Slot.java:91)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:353)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:132)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 
2013-07-29 15:54:21 [iNFO] [sTDOUT] -- Screen render details --
2013-07-29 15:54:21 [iNFO] [sTDOUT] Details:
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Screen name: org.setcore.fasttravel.GuiTravelMark
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Mouse location: Scaled: (213, 119). Absolute: (427, 240)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
2013-07-29 15:54:21 [iNFO] [sTDOUT] 
2013-07-29 15:54:21 [iNFO] [sTDOUT] -- Affected level --
2013-07-29 15:54:21 [iNFO] [sTDOUT] Details:
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Level name: MpServer
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	All players: 1 total; [EntityClientPlayerMP['Player201'/323, l='MpServer', x=19,54, y=68,62, z=286,89]]
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Chunk stats: MultiplayerChunkCache: 345
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Level seed: 0
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Level generator: ID 00 - default, ver 1. Features enabled: false
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Level generator options: 
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Level spawn location: World: (183,64,232), Chunk: (at 7,4,8 in 11,14; contains blocks 176,0,224 to 191,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Level time: 4861 game time, 4861 day time
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Level dimension: 0
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Level storage version: 0x00000 - Unknown?
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Forced entities: 83 total; [EntityMinecartChest['entity.MinecartChest.name'/0, l='MpServer', x=-1,50, y=39,50, z=234,50], EntityCreeper['Creeper'/1, l='MpServer', x=-1,68, y=38,04, z=306,34], EntityZombie['Zombie'/2, l='MpServer', x=-3,32, y=38,25, z=310,62], EntityCreeper['Creeper'/3, l='MpServer', x=-4,33, y=38,04, z=309,64], EntityZombie['Zombie'/4, l='MpServer', x=-3,84, y=37,88, z=305,13], EntityPig['Pig'/5, l='MpServer', x=-3,06, y=66,00, z=332,06], EntityPig['Pig'/6, l='MpServer', x=-7,97, y=68,00, z=333,09], EntityPig['Pig'/7, l='MpServer', x=-9,31, y=63,00, z=353,88], EntityPig['Pig'/8, l='MpServer', x=-3,50, y=67,00, z=337,19], EntitySkeleton['Skeleton'/15, l='MpServer', x=11,88, y=42,00, z=262,50], EntitySkeleton['Skeleton'/17, l='MpServer', x=7,69, y=32,43, z=276,84], EntityCreeper['Creeper'/16, l='MpServer', x=12,59, y=41,00, z=260,59], EntityBat['Bat'/18, l='MpServer', x=11,75, y=42,10, z=284,25], EntityItem['item.item.seeds'/21, l='MpServer', x=17,19, y=63,13, z=311,47], EntitySheep['Sheep'/29, l='MpServer', x=41,50, y=63,00, z=317,38], EntityCreeper['Creeper'/31, l='MpServer', x=37,00, y=38,00, z=352,31], EntitySheep['Sheep'/30, l='MpServer', x=31,51, y=63,00, z=315,20], EntityZombie['Zombie'/32, l='MpServer', x=36,31, y=38,00, z=353,16], EntitySheep['Sheep'/39, l='MpServer', x=65,20, y=64,00, z=220,14], EntitySheep['Sheep'/42, l='MpServer', x=52,50, y=62,10, z=274,03], EntitySheep['Sheep'/43, l='MpServer', x=49,19, y=64,00, z=280,34], EntitySheep['Sheep'/40, l='MpServer', x=59,19, y=63,00, z=235,41], EntitySquid['Squid'/41, l='MpServer', x=55,77, y=56,00, z=262,58], EntitySheep['Sheep'/46, l='MpServer', x=54,50, y=65,00, z=323,50], EntitySheep['Sheep'/47, l='MpServer', x=48,16, y=64,00, z=330,88], EntitySheep['Sheep'/44, l='MpServer', x=52,32, y=64,06, z=290,53], EntitySheep['Sheep'/45, l='MpServer', x=54,13, y=65,00, z=294,44], EntityEnderman['Enderman'/55, l='MpServer', x=68,31, y=64,00, z=216,50], EntityZombie['Zombie'/59, l='MpServer', x=76,44, y=44,00, z=361,00], EntitySheep['Sheep'/58, l='MpServer', x=64,34, y=63,00, z=341,91], EntitySheep['Sheep'/57, l='MpServer', x=72,94, y=63,00, z=224,16], EntitySheep['Sheep'/56, l='MpServer', x=67,84, y=63,00, z=225,47], EntityBat['Bat'/343, l='MpServer', x=-41,47, y=40,10, z=250,88], EntitySkeleton['Skeleton'/342, l='MpServer', x=-43,72, y=52,00, z=223,75], EntityBat['Bat'/70, l='MpServer', x=88,41, y=15,10, z=238,16], EntitySpider['Spider'/340, l='MpServer', x=-51,28, y=52,00, z=240,34], EntityBat['Bat'/71, l='MpServer', x=92,25, y=15,10, z=230,41], EntitySkeleton['Skeleton'/339, l='MpServer', x=-52,44, y=37,00, z=253,06], EntityCreeper['Creeper'/338, l='MpServer', x=-57,42, y=54,00, z=233,28], EntityCreeper['Creeper'/336, l='MpServer', x=-52,32, y=37,00, z=239,61], EntityZombie['Zombie'/351, l='MpServer', x=-46,13, y=39,00, z=290,41], EntitySheep['Sheep'/76, l='MpServer', x=82,04, y=70,00, z=300,81], EntityZombie['Zombie'/350, l='MpServer', x=-45,47, y=40,00, z=270,97], EntitySheep['Sheep'/77, l='MpServer', x=86,75, y=70,00, z=294,53], EntityZombie['Zombie'/349, l='MpServer', x=-41,06, y=40,00, z=269,53], EntitySheep['Sheep'/78, l='MpServer', x=88,75, y=71,00, z=298,22], EntitySkeleton['Skeleton'/348, l='MpServer', x=-42,59, y=36,00, z=258,31], EntitySheep['Sheep'/79, l='MpServer', x=92,03, y=71,00, z=301,09], EntityZombie['Zombie'/347, l='MpServer', x=-49,25, y=53,00, z=246,22], EntityBat['Bat'/72, l='MpServer', x=90,57, y=14,96, z=235,45], EntityBat['Bat'/73, l='MpServer', x=90,58, y=16,66, z=237,48], EntityZombie['Zombie'/346, l='MpServer', x=-46,56, y=54,00, z=244,50], EntityZombie['Zombie'/345, l='MpServer', x=-43,28, y=57,00, z=248,59], EntityBat['Bat'/74, l='MpServer', x=90,30, y=14,47, z=232,72], EntitySkeleton['Skeleton'/344, l='MpServer', x=-46,50, y=37,00, z=251,50], EntityBat['Bat'/75, l='MpServer', x=84,51, y=14,88, z=245,94], EntityMinecartChest['entity.MinecartChest.name'/85, l='MpServer', x=94,50, y=38,50, z=334,50], EntityBat['Bat'/84, l='MpServer', x=89,50, y=29,10, z=322,50], EntityZombie['Zombie'/87, l='MpServer', x=88,78, y=40,00, z=325,47], EntityZombie['Zombie'/86, l='MpServer', x=85,56, y=41,00, z=324,72], EntitySkeleton['Skeleton'/81, l='MpServer', x=93,81, y=24,00, z=319,46], EntitySheep['Sheep'/80, l='MpServer', x=81,66, y=69,00, z=294,50], EntityZombie['Zombie'/83, l='MpServer', x=86,63, y=41,00, z=315,66], EntityZombie['Zombie'/82, l='MpServer', x=85,59, y=41,00, z=316,34], EntityZombie['Zombie'/334, l='MpServer', x=-59,38, y=22,02, z=209,70], EntityZombie['Zombie'/335, l='MpServer', x=-52,31, y=23,00, z=216,34], EntityZombie['Zombie'/89, l='MpServer', x=83,72, y=25,00, z=347,22], EntityCreeper['Creeper'/88, l='MpServer', x=85,41, y=25,00, z=351,06], EntityCreeper['Creeper'/91, l='MpServer', x=82,53, y=44,00, z=347,00], EntityCreeper['Creeper'/90, l='MpServer', x=93,38, y=38,00, z=336,06], EntityClientPlayerMP['Player201'/323, l='MpServer', x=19,54, y=68,62, z=286,89], EntityCreeper['Creeper'/110, l='MpServer', x=97,47, y=28,00, z=311,75], EntityCreeper['Creeper'/111, l='MpServer', x=96,59, y=24,00, z=318,59], EntitySpider['Spider'/356, l='MpServer', x=-20,50, y=39,00, z=259,50], EntityBat['Bat'/357, l='MpServer', x=-25,25, y=40,10, z=265,25], EntityCreeper['Creeper'/358, l='MpServer', x=-17,06, y=36,00, z=287,00], EntityBat['Bat'/352, l='MpServer', x=-25,75, y=36,10, z=212,25], EntitySpider['Spider'/114, l='MpServer', x=96,53, y=38,00, z=334,72], EntityItem['item.tile.rail'/353, l='MpServer', x=-31,47, y=38,13, z=264,81], EntitySheep['Sheep'/113, l='MpServer', x=97,60, y=72,00, z=301,03], EntitySkeleton['Skeleton'/354, l='MpServer', x=-24,30, y=38,02, z=266,30], EntitySpider['Spider'/355, l='MpServer', x=-22,03, y=39,00, z=261,66], EntityWolf['Wolf'/122, l='MpServer', x=96,50, y=63,00, z=354,69]]
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Retry entities: 0 total; []
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Server brand: fml,forge
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Server type: Integrated singleplayer server
2013-07-29 15:54:21 [iNFO] [sTDOUT] Stacktrace:
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2298)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:844)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 
2013-07-29 15:54:21 [iNFO] [sTDOUT] -- System Details --
2013-07-29 15:54:21 [iNFO] [sTDOUT] Details:
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Minecraft Version: 1.6.2
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Operating System: Windows 7 (amd64) version 6.1
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Java Version: 1.7.0_25, Oracle Corporation
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Memory: 1751757312 bytes (1670 MB) / 2112618496 bytes (2014 MB) up to 4260102144 bytes (4062 MB)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	JVM Flags: 6 total; -Xincgc -Xmx1024M -Xms1024M -Xincgc -Xms2048m -Xmx4096m
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	AABB Pool Size: 16934 (948304 bytes; 0 MB) allocated, 1174 (65744 bytes; 0 MB) used
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Suspicious classes: FML and Forge are installed
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	FML: MCP v8.04 FML v6.2.19.789 Minecraft Forge 9.10.0.789 4 mods loaded, 4 mods active
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	FML{6.2.19.789} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Forge{9.10.0.789} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	fasttravelmod{0.0.1} [FastTravelMod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Launched Version: 1.6
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	LWJGL: 2.9.0
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	OpenGL: GeForce GTX 570/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Is Modded: Definitely; Client brand changed to 'fml,forge'
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Type: Client (map_client.txt)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Resource Pack: Default
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Current Language: English (US)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Profiler Position: N/A (disabled)
2013-07-29 15:54:21 [iNFO] [sTDOUT] 	Vec3 Pool Size: 1614 (90384 bytes; 0 MB) allocated, 348 (19488 bytes; 0 MB) used
2013-07-29 15:54:21 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Louven\Desktop\forge\mcp\jars\.\crash-reports\crash-2013-07-29_15.54.21-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed

 

 

 

And I've got 2 crash reports as files :

 

 

---- Minecraft Crash Report ----
// Oops.

Time: 29.07.13 15:54
Description: Ticking memory connection

java.lang.NullPointerException
at net.minecraft.inventory.Slot.getStack(Slot.java:91)
at net.minecraft.inventory.Container.getInventory(Container.java:69)
at net.minecraft.inventory.Container.addCraftingToCrafters(Container.java:55)
at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:321)
at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:352)
at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2461)
at org.setcore.fasttravel.FastTravelBlock.onBlockActivated(FastTravelBlock.java:21)
at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:416)
at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:554)
at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at net.minecraft.inventory.Slot.getStack(Slot.java:91)
at net.minecraft.inventory.Container.getInventory(Container.java:69)
at net.minecraft.inventory.Container.addCraftingToCrafters(Container.java:55)
at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:321)
at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:352)
at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2461)
at org.setcore.fasttravel.FastTravelBlock.onBlockActivated(FastTravelBlock.java:21)
at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:416)
at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:554)
at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)

-- Ticking connection --
Details:
Connection: net.minecraft.network.NetServerHandler@36844406
Stacktrace:
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)

-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1769343824 bytes (1687 MB) / 2112618496 bytes (2014 MB) up to 4260102144 bytes (4062 MB)
JVM Flags: 6 total; -Xincgc -Xmx1024M -Xms1024M -Xincgc -Xms2048m -Xmx4096m
AABB Pool Size: 5647 (316232 bytes; 0 MB) allocated, 5245 (293720 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v8.04 FML v6.2.19.789 Minecraft Forge 9.10.0.789 4 mods loaded, 4 mods active
mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{6.2.19.789} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{9.10.0.789} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
fasttravelmod{0.0.1} [FastTravelMod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 1512 (84672 bytes; 0 MB) allocated, 1465 (82040 bytes; 0 MB) used
Player Count: 1 / 8; [EntityPlayerMP['Player201'/323, l='New World', x=19,53, y=67,00, z=286,89]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'

 

 

 

---- Minecraft Crash Report ----
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]

Time: 29.07.13 15:54
Description: Rendering screen

java.lang.NullPointerException
at net.minecraft.inventory.Slot.getStack(Slot.java:91)
at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:353)
at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:132)
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:934)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:826)
at net.minecraft.client.main.Main.main(Main.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at net.minecraft.inventory.Slot.getStack(Slot.java:91)
at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:353)
at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:132)

-- Screen render details --
Details:
Screen name: org.setcore.fasttravel.GuiTravelMark
Mouse location: Scaled: (213, 119). Absolute: (427, 240)
Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player201'/323, l='MpServer', x=19,54, y=68,62, z=286,89]]
Chunk stats: MultiplayerChunkCache: 345
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options: 
Level spawn location: World: (183,64,232), Chunk: (at 7,4,8 in 11,14; contains blocks 176,0,224 to 191,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 4861 game time, 4861 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 83 total; [EntityMinecartChest['entity.MinecartChest.name'/0, l='MpServer', x=-1,50, y=39,50, z=234,50], EntityCreeper['Creeper'/1, l='MpServer', x=-1,68, y=38,04, z=306,34], EntityZombie['Zombie'/2, l='MpServer', x=-3,32, y=38,25, z=310,62], EntityCreeper['Creeper'/3, l='MpServer', x=-4,33, y=38,04, z=309,64], EntityZombie['Zombie'/4, l='MpServer', x=-3,84, y=37,88, z=305,13], EntityPig['Pig'/5, l='MpServer', x=-3,06, y=66,00, z=332,06], EntityPig['Pig'/6, l='MpServer', x=-7,97, y=68,00, z=333,09], EntityPig['Pig'/7, l='MpServer', x=-9,31, y=63,00, z=353,88], EntityPig['Pig'/8, l='MpServer', x=-3,50, y=67,00, z=337,19], EntitySkeleton['Skeleton'/15, l='MpServer', x=11,88, y=42,00, z=262,50], EntitySkeleton['Skeleton'/17, l='MpServer', x=7,69, y=32,43, z=276,84], EntityCreeper['Creeper'/16, l='MpServer', x=12,59, y=41,00, z=260,59], EntityBat['Bat'/18, l='MpServer', x=11,75, y=42,10, z=284,25], EntityItem['item.item.seeds'/21, l='MpServer', x=17,19, y=63,13, z=311,47], EntitySheep['Sheep'/29, l='MpServer', x=41,50, y=63,00, z=317,38], EntityCreeper['Creeper'/31, l='MpServer', x=37,00, y=38,00, z=352,31], EntitySheep['Sheep'/30, l='MpServer', x=31,51, y=63,00, z=315,20], EntityZombie['Zombie'/32, l='MpServer', x=36,31, y=38,00, z=353,16], EntitySheep['Sheep'/39, l='MpServer', x=65,20, y=64,00, z=220,14], EntitySheep['Sheep'/42, l='MpServer', x=52,50, y=62,10, z=274,03], EntitySheep['Sheep'/43, l='MpServer', x=49,19, y=64,00, z=280,34], EntitySheep['Sheep'/40, l='MpServer', x=59,19, y=63,00, z=235,41], EntitySquid['Squid'/41, l='MpServer', x=55,77, y=56,00, z=262,58], EntitySheep['Sheep'/46, l='MpServer', x=54,50, y=65,00, z=323,50], EntitySheep['Sheep'/47, l='MpServer', x=48,16, y=64,00, z=330,88], EntitySheep['Sheep'/44, l='MpServer', x=52,32, y=64,06, z=290,53], EntitySheep['Sheep'/45, l='MpServer', x=54,13, y=65,00, z=294,44], EntityEnderman['Enderman'/55, l='MpServer', x=68,31, y=64,00, z=216,50], EntityZombie['Zombie'/59, l='MpServer', x=76,44, y=44,00, z=361,00], EntitySheep['Sheep'/58, l='MpServer', x=64,34, y=63,00, z=341,91], EntitySheep['Sheep'/57, l='MpServer', x=72,94, y=63,00, z=224,16], EntitySheep['Sheep'/56, l='MpServer', x=67,84, y=63,00, z=225,47], EntityBat['Bat'/343, l='MpServer', x=-41,47, y=40,10, z=250,88], EntitySkeleton['Skeleton'/342, l='MpServer', x=-43,72, y=52,00, z=223,75], EntityBat['Bat'/70, l='MpServer', x=88,41, y=15,10, z=238,16], EntitySpider['Spider'/340, l='MpServer', x=-51,28, y=52,00, z=240,34], EntityBat['Bat'/71, l='MpServer', x=92,25, y=15,10, z=230,41], EntitySkeleton['Skeleton'/339, l='MpServer', x=-52,44, y=37,00, z=253,06], EntityCreeper['Creeper'/338, l='MpServer', x=-57,42, y=54,00, z=233,28], EntityCreeper['Creeper'/336, l='MpServer', x=-52,32, y=37,00, z=239,61], EntityZombie['Zombie'/351, l='MpServer', x=-46,13, y=39,00, z=290,41], EntitySheep['Sheep'/76, l='MpServer', x=82,04, y=70,00, z=300,81], EntityZombie['Zombie'/350, l='MpServer', x=-45,47, y=40,00, z=270,97], EntitySheep['Sheep'/77, l='MpServer', x=86,75, y=70,00, z=294,53], EntityZombie['Zombie'/349, l='MpServer', x=-41,06, y=40,00, z=269,53], EntitySheep['Sheep'/78, l='MpServer', x=88,75, y=71,00, z=298,22], EntitySkeleton['Skeleton'/348, l='MpServer', x=-42,59, y=36,00, z=258,31], EntitySheep['Sheep'/79, l='MpServer', x=92,03, y=71,00, z=301,09], EntityZombie['Zombie'/347, l='MpServer', x=-49,25, y=53,00, z=246,22], EntityBat['Bat'/72, l='MpServer', x=90,57, y=14,96, z=235,45], EntityBat['Bat'/73, l='MpServer', x=90,58, y=16,66, z=237,48], EntityZombie['Zombie'/346, l='MpServer', x=-46,56, y=54,00, z=244,50], EntityZombie['Zombie'/345, l='MpServer', x=-43,28, y=57,00, z=248,59], EntityBat['Bat'/74, l='MpServer', x=90,30, y=14,47, z=232,72], EntitySkeleton['Skeleton'/344, l='MpServer', x=-46,50, y=37,00, z=251,50], EntityBat['Bat'/75, l='MpServer', x=84,51, y=14,88, z=245,94], EntityMinecartChest['entity.MinecartChest.name'/85, l='MpServer', x=94,50, y=38,50, z=334,50], EntityBat['Bat'/84, l='MpServer', x=89,50, y=29,10, z=322,50], EntityZombie['Zombie'/87, l='MpServer', x=88,78, y=40,00, z=325,47], EntityZombie['Zombie'/86, l='MpServer', x=85,56, y=41,00, z=324,72], EntitySkeleton['Skeleton'/81, l='MpServer', x=93,81, y=24,00, z=319,46], EntitySheep['Sheep'/80, l='MpServer', x=81,66, y=69,00, z=294,50], EntityZombie['Zombie'/83, l='MpServer', x=86,63, y=41,00, z=315,66], EntityZombie['Zombie'/82, l='MpServer', x=85,59, y=41,00, z=316,34], EntityZombie['Zombie'/334, l='MpServer', x=-59,38, y=22,02, z=209,70], EntityZombie['Zombie'/335, l='MpServer', x=-52,31, y=23,00, z=216,34], EntityZombie['Zombie'/89, l='MpServer', x=83,72, y=25,00, z=347,22], EntityCreeper['Creeper'/88, l='MpServer', x=85,41, y=25,00, z=351,06], EntityCreeper['Creeper'/91, l='MpServer', x=82,53, y=44,00, z=347,00], EntityCreeper['Creeper'/90, l='MpServer', x=93,38, y=38,00, z=336,06], EntityClientPlayerMP['Player201'/323, l='MpServer', x=19,54, y=68,62, z=286,89], EntityCreeper['Creeper'/110, l='MpServer', x=97,47, y=28,00, z=311,75], EntityCreeper['Creeper'/111, l='MpServer', x=96,59, y=24,00, z=318,59], EntitySpider['Spider'/356, l='MpServer', x=-20,50, y=39,00, z=259,50], EntityBat['Bat'/357, l='MpServer', x=-25,25, y=40,10, z=265,25], EntityCreeper['Creeper'/358, l='MpServer', x=-17,06, y=36,00, z=287,00], EntityBat['Bat'/352, l='MpServer', x=-25,75, y=36,10, z=212,25], EntitySpider['Spider'/114, l='MpServer', x=96,53, y=38,00, z=334,72], EntityItem['item.tile.rail'/353, l='MpServer', x=-31,47, y=38,13, z=264,81], EntitySheep['Sheep'/113, l='MpServer', x=97,60, y=72,00, z=301,03], EntitySkeleton['Skeleton'/354, l='MpServer', x=-24,30, y=38,02, z=266,30], EntitySpider['Spider'/355, l='MpServer', x=-22,03, y=39,00, z=261,66], EntityWolf['Wolf'/122, l='MpServer', x=96,50, y=63,00, z=354,69]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2298)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:844)
at net.minecraft.client.main.Main.main(Main.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)

-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1751757312 bytes (1670 MB) / 2112618496 bytes (2014 MB) up to 4260102144 bytes (4062 MB)
JVM Flags: 6 total; -Xincgc -Xmx1024M -Xms1024M -Xincgc -Xms2048m -Xmx4096m
AABB Pool Size: 16934 (948304 bytes; 0 MB) allocated, 1174 (65744 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v8.04 FML v6.2.19.789 Minecraft Forge 9.10.0.789 4 mods loaded, 4 mods active
mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{6.2.19.789} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{9.10.0.789} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
fasttravelmod{0.0.1} [FastTravelMod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Launched Version: 1.6
LWJGL: 2.9.0
OpenGL: GeForce GTX 570/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 1614 (90384 bytes; 0 MB) allocated, 348 (19488 bytes; 0 MB) used

 

Link to comment
Share on other sites

java.lang.NullPointerException

at net.minecraft.inventory.Slot.getStack(Slot.java:91)

at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:353)

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:132)

 

basicly its telling you that its trying to draw an item on the screen the a Slot return null and it isnt expecting that

 

@Override
public TileEntity createNewTileEntity(World world) {
	return null;
}

 

thsi should be returning a new TileEntityTravel, because if you dont you will never create your tile entity.

 

 

also add thsi to your block because else it will never even ASK to create a new tile entity

 

@Override
public boolean hasTileEntity(int meta) {
	return true;
}

those bugs are kinda shitty becasue they tell you something but the root cause is totally not there

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Link to comment
Share on other sites

I'm going to die for this mod  ::)

 

So I changed my FastTravelBlock to

 

 

package org.setcore.fasttravel;

import net.minecraft.block.Block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import org.setcore.fasttravel.TileEntityTravel;

import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;

public class FastTravelBlock extends BlockContainer
{

public FastTravelBlock(int id, Material material) 
{
	super(id, material);
}


public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int i, float a, float b, float c)
{
       player.openGui(FastTravelMod.instance, 0, world, x, y, z);
        return true;
}

@Override
public boolean hasTileEntity(int meta) {
		return true;
	}

@Override
public TileEntity createNewTileEntity(World world) {
	TileEntityTravel te = null;  // Don't know what the fuck to do here ....!?
	return te;
}

}

 

 

But I don't know what to do in createNewTileEntity....

 

My errorlog but it's seems like it's about the same

 

 

Jul 29, 2013 4:09:13 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker
2013-07-29 16:09:13 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.19.789 for Minecraft 1.6.2 loading
2013-07-29 16:09:13 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_25, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
2013-07-29 16:09:13 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2013-07-29 16:09:13 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg
2013-07-29 16:09:14 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg
2013-07-29 16:09:14 [sEVERE] [ForgeModLoader] The binary patch set is missing. Things are probably about to go very wrong.
2013-07-29 16:09:14 [iNFO] [ForgeModLoader] Launching wrapped minecraft
2013-07-29 16:09:20 [iNFO] [Minecraft-Client] Setting user: Player402
2013-07-29 16:09:20 [iNFO] [Minecraft-Client] (Session ID is null)
2013-07-29 16:09:20 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0
2013-07-29 16:09:21 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default
2013-07-29 16:09:21 [iNFO] [sTDOUT] 
2013-07-29 16:09:21 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-07-29 16:09:21 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization
2013-07-29 16:09:21 [iNFO] [sTDOUT] MinecraftForge v9.10.0.789 Initialized
2013-07-29 16:09:21 [iNFO] [ForgeModLoader] MinecraftForge v9.10.0.789 Initialized
2013-07-29 16:09:21 [iNFO] [sTDOUT] Replaced 101 ore recipies
2013-07-29 16:09:21 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization
2013-07-29 16:09:21 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Louven\Desktop\forge\mcp\jars\config\logging.properties
2013-07-29 16:09:21 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2013-07-29 16:09:21 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-07-29 16:09:21 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-07-29 16:09:21 [iNFO] [ForgeModLoader] Searching C:\Users\Louven\Desktop\forge\mcp\jars\mods for mods
2013-07-29 16:09:22 [iNFO] [sTDOUT] OpenAL initialized.
2013-07-29 16:09:22 [iNFO] [sTDOUT] 
2013-07-29 16:09:23 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2013-07-29 16:09:23 [iNFO] [mcp] Activating mod mcp
2013-07-29 16:09:23 [iNFO] [FML] Activating mod FML
2013-07-29 16:09:23 [iNFO] [Forge] Activating mod Forge
2013-07-29 16:09:23 [iNFO] [fasttravelmod] Activating mod fasttravelmod
2013-07-29 16:09:23 [iNFO] [ForgeModLoader] Registering Forge Packet Handler
2013-07-29 16:09:23 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler
2013-07-29 16:09:23 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0
2013-07-29 16:09:23 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_500_FastTravelBlock.png
2013-07-29 16:09:24 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods
2013-07-29 16:09:24 [WARNING] [FastTravelMod] Mod FastTravelMod is missing a pack.mcmeta file, things may not work well
2013-07-29 16:09:24 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:FastTravelMod
2013-07-29 16:09:24 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_500_FastTravelBlock.png
2013-07-29 16:09:24 [iNFO] [sTDOUT] 
2013-07-29 16:09:24 [iNFO] [sTDOUT] SoundSystem shutting down...
2013-07-29 16:09:24 [iNFO] [sTDOUT]     Author: Paul Lamb, www.paulscode.com
2013-07-29 16:09:24 [iNFO] [sTDOUT] 
2013-07-29 16:09:24 [iNFO] [sTDOUT] 
2013-07-29 16:09:24 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-07-29 16:09:24 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-07-29 16:09:24 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-07-29 16:09:24 [iNFO] [sTDOUT] OpenAL initialized.
2013-07-29 16:09:25 [iNFO] [sTDOUT] 
2013-07-29 16:09:25 [sEVERE] [Minecraft-Client] Realms: Invalid session id
2013-07-29 16:09:30 [iNFO] [Minecraft-Server] Starting integrated minecraft server version 1.6.2
2013-07-29 16:09:30 [iNFO] [Minecraft-Server] Generating keypair
2013-07-29 16:09:31 [iNFO] [ForgeModLoader] Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@6738ba51)
2013-07-29 16:09:31 [iNFO] [ForgeModLoader] Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@6738ba51)
2013-07-29 16:09:31 [iNFO] [ForgeModLoader] Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@6738ba51)
2013-07-29 16:09:31 [iNFO] [Minecraft-Server] Preparing start region for level 0
2013-07-29 16:09:32 [iNFO] [sTDOUT] loading single player
2013-07-29 16:09:32 [iNFO] [Minecraft-Server] Player402[/127.0.0.1:0] logged in with entity id 323 at (19.53130895767393, 67.0, 286.8898876945851)
2013-07-29 16:09:32 [iNFO] [Minecraft-Server] Player402 joined the game
2013-07-29 16:09:32 [iNFO] [sTDOUT] Setting up custom skins
2013-07-29 16:09:33 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Ticking memory connection
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-07-29 16:09:33 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.inventory.Slot.getStack(Slot.java:91)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.inventory.Container.getInventory(Container.java:69)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.inventory.Container.addCraftingToCrafters(Container.java:55)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:321)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:352)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2461)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at org.setcore.fasttravel.FastTravelBlock.onBlockActivated(FastTravelBlock.java:23)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:416)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:554)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2013-07-29 16:09:33 [iNFO] [sTDERR] 	... 6 more
2013-07-29 16:09:33 [sEVERE] [Minecraft-Server] Encountered an unexpected exception ReportedException
net.minecraft.util.ReportedException: Ticking memory connection
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63)
at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NullPointerException
at net.minecraft.inventory.Slot.getStack(Slot.java:91)
at net.minecraft.inventory.Container.getInventory(Container.java:69)
at net.minecraft.inventory.Container.addCraftingToCrafters(Container.java:55)
at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:321)
at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:352)
at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2461)
at org.setcore.fasttravel.FastTravelBlock.onBlockActivated(FastTravelBlock.java:23)
at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:416)
at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:554)
at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
... 6 more
2013-07-29 16:09:33 [sEVERE] [Minecraft-Server] This crash report has been saved to: C:\Users\Louven\Desktop\forge\mcp\jars\.\crash-reports\crash-2013-07-29_16.09.33-server.txt
2013-07-29 16:09:33 [iNFO] [Minecraft-Server] Stopping server
2013-07-29 16:09:33 [iNFO] [Minecraft-Server] Saving players
2013-07-29 16:09:33 [iNFO] [Minecraft-Server] Player402 left the game
2013-07-29 16:09:33 [iNFO] [Minecraft-Server] Saving worlds
2013-07-29 16:09:33 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Overworld
2013-07-29 16:09:33 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Nether
2013-07-29 16:09:33 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/The End
2013-07-29 16:09:34 [iNFO] [ForgeModLoader] Unloading dimension 0
2013-07-29 16:09:34 [iNFO] [ForgeModLoader] Unloading dimension -1
2013-07-29 16:09:34 [iNFO] [ForgeModLoader] Unloading dimension 1
2013-07-29 16:09:34 [iNFO] [ForgeModLoader] The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
2013-07-29 16:09:34 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Rendering screen
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1045)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:934)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:826)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-07-29 16:09:34 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at net.minecraft.inventory.Slot.getStack(Slot.java:91)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:353)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:132)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036)
2013-07-29 16:09:34 [iNFO] [sTDERR] 	... 9 more
2013-07-29 16:09:34 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----
2013-07-29 16:09:34 [iNFO] [sTDOUT] // Don't be sad, have a hug! <3
2013-07-29 16:09:34 [iNFO] [sTDOUT] 
2013-07-29 16:09:34 [iNFO] [sTDOUT] Time: 29.07.13 16:09
2013-07-29 16:09:34 [iNFO] [sTDOUT] Description: Rendering screen
2013-07-29 16:09:34 [iNFO] [sTDOUT] 
2013-07-29 16:09:34 [iNFO] [sTDOUT] java.lang.NullPointerException
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.inventory.Slot.getStack(Slot.java:91)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:353)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:132)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:934)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:826)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 
2013-07-29 16:09:34 [iNFO] [sTDOUT] 
2013-07-29 16:09:34 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2013-07-29 16:09:34 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------
2013-07-29 16:09:34 [iNFO] [sTDOUT] 
2013-07-29 16:09:34 [iNFO] [sTDOUT] -- Head --
2013-07-29 16:09:34 [iNFO] [sTDOUT] Stacktrace:
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.inventory.Slot.getStack(Slot.java:91)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory(GuiContainer.java:353)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:132)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 
2013-07-29 16:09:34 [iNFO] [sTDOUT] -- Screen render details --
2013-07-29 16:09:34 [iNFO] [sTDOUT] Details:
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Screen name: org.setcore.fasttravel.GuiTravelMark
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Mouse location: Scaled: (213, 119). Absolute: (427, 240)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
2013-07-29 16:09:34 [iNFO] [sTDOUT] 
2013-07-29 16:09:34 [iNFO] [sTDOUT] -- Affected level --
2013-07-29 16:09:34 [iNFO] [sTDOUT] Details:
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Level name: MpServer
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	All players: 1 total; [EntityClientPlayerMP['Player402'/323, l='MpServer', x=19,53, y=68,62, z=286,89]]
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Chunk stats: MultiplayerChunkCache: 150
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Level seed: 0
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Level generator: ID 00 - default, ver 1. Features enabled: false
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Level generator options: 
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Level spawn location: World: (183,64,232), Chunk: (at 7,4,8 in 11,14; contains blocks 176,0,224 to 191,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Level time: 4894 game time, 4894 day time
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Level dimension: 0
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Level storage version: 0x00000 - Unknown?
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Forced entities: 85 total; [EntityMinecartChest['entity.MinecartChest.name'/0, l='MpServer', x=-1,50, y=39,50, z=234,50], EntityCreeper['Creeper'/1, l='MpServer', x=-1,47, y=38,21, z=306,16], EntityZombie['Zombie'/2, l='MpServer', x=-3,50, y=37,84, z=310,44], EntityCreeper['Creeper'/3, l='MpServer', x=-4,38, y=38,49, z=309,94], EntityZombie['Zombie'/4, l='MpServer', x=-3,84, y=38,14, z=305,13], EntityPig['Pig'/5, l='MpServer', x=-3,06, y=66,00, z=332,06], EntityPig['Pig'/6, l='MpServer', x=-7,97, y=68,00, z=333,09], EntityPig['Pig'/7, l='MpServer', x=-3,50, y=67,00, z=337,19], EntityPig['Pig'/8, l='MpServer', x=-9,31, y=63,00, z=353,88], EntitySkeleton['Skeleton'/15, l='MpServer', x=11,88, y=42,00, z=262,50], EntitySkeleton['Skeleton'/17, l='MpServer', x=7,70, y=32,02, z=276,84], EntityCreeper['Creeper'/16, l='MpServer', x=12,59, y=41,00, z=260,59], EntityBat['Bat'/18, l='MpServer', x=11,75, y=42,10, z=284,25], EntityItem['item.item.seeds'/21, l='MpServer', x=17,16, y=63,13, z=311,47], EntitySheep['Sheep'/22, l='MpServer', x=30,31, y=63,00, z=314,97], EntityCreeper['Creeper'/31, l='MpServer', x=37,00, y=38,00, z=352,31], EntitySheep['Sheep'/30, l='MpServer', x=41,50, y=63,00, z=317,38], EntityZombie['Zombie'/32, l='MpServer', x=36,31, y=38,00, z=353,16], EntitySheep['Sheep'/39, l='MpServer', x=59,19, y=63,00, z=235,41], EntitySheep['Sheep'/42, l='MpServer', x=49,19, y=64,00, z=280,34], EntitySheep['Sheep'/43, l='MpServer', x=54,13, y=65,00, z=294,44], EntitySquid['Squid'/40, l='MpServer', x=56,53, y=56,00, z=261,79], EntitySheep['Sheep'/41, l='MpServer', x=52,50, y=62,38, z=274,03], EntitySheep['Sheep'/46, l='MpServer', x=48,16, y=64,00, z=330,88], EntitySheep['Sheep'/44, l='MpServer', x=52,44, y=64,00, z=290,56], EntitySheep['Sheep'/45, l='MpServer', x=54,50, y=65,00, z=323,50], EntitySheep['Sheep'/55, l='MpServer', x=67,84, y=63,00, z=225,47], EntitySheep['Sheep'/54, l='MpServer', x=65,50, y=64,00, z=219,50], EntityEnderman['Enderman'/53, l='MpServer', x=68,28, y=64,00, z=216,50], EntityZombie['Zombie'/58, l='MpServer', x=76,44, y=44,00, z=361,00], EntitySheep['Sheep'/57, l='MpServer', x=64,34, y=63,00, z=341,91], EntitySheep['Sheep'/56, l='MpServer', x=73,52, y=63,00, z=226,65], EntitySkeleton['Skeleton'/343, l='MpServer', x=-43,72, y=52,00, z=223,75], EntityBat['Bat'/342, l='MpServer', x=-32,25, y=37,10, z=207,44], EntityZombie['Zombie'/341, l='MpServer', x=-49,25, y=53,00, z=246,22], EntitySpider['Spider'/340, l='MpServer', x=-50,91, y=52,00, z=239,62], EntityBat['Bat'/71, l='MpServer', x=88,41, y=15,10, z=238,16], EntitySkeleton['Skeleton'/339, l='MpServer', x=-52,44, y=37,00, z=253,06], EntityCreeper['Creeper'/338, l='MpServer', x=-56,91, y=54,00, z=233,38], EntityCreeper['Creeper'/337, l='MpServer', x=-52,34, y=37,00, z=240,06], EntityZombie['Zombie'/336, l='MpServer', x=-54,56, y=23,00, z=215,90], EntityZombie['Zombie'/351, l='MpServer', x=-46,13, y=39,00, z=290,41], EntityBat['Bat'/76, l='MpServer', x=84,28, y=14,26, z=246,08], EntityZombie['Zombie'/350, l='MpServer', x=-45,47, y=40,00, z=270,97], EntitySheep['Sheep'/77, l='MpServer', x=81,53, y=70,00, z=301,45], EntityZombie['Zombie'/349, l='MpServer', x=-41,06, y=40,00, z=269,53], EntitySheep['Sheep'/78, l='MpServer', x=86,75, y=70,00, z=294,53], EntitySkeleton['Skeleton'/348, l='MpServer', x=-42,59, y=36,00, z=258,31], EntitySheep['Sheep'/79, l='MpServer', x=88,75, y=71,00, z=298,22], EntityZombie['Zombie'/347, l='MpServer', x=-46,56, y=54,00, z=244,50], EntityBat['Bat'/72, l='MpServer', x=92,25, y=15,10, z=230,41], EntityZombie['Zombie'/346, l='MpServer', x=-43,28, y=57,00, z=248,59], EntityBat['Bat'/73, l='MpServer', x=91,30, y=16,23, z=236,47], EntitySkeleton['Skeleton'/345, l='MpServer', x=-46,50, y=37,00, z=251,50], EntityBat['Bat'/74, l='MpServer', x=92,75, y=15,71, z=234,47], EntityBat['Bat'/344, l='MpServer', x=-41,47, y=40,10, z=250,88], EntityBat['Bat'/75, l='MpServer', x=94,04, y=17,98, z=237,82], EntityBat['Bat'/85, l='MpServer', x=89,50, y=29,10, z=322,50], EntityZombie['Zombie'/84, l='MpServer', x=86,63, y=41,00, z=315,66], EntityZombie['Zombie'/87, l='MpServer', x=85,56, y=41,00, z=324,72], EntityMinecartChest['entity.MinecartChest.name'/86, l='MpServer', x=94,50, y=38,50, z=334,47], EntitySheep['Sheep'/81, l='MpServer', x=81,66, y=69,00, z=294,50], EntitySheep['Sheep'/80, l='MpServer', x=92,25, y=71,00, z=301,09], EntityZombie['Zombie'/83, l='MpServer', x=85,59, y=41,00, z=316,34], EntitySkeleton['Skeleton'/82, l='MpServer', x=93,72, y=24,00, z=318,97], EntityZombie['Zombie'/335, l='MpServer', x=-59,38, y=22,23, z=209,70], EntityCreeper['Creeper'/92, l='MpServer', x=82,53, y=44,00, z=347,00], EntityCreeper['Creeper'/89, l='MpServer', x=85,41, y=25,00, z=351,06], EntityZombie['Zombie'/88, l='MpServer', x=88,63, y=40,00, z=325,64], EntityCreeper['Creeper'/91, l='MpServer', x=93,38, y=38,00, z=336,06], EntityZombie['Zombie'/90, l='MpServer', x=83,72, y=25,00, z=347,22], EntityClientPlayerMP['Player402'/323, l='MpServer', x=19,53, y=68,62, z=286,89], EntitySheep['Sheep'/110, l='MpServer', x=97,56, y=72,00, z=300,34], EntityCreeper['Creeper'/111, l='MpServer', x=97,47, y=28,00, z=311,75], EntitySpider['Spider'/356, l='MpServer', x=-20,50, y=39,00, z=259,50], EntityBat['Bat'/357, l='MpServer', x=-25,25, y=40,10, z=265,25], EntityCreeper['Creeper'/358, l='MpServer', x=-17,06, y=36,00, z=287,00], EntityBat['Bat'/352, l='MpServer', x=-25,75, y=36,10, z=212,25], EntitySpider['Spider'/114, l='MpServer', x=96,53, y=38,00, z=334,72], EntityItem['item.tile.rail'/353, l='MpServer', x=-31,50, y=38,13, z=264,81], EntitySheep['Sheep'/113, l='MpServer', x=99,53, y=72,00, z=305,84], EntitySkeleton['Skeleton'/354, l='MpServer', x=-24,31, y=38,31, z=266,31], EntityCreeper['Creeper'/112, l='MpServer', x=96,59, y=24,00, z=318,59], EntitySpider['Spider'/355, l='MpServer', x=-22,03, y=39,00, z=261,66], EntityWolf['Wolf'/122, l='MpServer', x=96,50, y=63,00, z=354,69]]
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Retry entities: 0 total; []
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Server brand: fml,forge
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Server type: Integrated singleplayer server
2013-07-29 16:09:34 [iNFO] [sTDOUT] Stacktrace:
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2298)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:844)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 
2013-07-29 16:09:34 [iNFO] [sTDOUT] -- System Details --
2013-07-29 16:09:34 [iNFO] [sTDOUT] Details:
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Minecraft Version: 1.6.2
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Operating System: Windows 7 (amd64) version 6.1
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Java Version: 1.7.0_25, Oracle Corporation
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Memory: 1802422448 bytes (1718 MB) / 2112618496 bytes (2014 MB) up to 4260102144 bytes (4062 MB)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	JVM Flags: 6 total; -Xincgc -Xmx1024M -Xms1024M -Xincgc -Xms2048m -Xmx4096m
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	AABB Pool Size: 16934 (948304 bytes; 0 MB) allocated, 1173 (65688 bytes; 0 MB) used
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Suspicious classes: FML and Forge are installed
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 63
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	FML: MCP v8.04 FML v6.2.19.789 Minecraft Forge 9.10.0.789 4 mods loaded, 4 mods active
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	FML{6.2.19.789} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Forge{9.10.0.789} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	fasttravelmod{0.0.1} [FastTravelMod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Launched Version: 1.6
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	LWJGL: 2.9.0
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	OpenGL: GeForce GTX 570/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Is Modded: Definitely; Client brand changed to 'fml,forge'
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Type: Client (map_client.txt)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Resource Pack: Default
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Current Language: English (US)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Profiler Position: N/A (disabled)
2013-07-29 16:09:34 [iNFO] [sTDOUT] 	Vec3 Pool Size: 2791 (156296 bytes; 0 MB) allocated, 315 (17640 bytes; 0 MB) used
2013-07-29 16:09:34 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Louven\Desktop\forge\mcp\jars\.\crash-reports\crash-2013-07-29_16.09.34-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed

 

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • https://mclo.gs/4UC49Ao
    • Way back in the Forge 1.17 days, work started for adding JPMS (Java Platform Module Support) to ModLauncher and ForgeModLoader. This has been used internally by Forge and some libraries for a while now, but mods (those with mods.toml specifically) have not been able to take advantage of it. As of Forge 1.21.1 and 1.21.3, this is now possible!   What is JPMS and what does it mean for modders? JPMS is the Java Platform Module System, introduced in Java 9. It allows you to define modules, which are collections of packages and resources that can be exported or hidden from other modules. This allows for much more fine-tuned control over visibility, cleaner syntax for service declarations and support for sealed types across packages. For example, you might have a mod with a module called `com.example.mod` that exports `com.example.mod.api` and `com.example.mod.impl` to other mods, but hides `com.example.mod.internal` from them. This would allow you to have a clean API for other mods to use, while keeping your internal implementation details hidden from IDE hints, helping prevent accidental usage of internals that might break without prior notice. This is particularly useful if you'd like to use public records with module-private constructors or partially module-private record components, as you can create a sealed interface that only your record implements, having the interface be exported and the record hidden. It's also nice for declaring and using services, as you'll get compile-time errors from the Java compiler for typos and the like, rather than deferring to runtime errors. In more advanced cases, you can also have public methods that are only accessible to specific other modules -- handy if you want internal interactions between multiple of your own mods.   How do I bypass it? We understand there may be drama in implementing a system that prevents mods from accessing each other's internals when necessary (like when a mod is abandoned or you need to fix a compat issue) -- after all, we are already modding a game that doesn't have explicit support for Java mods yet. We have already thought of this and are offering APIs from day one to selectively bypass module restrictions. Let me be clear: Forge mods are not required to use JPMS. If you don't want to use it, you don't have to. The default behaviour is to have fully open, fully exported automatic modules. In Java, you can use the `Add-Opens` and `Add-Exports` manifest attributes to selectively bypass module restrictions of other mods at launch time, and we've added explicit support for these when loading your Forge mods. At compile-time, you can use existing solutions such as the extra-java-module-info Gradle plugin to deal with non-modular dependencies and add extra opens and exports to other modules. Here's an example on how to make the internal package `com.example.examplemod.internal` open to your mod in your build.gradle: tasks.named('jar', Jar) { manifest { attributes([ 'Add-Opens' : 'com.example.examplemod/com.example.examplemod.internal' 'Specification-Title' : mod_id, 'Specification-Vendor' : mod_authors // (...) ]) } } With the above in your mod's jar manifest, you can now reflectively access the classes inside that internal package. Multiple entries are separated with a space, as per Java's official spec. You can also use Add-Exports to directly call without reflection, however you'd need to use the Gradle plugin mentioned earlier to be able to compile. The syntax for Add-Exports is the same as Add-Opens, and instructions for the compile-time step with the Gradle plugin are detailed later in this post. Remember to prefer the opens and exports keywords inside module-info.java for sources you control. The Add-Opens/Add-Exports attributes are only intended for forcing open other mods.   What else is new with module support? Previously, the runtime module name was always forced to the first mod ID in your `mods.toml` file and all packages were forced fully open and exported. Module names are now distinguished from mod IDs, meaning the module name in your module-info.java can be different from the mod ID in your `mods.toml`. This allows you to have a more descriptive module name that doesn't have to be the same as your mod ID, however we strongly recommend including your mod ID as part of your module name to aid troubleshooting. The `Automatic-Module-Name` manifest attribute is now also honoured, allowing you to specify a module name for your mod without needing to create a `module-info.java` file. This is particularly useful for mods that don't care about JPMS features but want to have a more descriptive module name and easier integration with other mods that do use JPMS.   How do I use it? The first step is to create a `module-info.java` file in your mod's source directory. This file should be in the same package as your main mod class, and should look something like this: open module com.example.examplemod { requires net.minecraftforge.eventbus; requires net.minecraftforge.fmlcore; requires net.minecraftforge.forge; requires net.minecraftforge.javafmlmod; requires net.minecraftforge.mergetool.api; requires org.slf4j; requires logging; } For now, we're leaving the whole module open to reflection, which is a good starting point. When we know we want to close something off, we can remove the open modifier from the module and open or export individual packages instead. Remember that you need to be open to Forge (module name net.minecraftforge.forge), otherwise it can't call your mod's constructor. Next is fixing modules in Gradle. While Forge and Java support modules properly, Gradle does not put automatic modules on the module path by default, meaning that the logging module (from com.mojang:logging) is not found. To fix this, add the Gradle plugin and add a compile-time module definition for that Mojang library: plugins { // (...) id 'org.gradlex.extra-java-module-info' version "1.9" } // (...) extraJavaModuleInfo { failOnMissingModuleInfo = false automaticModule("com.mojang:logging", "logging") } The automatic module override specified in your build.gradle should match the runtime one to avoid errors. You can do the same for any library or mod dependency that is missing either a module-info or explicit Automatic-Module-Name, however be aware that you may need to update your mod once said library adds one. That's all you need to get started with module support in your mods. You can learn more about modules and how to use them at dev.java.
    • Faire la mise à jour grâce à ce lien m'a aider personnellement, merci à @Paint_Ninja. https://www.amd.com/en/support 
    • When I came across the 'Exit Code: I got a 1 error in my Minecraft mods, so I decided to figure out what was wrong. First, I took a look at the logs. In the mods folder (usually where you'd find logs or crash reports), I found the latest.log file or the corresponding crash report. I read it through carefully, looking for any lines with errors or warnings. Then I checked the Minecraft Forge support site, where you can often find info on what causes errors and how to fix them. I then disabled half of my mods and tried running the game. If the error disappeared, it meant that the problem was with the disabled mod. I repeated this several times to find the problem mod.
    • I have no idea - switch to a pre-configured modpack and use it as working base    
  • Topics

×
×
  • Create New...

Important Information

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