Jump to content

1.6.4 How Do i add 2 GuiHandler


Bashula

Recommended Posts

Hello i have a problem i have to GuiHandlers and when i register them they cancel one of them out which ones first in the code because i have a Macerator and a Furance  Here`s the registry.

 

                    NetworkRegistry.instance().registerGuiHandler(this, new GuiHandler());

                NetworkRegistry.instance().registerGuiHandler(this, new GuiHandlerFurnace());

 

 

                                                                                                                                                                              Bryan

 

Link to comment
Share on other sites

You can handle both within the same handler

 

Example:

public class GuiHandler  implements IGuiHandler{

@Override
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
	TileEntity tile_entity = world.getBlockTileEntity(x, y, z);
	int BlockID = world.getBlockId(x, y, z);
	int Meta = world.getBlockMetadata(x, y, z);
	if (ID == 1)
	{
		return new ContainerWorkbenchClone(player.inventory,player.worldObj);
	}
	//Logger.getLogger("CJTECH").log(Level.INFO, "GUI Block Id: " + BlockID);
	//Logger.getLogger("CJTECH").log(Level.INFO, "GUI Block Meta: " + Meta);
	if (BlockID == Blocks.blockMachine.blockID)
	{
		return new ContainerMachine(player.inventory, (TileEntityMachine) tile_entity);
	}
	if (BlockID == Blocks.blockPowerStorage.blockID)
	{
		return new ContainerPowerStorage(player.inventory, (TileEntityPowerStorage) tile_entity);
	}
	if (BlockID == Blocks.blockColliderController.blockID){
		return new ContainerCollider(player.inventory, (TileEntityCollider) tile_entity);
	}
	if (BlockID == Blocks.blockMultiFurnace.blockID){
		return new ContainerMultiFurnace(player.inventory, (TileEntityMBFurnace) tile_entity);
	}
	if (BlockID == Blocks.blockEnderNetTerminal.blockID)
	{
		if (Meta == 1)
		{
			return new ContainerEnderNetItemTerminal(player, new EnderNetItemPage((TileEntityEnderNetTerminal) tile_entity, 0));
		}
	}
	if (BlockID == Blocks.blockItemTransport.blockID)
	{
		if (Meta == 4)
		{
			return new ContainerTransportSorter(player.inventory, (ItemTransportBase) tile_entity);
		}
	}
	if (BlockID == Blocks.blockResearchTable.blockID)
	{
		return new ContainerResearchTable(player.inventory, (TileEntityResearchTable) tile_entity);
	}

	return null;

}

@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
	TileEntity tile_entity = world.getBlockTileEntity(x, y, z);

	int BlockID = world.getBlockId(x, y, z);
	int Meta = world.getBlockMetadata(x, y, z);
	if (ID == 1)
	{
		return new guiCraftingClone(player.inventory, player.worldObj);
	}
	if (ID == 2)
	{
		return new guiResearchBook(player, player.worldObj);
	}
	if (BlockID == Blocks.blockMachine.blockID)
	{
		switch (Meta)
		{
		case 0: return new guiPoweredFurnace(player.inventory, (TileEntityMachine) tile_entity);
		case 1: return new guiPoweredFurnace(player.inventory, (TileEntityMachine) tile_entity);
		case 2: return new guiPoweredGrinder(player.inventory, (TileEntityMachine) tile_entity);
		case 3: return new guiPoweredGrinder(player.inventory, (TileEntityMachine) tile_entity);
		case 4: return new guiCompressor(player.inventory, (TileEntityMachine) tile_entity);
		case 5: return new guiCompressor(player.inventory, (TileEntityMachine) tile_entity);
		}
	}
	if (BlockID == Blocks.blockPowerStorage.blockID)
	{
		Logger.getLogger("CJTECH").log(Level.INFO, "Block is Power Storage");
		switch (Meta)
		{
		case 0: return new guiSmallPowerBox(player.inventory, (TileEntityPowerStorage) tile_entity);
		case 1: return new guiSmallPowerBox(player.inventory, (TileEntityPowerStorage) tile_entity);
		case 2: return new guiMediumPowerBox(player.inventory, (TileEntityPowerStorage) tile_entity);
		case 3: return new guiMediumPowerBox(player.inventory, (TileEntityPowerStorage) tile_entity);
		case 4: return new guiLargePowerBox(player.inventory, (TileEntityPowerStorage) tile_entity);
		case 5: return new guiLargePowerBox(player.inventory, (TileEntityPowerStorage) tile_entity);
		case 6: return new guiHugePowerBox(player.inventory, (TileEntityPowerStorage) tile_entity);
		case 7: return new guiHugePowerBox(player.inventory, (TileEntityPowerStorage) tile_entity);
		}
	}
	if (BlockID == Blocks.blockColliderController.blockID)
	{
		return new guiCollider(player.inventory, (TileEntityCollider) tile_entity);
	}
	if (BlockID == Blocks.blockTDTeleporter.blockID)
	{
		return new guiTDTeleporter(player, (TileEntityTDTeleporter) tile_entity, tile_entity.worldObj);
	}
	if (BlockID == Blocks.blockMultiFurnace.blockID)
	{
		return new guiMultiFurnace(player.inventory, (TileEntityMBFurnace) tile_entity);
	}
	if (BlockID == Blocks.blockEnderNetTerminal.blockID)
	{
		if (Meta == 0)
			return new guiENetPowerTerminal(player, (TileEntityEnderNetTerminal) tile_entity);
		if (Meta == 1)
			return new guiENetItemTerminal(player, (TileEntityEnderNetTerminal) tile_entity, 0);
	}
	if (BlockID == Blocks.blockItemTransport.blockID)
	{
		if (Meta == 4)
			return new guiTransportSort(player.inventory, (ItemTransportBase) tile_entity);
	}
	if (BlockID == Blocks.blockResearchTable.blockID)
	{
		if (Meta == 0)
			return new guiBasicResearchTable(player.inventory, (TileEntityResearchTable) tile_entity);

	}
	return null;
}
}

 

You can either do it by checking the block id and meta like I did, or by the gui ID you pass into the handler when you open a gui.

Link to comment
Share on other sites

im doing it by the gui id but i dont see how to do it heres the gui handler 

 

 

public class GuiHandlerFurnace implements IGuiHandler {

public GuiHandlerFurnace() {

NetworkRegistry.instance().registerGuiHandler(Strings.instance, this);

}

 

@Override

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

TileEntity entity = world.getBlockTileEntity(x, y, z);

 

if(entity != null){

switch (id) {

case MainRegistry.guiIdDarkIronFurance:

if (entity instanceof TileEntityDarkIronFurnace) {

return new DarkIronFurnaceContainer(player.inventory, (TileEntityDarkIronFurnace) entity);

}

 

}

}

 

return null;

}

 

@Override

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

TileEntity entity = world.getBlockTileEntity(x, y, z);

 

if(entity != null){

switch (id) {

case MainRegistry.guiIdDarkIronFurance:

if (entity instanceof TileEntityDarkIronFurnace) {

return new GUIDarkIronFurnace(player.inventory, (TileEntityDarkIronFurnace) entity);

}

 

}

}

 

return null;

}

}

 

Link to comment
Share on other sites

like this

 

public class GuiHandler implements IGuiHandler {

public GuiHandler() {

NetworkRegistry.instance().registerGuiHandler(MainRegistry.instance, this);

}

 

@Override

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

TileEntity entity = world.getBlockTileEntity(x, y, z);

 

if(entity != null){

switch (id) {

case MainRegistry.guiIdMacerator:

if (entity instanceof TileEntityMacerator) {

return new ContainerMacerator(player.inventory, (TileEntityMacerator) entity);}

 

case MainRegistry.guiIdDarkIronFurance:

if (entity instanceof TileEntityDarkIronFurnace) {

return new DarkIronFurnaceContainer(player.inventory, (TileEntityDarkIronFurnace) entity);

}

 

return null;

default:

return null;

}

}

 

return null;

}

 

@Override

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

TileEntity entity = world.getBlockTileEntity(x, y, z);

 

if(entity != null){

switch (id) {

case MainRegistry.guiIdMacerator:

if (entity instanceof TileEntityMacerator) {

return new GuiMacerator(player.inventory, (TileEntityMacerator) entity);}

 

case MainRegistry.guiIdDarkIronFurance:

if (entity instanceof TileEntityDarkIronFurnace) {

return new DarkIronFurnaceContainer(player.inventory, (TileEntityDarkIronFurnace) entity);

}

 

 

return null;

default:

return null;

}

}

 

return null;

}

 

}

 

Link to comment
Share on other sites

you need to add a break after each case like this:

switch (id) {
               case MainRegistry.guiIdMacerator:
                  if (entity instanceof TileEntityMacerator) {
                     return new ContainerMacerator(player.inventory, (TileEntityMacerator) entity);
                     break;
                 }
                  
               case MainRegistry.guiIdDarkIronFurance:
              {
                  if (entity instanceof TileEntityDarkIronFurnace) {
                     return new DarkIronFurnaceContainer(player.inventory, (TileEntityDarkIronFurnace) entity);
                  }
                  break;
               }
                  return null;
               default:
                  return null;
            }
         }

 

Otherwise it would just fall through all the cases whether they matched or not. Kind of like an OR in an If/Then statement

Link to comment
Share on other sites

Time: 1/4/14 3:39 AM

2014-01-04 03:39:11 [iNFO] [sTDOUT] Description: Exception in world tick

2014-01-04 03:39:11 [iNFO] [sTDOUT]

2014-01-04 03:39:11 [iNFO] [sTDOUT] java.lang.ClassCastException: Darkcraft.Furnace.DarkIronFurnaceContainer cannot be cast to net.minecraft.client.gui.GuiScreen

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:397)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLCommonHandler.showGuiScreen(FMLCommonHandler.java:334)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.NetworkRegistry.openLocalGui(NetworkRegistry.java:328)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:357)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2480)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.OpenGuiPacket.execute(OpenGuiPacket.java:67)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.handleFMLPacket(FMLNetworkHandler.java:116)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:81)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.NetClientHandler.handleCustomPayload(NetClientHandler.java:1651)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.network.packet.Packet250CustomPayload.processPacket(Packet250CustomPayload.java:70)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.WorldClient.tick(WorldClient.java:99)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1930)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

2014-01-04 03:39:11 [iNFO] [sTDOUT]

2014-01-04 03:39:11 [iNFO] [sTDOUT]

2014-01-04 03:39:11 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:

2014-01-04 03:39:11 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------

2014-01-04 03:39:11 [iNFO] [sTDOUT]

2014-01-04 03:39:11 [iNFO] [sTDOUT] -- Head --

2014-01-04 03:39:11 [iNFO] [sTDOUT] Stacktrace:

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:397)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLCommonHandler.showGuiScreen(FMLCommonHandler.java:334)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.NetworkRegistry.openLocalGui(NetworkRegistry.java:328)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:357)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2480)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.OpenGuiPacket.execute(OpenGuiPacket.java:67)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.handleFMLPacket(FMLNetworkHandler.java:116)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:81)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.NetClientHandler.handleCustomPayload(NetClientHandler.java:1651)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.network.packet.Packet250CustomPayload.processPacket(Packet250CustomPayload.java:70)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)

2014-01-04 03:39:11 [iNFO] [sTDOUT]

2014-01-04 03:39:11 [iNFO] [sTDOUT] -- Affected level --

2014-01-04 03:39:11 [iNFO] [sTDOUT] Details:

2014-01-04 03:39:11 [iNFO] [sTDOUT] Level name: MpServer

2014-01-04 03:39:11 [iNFO] [sTDOUT] All players: 1 total; [EntityClientPlayerMP['Bashula'/173, l='MpServer', x=-10.74, y=64.62, z=60.99]]

2014-01-04 03:39:11 [iNFO] [sTDOUT] Chunk stats: MultiplayerChunkCache: 441

2014-01-04 03:39:11 [iNFO] [sTDOUT] Level seed: 0

2014-01-04 03:39:11 [iNFO] [sTDOUT] Level generator: ID 00 - default, ver 1. Features enabled: false

2014-01-04 03:39:11 [iNFO] [sTDOUT] Level generator options:

2014-01-04 03:39:11 [iNFO] [sTDOUT] Level spawn location: World: (-8,64,68), Chunk: (at 8,4,4 in -1,4; contains blocks -16,0,64 to -1,255,79), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)

2014-01-04 03:39:11 [iNFO] [sTDOUT] Level time: 11851 game time, 11851 day time

2014-01-04 03:39:11 [iNFO] [sTDOUT] Level dimension: 0

2014-01-04 03:39:11 [iNFO] [sTDOUT] Level storage version: 0x00000 - Unknown?

2014-01-04 03:39:11 [iNFO] [sTDOUT] Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)

2014-01-04 03:39:11 [iNFO] [sTDOUT] Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false

2014-01-04 03:39:11 [iNFO] [sTDOUT] Forced entities: 88 total; [EntityZombie['Zombie'/137, l='MpServer', x=49.24, y=29.29, z=100.68], EntityBat['Bat'/136, l='MpServer', x=43.54, y=35.16, z=108.55], EntitySkeleton['Skeleton'/139, l='MpServer', x=46.71, y=34.57, z=110.62], EntityBat['Bat'/138, l='MpServer', x=46.50, y=33.10, z=103.25], EntityBat['Bat'/141, l='MpServer', x=44.55, y=34.69, z=108.85], EntityBat['Bat'/140, l='MpServer', x=43.92, y=39.64, z=115.60], EntityBat['Bat'/143, l='MpServer', x=49.44, y=26.64, z=51.40], EntityCreeper['Creeper'/129, l='MpServer', x=36.69, y=16.00, z=-12.69], EntityZombie['Zombie'/128, l='MpServer', x=35.50, y=15.00, z=-6.81], EntityCreeper['Creeper'/131, l='MpServer', x=32.50, y=23.08, z=39.30], EntityZombie['Zombie'/130, l='MpServer', x=35.91, y=16.00, z=-11.88], EntityCreeper['Creeper'/133, l='MpServer', x=41.78, y=34.00, z=47.25], EntityCreeper['Creeper'/132, l='MpServer', x=41.94, y=34.00, z=46.38], EntityCreeper['Creeper'/135, l='MpServer', x=43.50, y=25.00, z=48.78], EntityCreeper['Creeper'/134, l='MpServer', x=43.00, y=25.00, z=49.69], EntitySheep['Sheep'/33, l='MpServer', x=-82.44, y=76.00, z=35.72], EntitySheep['Sheep'/38, l='MpServer', x=-76.13, y=69.00, z=41.50], EntitySkeleton['Skeleton'/39, l='MpServer', x=-75.50, y=30.00, z=60.09], EntityClientPlayerMP['Bashula'/173, l='MpServer', x=-10.74, y=64.62, z=60.99], EntityEnderman['Enderman'/36, l='MpServer', x=-66.44, y=44.00, z=-12.47], EntityBat['Bat'/37, l='MpServer', x=-76.17, y=47.79, z=-13.84], EntitySheep['Sheep'/42, l='MpServer', x=-51.16, y=79.00, z=26.66], EntitySheep['Sheep'/43, l='MpServer', x=-56.88, y=78.00, z=21.97], EntityBat['Bat'/40, l='MpServer', x=-64.44, y=32.10, z=52.53], EntityEnderman['Enderman'/41, l='MpServer', x=-63.69, y=45.00, z=-7.25], EntitySkeleton['Skeleton'/46, l='MpServer', x=-55.53, y=22.00, z=75.91], EntityCreeper['Creeper'/47, l='MpServer', x=-50.88, y=22.00, z=74.78], EntitySkeleton['Skeleton'/44, l='MpServer', x=-56.53, y=22.00, z=76.09], EntityZombie['Zombie'/45, l='MpServer', x=-61.30, y=22.00, z=74.46], EntityCreeper['Creeper'/51, l='MpServer', x=-49.63, y=17.00, z=88.59], EntitySpider['Spider'/50, l='MpServer', x=-53.91, y=12.00, z=94.09], EntitySkeleton['Skeleton'/49, l='MpServer', x=-54.30, y=12.25, z=89.04], EntitySpider['Spider'/48, l='MpServer', x=-49.54, y=21.92, z=76.89], EntitySheep['Sheep'/55, l='MpServer', x=-43.66, y=75.00, z=29.44], EntityZombie['Zombie'/53, l='MpServer', x=-49.31, y=11.00, z=98.57], EntityZombie['Zombie'/52, l='MpServer', x=-52.70, y=11.85, z=96.70], EntityZombie['Zombie'/59, l='MpServer', x=-41.50, y=11.00, z=52.25], EntitySheep['Sheep'/58, l='MpServer', x=-39.46, y=68.00, z=27.99], EntitySheep['Sheep'/57, l='MpServer', x=-43.06, y=74.00, z=21.63], EntitySheep['Sheep'/56, l='MpServer', x=-37.66, y=67.00, z=27.53], EntityZombie['Zombie'/63, l='MpServer', x=-39.75, y=11.00, z=104.78], EntitySquid['Squid'/62, l='MpServer', x=-33.50, y=46.38, z=85.50], EntityZombie['Zombie'/61, l='MpServer', x=-45.78, y=21.00, z=80.72], EntitySquid['Squid'/60, l='MpServer', x=-40.53, y=45.00, z=67.47], EntitySheep['Sheep'/71, l='MpServer', x=-18.56, y=65.00, z=6.88], EntitySkeleton['Skeleton'/64, l='MpServer', x=-41.13, y=11.00, z=101.50], EntityZombie['Zombie'/65, l='MpServer', x=-32.50, y=15.00, z=101.09], EntityZombie['Zombie'/66, l='MpServer', x=-32.66, y=15.00, z=102.16], EntityCreeper['Creeper'/67, l='MpServer', x=-33.53, y=14.00, z=109.97], EntityZombie['Zombie'/76, l='MpServer', x=-27.50, y=15.00, z=55.44], EntityCreeper['Creeper'/77, l='MpServer', x=-28.50, y=15.00, z=54.31], EntitySkeleton['Skeleton'/78, l='MpServer', x=-29.30, y=15.00, z=60.70], EntityZombie['Zombie'/79, l='MpServer', x=-28.47, y=17.00, z=49.97], EntitySheep['Sheep'/72, l='MpServer', x=-27.63, y=75.00, z=14.53], EntitySheep['Sheep'/73, l='MpServer', x=-25.97, y=69.00, z=25.03], EntitySheep['Sheep'/74, l='MpServer', x=-25.59, y=64.00, z=31.47], EntityCreeper['Creeper'/75, l='MpServer', x=-29.69, y=15.00, z=54.30], EntityZombie['Zombie'/85, l='MpServer', x=-28.31, y=15.00, z=101.03], EntitySquid['Squid'/84, l='MpServer', x=-32.78, y=45.00, z=69.53], EntitySkeleton['Skeleton'/87, l='MpServer', x=-30.66, y=14.00, z=109.69], EntitySkeleton['Skeleton'/86, l='MpServer', x=-30.47, y=14.00, z=110.69], EntityCreeper['Creeper'/81, l='MpServer', x=-29.63, y=16.00, z=53.28], EntityBat['Bat'/80, l='MpServer', x=-29.34, y=17.10, z=55.25], EntitySquid['Squid'/83, l='MpServer', x=-31.84, y=45.40, z=67.38], EntitySquid['Squid'/82, l='MpServer', x=-23.48, y=46.38, z=75.05], EntitySkeleton['Skeleton'/95, l='MpServer', x=10.50, y=34.00, z=3.50], EntitySkeleton['Skeleton'/94, l='MpServer', x=6.50, y=34.00, z=-5.50], EntityBat['Bat'/88, l='MpServer', x=-30.30, y=14.75, z=107.08], EntitySquid['Squid'/100, l='MpServer', x=3.00, y=55.55, z=91.72], EntityBat['Bat'/98, l='MpServer', x=7.72, y=25.10, z=56.94], EntityBat['Bat'/99, l='MpServer', x=5.78, y=24.66, z=58.02], EntitySkeleton['Skeleton'/96, l='MpServer', x=13.50, y=34.00, z=10.50], EntityBat['Bat'/97, l='MpServer', x=8.91, y=25.10, z=54.66], EntityBat['Bat'/110, l='MpServer', x=31.75, y=29.10, z=38.41], EntityBat['Bat'/111, l='MpServer', x=31.28, y=24.00, z=39.30], EntityEnderman['Enderman'/108, l='MpServer', x=17.41, y=24.00, z=22.00], EntityCreeper['Creeper'/109, l='MpServer', x=25.73, y=22.00, z=32.52], EntityCreeper['Creeper'/106, l='MpServer', x=26.31, y=15.00, z=-3.31], EntityZombie['Zombie'/107, l='MpServer', x=25.50, y=14.00, z=-6.16], EntitySkeleton['Skeleton'/104, l='MpServer', x=25.29, y=13.00, z=-7.92], EntityZombie['Zombie'/105, l='MpServer', x=26.70, y=13.00, z=-6.30], EntityZombie['Zombie'/115, l='MpServer', x=17.30, y=38.00, z=133.26], EntityZombie['Zombie'/114, l='MpServer', x=16.59, y=38.00, z=130.91], EntityZombie['Zombie'/113, l='MpServer', x=18.18, y=37.03, z=133.98], EntityZombie['Zombie'/112, l='MpServer', x=17.94, y=38.00, z=132.27], EntityCreeper['Creeper'/127, l='MpServer', x=35.50, y=15.00, z=-5.99], EntityZombie['Zombie'/126, l='MpServer', x=34.67, y=15.00, z=-3.82], EntityZombie['Zombie'/124, l='MpServer', x=31.91, y=17.00, z=-16.59]]

2014-01-04 03:39:11 [iNFO] [sTDOUT] Retry entities: 0 total; []

2014-01-04 03:39:11 [iNFO] [sTDOUT] Server brand: fml,forge

2014-01-04 03:39:11 [iNFO] [sTDOUT] Server type: Integrated singleplayer server

2014-01-04 03:39:11 [iNFO] [sTDOUT] Stacktrace:

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1943)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

2014-01-04 03:39:11 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

Link to comment
Share on other sites

for the client element

case MainRegistry.guiIdDarkIronFurance:
                  if (entity instanceof TileEntityDarkIronFurnace) {
                     return new DarkIronFurnaceContainer(player.inventory, (TileEntityDarkIronFurnace) entity);
                  } 

 

It should be returning a gui not a container

Link to comment
Share on other sites

new crash

 

  net.minecraft.util.ReportedException: Exception in world tick

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1946)

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:838)

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.client.main.Main.main(Main.java:93)

2014-01-04 03:56:20 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-01-04 03:56:20 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-01-04 03:56:20 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-01-04 03:56:20 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

2014-01-04 03:56:20 [iNFO] [sTDERR] Caused by: java.lang.ClassCastException: Darkcraft.Furnace.Macerator.ContainerMacerator cannot be cast to net.minecraft.client.gui.GuiScreen

2014-01-04 03:56:20 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:397)

2014-01-04 03:56:20 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLCommonHandler.showGuiScreen(FMLCommonHandler.java:334)

2014-01-04 03:56:20 [iNFO] [sTDERR] at cpw.mods.fml.common.network.NetworkRegistry.openLocalGui(NetworkRegistry.java:328)

2014-01-04 03:56:20 [iNFO] [sTDERR] at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:357)

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2480)

2014-01-04 03:56:20 [iNFO] [sTDERR] at cpw.mods.fml.common.network.OpenGuiPacket.execute(OpenGuiPacket.java:67)

2014-01-04 03:56:20 [iNFO] [sTDERR] at cpw.mods.fml.common.network.FMLNetworkHandler.handleFMLPacket(FMLNetworkHandler.java:116)

2014-01-04 03:56:20 [iNFO] [sTDERR] at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:81)

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.client.multiplayer.NetClientHandler.handleCustomPayload(NetClientHandler.java:1651)

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.network.packet.Packet250CustomPayload.processPacket(Packet250CustomPayload.java:70)

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.client.multiplayer.WorldClient.tick(WorldClient.java:99)

2014-01-04 03:56:20 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1930)

2014-01-04 03:56:20 [iNFO] [sTDERR] ... 9 more

2014-01-04 03:56:20 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----

2014-01-04 03:56:20 [iNFO] [sTDOUT] // Don't be sad, have a hug! <3

2014-01-04 03:56:20 [iNFO] [sTDOUT]

2014-01-04 03:56:20 [iNFO] [sTDOUT] Time: 1/4/14 3:56 AM

2014-01-04 03:56:20 [iNFO] [sTDOUT] Description: Exception in world tick

2014-01-04 03:56:20 [iNFO] [sTDOUT]

2014-01-04 03:56:20 [iNFO] [sTDOUT] java.lang.ClassCastException: Darkcraft.Furnace.Macerator.ContainerMacerator cannot be cast to net.minecraft.client.gui.GuiScreen

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:397)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLCommonHandler.showGuiScreen(FMLCommonHandler.java:334)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.NetworkRegistry.openLocalGui(NetworkRegistry.java:328)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:357)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2480)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.OpenGuiPacket.execute(OpenGuiPacket.java:67)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.handleFMLPacket(FMLNetworkHandler.java:116)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:81)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.NetClientHandler.handleCustomPayload(NetClientHandler.java:1651)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.network.packet.Packet250CustomPayload.processPacket(Packet250CustomPayload.java:70)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.WorldClient.tick(WorldClient.java:99)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1930)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

2014-01-04 03:56:20 [iNFO] [sTDOUT]

2014-01-04 03:56:20 [iNFO] [sTDOUT]

2014-01-04 03:56:20 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:

2014-01-04 03:56:20 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------

2014-01-04 03:56:20 [iNFO] [sTDOUT]

2014-01-04 03:56:20 [iNFO] [sTDOUT] -- Head --

2014-01-04 03:56:20 [iNFO] [sTDOUT] Stacktrace:

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:397)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLCommonHandler.showGuiScreen(FMLCommonHandler.java:334)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.NetworkRegistry.openLocalGui(NetworkRegistry.java:328)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:357)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2480)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.OpenGuiPacket.execute(OpenGuiPacket.java:67)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.handleFMLPacket(FMLNetworkHandler.java:116)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:81)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.NetClientHandler.handleCustomPayload(NetClientHandler.java:1651)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.network.packet.Packet250CustomPayload.processPacket(Packet250CustomPayload.java:70)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)

2014-01-04 03:56:20 [iNFO] [sTDOUT]

2014-01-04 03:56:20 [iNFO] [sTDOUT] -- Affected level --

2014-01-04 03:56:20 [iNFO] [sTDOUT] Details:

2014-01-04 03:56:20 [iNFO] [sTDOUT] Level name: MpServer

2014-01-04 03:56:20 [iNFO] [sTDOUT] All players: 1 total; [EntityClientPlayerMP['Bashula'/173, l='MpServer', x=-10.74, y=64.62, z=60.99]]

2014-01-04 03:56:20 [iNFO] [sTDOUT] Chunk stats: MultiplayerChunkCache: 405

2014-01-04 03:56:20 [iNFO] [sTDOUT] Level seed: 0

2014-01-04 03:56:20 [iNFO] [sTDOUT] Level generator: ID 00 - default, ver 1. Features enabled: false

2014-01-04 03:56:20 [iNFO] [sTDOUT] Level generator options:

2014-01-04 03:56:20 [iNFO] [sTDOUT] Level spawn location: World: (-8,64,68), Chunk: (at 8,4,4 in -1,4; contains blocks -16,0,64 to -1,255,79), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)

2014-01-04 03:56:20 [iNFO] [sTDOUT] Level time: 11946 game time, 11946 day time

2014-01-04 03:56:20 [iNFO] [sTDOUT] Level dimension: 0

2014-01-04 03:56:20 [iNFO] [sTDOUT] Level storage version: 0x00000 - Unknown?

2014-01-04 03:56:20 [iNFO] [sTDOUT] Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)

2014-01-04 03:56:20 [iNFO] [sTDOUT] Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false

2014-01-04 03:56:20 [iNFO] [sTDOUT] Forced entities: 89 total; [EntityBat['Bat'/137, l='MpServer', x=45.82, y=36.26, z=110.14], EntityBat['Bat'/136, l='MpServer', x=42.47, y=33.27, z=108.48], EntityBat['Bat'/138, l='MpServer', x=43.40, y=37.44, z=112.37], EntityZombie['Zombie'/143, l='MpServer', x=52.70, y=29.00, z=100.30], EntityBat['Bat'/142, l='MpServer', x=44.50, y=25.10, z=50.57], EntityCreeper['Creeper'/129, l='MpServer', x=32.50, y=23.10, z=39.30], EntitySkeleton['Skeleton'/128, l='MpServer', x=32.28, y=17.00, z=-15.78], EntityCreeper['Creeper'/131, l='MpServer', x=41.78, y=34.00, z=47.25], EntityCreeper['Creeper'/130, l='MpServer', x=41.94, y=34.00, z=46.38], EntityCreeper['Creeper'/133, l='MpServer', x=40.79, y=25.00, z=46.37], EntityCreeper['Creeper'/132, l='MpServer', x=43.00, y=25.00, z=49.69], EntitySkeleton['Skeleton'/135, l='MpServer', x=46.53, y=35.00, z=111.69], EntityBat['Bat'/134, l='MpServer', x=46.50, y=33.10, z=103.25], EntitySheep['Sheep'/33, l='MpServer', x=-81.50, y=76.00, z=36.37], EntityBat['Bat'/38, l='MpServer', x=-85.53, y=45.95, z=-15.84], EntitySheep['Sheep'/39, l='MpServer', x=-76.13, y=69.00, z=41.50], EntityClientPlayerMP['Bashula'/173, l='MpServer', x=-10.74, y=64.62, z=60.99], EntityEnderman['Enderman'/36, l='MpServer', x=-69.69, y=44.00, z=-12.75], EntityEnderman['Enderman'/37, l='MpServer', x=-65.49, y=44.00, z=-8.03], EntitySheep['Sheep'/42, l='MpServer', x=-51.16, y=79.00, z=26.66], EntitySheep['Sheep'/43, l='MpServer', x=-55.54, y=78.00, z=22.04], EntitySkeleton['Skeleton'/40, l='MpServer', x=-75.50, y=30.00, z=60.09], EntityBat['Bat'/41, l='MpServer', x=-64.44, y=32.10, z=52.53], EntitySkeleton['Skeleton'/46, l='MpServer', x=-55.28, y=22.00, z=75.78], EntityCreeper['Creeper'/47, l='MpServer', x=-50.88, y=22.00, z=74.78], EntitySkeleton['Skeleton'/44, l='MpServer', x=-61.28, y=22.00, z=75.66], EntityZombie['Zombie'/45, l='MpServer', x=-59.50, y=22.00, z=74.31], EntityCreeper['Creeper'/51, l='MpServer', x=-49.63, y=17.00, z=88.59], EntitySpider['Spider'/50, l='MpServer', x=-53.91, y=12.00, z=94.09], EntitySkeleton['Skeleton'/49, l='MpServer', x=-54.38, y=12.00, z=89.25], EntitySpider['Spider'/48, l='MpServer', x=-50.13, y=21.00, z=76.59], EntitySheep['Sheep'/55, l='MpServer', x=-43.66, y=75.00, z=29.44], EntityZombie['Zombie'/53, l='MpServer', x=-49.30, y=11.14, z=97.88], EntityZombie['Zombie'/52, l='MpServer', x=-52.70, y=11.11, z=96.70], EntityZombie['Zombie'/59, l='MpServer', x=-41.50, y=11.00, z=52.25], EntitySheep['Sheep'/58, l='MpServer', x=-39.31, y=67.00, z=29.31], EntitySheep['Sheep'/57, l='MpServer', x=-43.63, y=74.71, z=21.47], EntitySheep['Sheep'/56, l='MpServer', x=-37.66, y=67.00, z=27.53], EntitySquid['Squid'/63, l='MpServer', x=-35.52, y=46.37, z=82.46], EntityZombie['Zombie'/62, l='MpServer', x=-45.78, y=21.00, z=80.72], EntitySquid['Squid'/61, l='MpServer', x=-37.63, y=45.37, z=68.60], EntitySquid['Squid'/60, l='MpServer', x=-40.42, y=45.00, z=67.47], EntityCreeper['Creeper'/68, l='MpServer', x=-33.53, y=14.00, z=109.97], EntityZombie['Zombie'/64, l='MpServer', x=-39.75, y=11.00, z=104.78], EntitySkeleton['Skeleton'/65, l='MpServer', x=-39.59, y=11.88, z=101.50], EntityZombie['Zombie'/66, l='MpServer', x=-32.50, y=15.00, z=101.09], EntityZombie['Zombie'/67, l='MpServer', x=-32.66, y=15.00, z=102.16], EntityCreeper['Creeper'/76, l='MpServer', x=-29.69, y=15.00, z=54.30], EntityZombie['Zombie'/77, l='MpServer', x=-27.50, y=15.00, z=55.44], EntityCreeper['Creeper'/78, l='MpServer', x=-28.50, y=15.00, z=54.31], EntitySkeleton['Skeleton'/79, l='MpServer', x=-29.30, y=15.00, z=60.70], EntitySheep['Sheep'/72, l='MpServer', x=-18.56, y=65.00, z=6.88], EntitySheep['Sheep'/73, l='MpServer', x=-27.66, y=75.00, z=14.53], EntitySheep['Sheep'/74, l='MpServer', x=-25.97, y=69.00, z=25.03], EntitySheep['Sheep'/75, l='MpServer', x=-28.47, y=64.00, z=34.00], EntityZombie['Zombie'/85, l='MpServer', x=-28.31, y=15.00, z=101.03], EntitySquid['Squid'/84, l='MpServer', x=-32.53, y=45.39, z=67.52], EntitySkeleton['Skeleton'/87, l='MpServer', x=-29.02, y=15.00, z=105.56], EntitySkeleton['Skeleton'/86, l='MpServer', x=-30.47, y=14.00, z=110.69], EntityBat['Bat'/81, l='MpServer', x=-29.34, y=17.10, z=55.25], EntityZombie['Zombie'/80, l='MpServer', x=-28.47, y=17.00, z=49.97], EntitySquid['Squid'/83, l='MpServer', x=-23.53, y=46.00, z=76.53], EntityCreeper['Creeper'/82, l='MpServer', x=-29.63, y=16.00, z=53.28], EntitySkeleton['Skeleton'/95, l='MpServer', x=10.50, y=34.00, z=3.50], EntitySkeleton['Skeleton'/94, l='MpServer', x=6.50, y=34.00, z=-5.50], EntityBat['Bat'/88, l='MpServer', x=-32.73, y=15.60, z=111.11], EntitySquid['Squid'/100, l='MpServer', x=0.95, y=55.34, z=90.64], EntityBat['Bat'/98, l='MpServer', x=7.72, y=25.10, z=56.94], EntityBat['Bat'/99, l='MpServer', x=1.36, y=24.33, z=60.50], EntitySkeleton['Skeleton'/96, l='MpServer', x=13.50, y=34.00, z=10.50], EntityBat['Bat'/97, l='MpServer', x=8.91, y=25.10, z=54.66], EntityCreeper['Creeper'/110, l='MpServer', x=25.22, y=23.00, z=32.50], EntityBat['Bat'/111, l='MpServer', x=31.75, y=29.10, z=38.41], EntityZombie['Zombie'/108, l='MpServer', x=25.50, y=14.00, z=-6.16], EntityEnderman['Enderman'/109, l='MpServer', x=16.28, y=22.00, z=21.88], EntityZombie['Zombie'/106, l='MpServer', x=26.69, y=13.00, z=-6.31], EntityCreeper['Creeper'/107, l='MpServer', x=26.31, y=15.00, z=-3.31], EntityZombie['Zombie'/104, l='MpServer', x=31.91, y=17.00, z=-16.59], EntitySkeleton['Skeleton'/105, l='MpServer', x=25.84, y=13.00, z=-7.22], EntityZombie['Zombie'/116, l='MpServer', x=17.31, y=38.00, z=132.34], EntityZombie['Zombie'/115, l='MpServer', x=16.59, y=38.00, z=130.91], EntityZombie['Zombie'/114, l='MpServer', x=17.31, y=38.00, z=133.28], EntityZombie['Zombie'/113, l='MpServer', x=18.16, y=38.00, z=132.91], EntityBat['Bat'/112, l='MpServer', x=39.68, y=25.09, z=44.66], EntityZombie['Zombie'/127, l='MpServer', x=35.91, y=16.00, z=-11.88], EntityCreeper['Creeper'/126, l='MpServer', x=36.69, y=16.00, z=-12.69], EntityZombie['Zombie'/125, l='MpServer', x=35.50, y=15.00, z=-7.44], EntityCreeper['Creeper'/124, l='MpServer', x=35.50, y=15.00, z=-6.59], EntityZombie['Zombie'/123, l='MpServer', x=28.53, y=15.73, z=-4.65]]

2014-01-04 03:56:20 [iNFO] [sTDOUT] Retry entities: 0 total; []

2014-01-04 03:56:20 [iNFO] [sTDOUT] Server brand: fml,forge

2014-01-04 03:56:20 [iNFO] [sTDOUT] Server type: Integrated singleplayer server

2014-01-04 03:56:20 [iNFO] [sTDOUT] Stacktrace:

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1943)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

2014-01-04 03:56:20 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

2014-01-04 03:56:20 [iNFO] [sTDOUT]

Link to comment
Share on other sites

public class GuiMacerator extends GuiContainer{

public static final ResourceLocation texture = new ResourceLocation(Strings.MOD_ID, "textures/gui/macerator.png");

 

public TileEntityMacerator macerator;

 

public GuiMacerator(InventoryPlayer invPlayer, TileEntityMacerator entity) {

super(new ContainerMacerator(invPlayer, entity));

 

this.macerator = entity;

 

this.xSize = 176;

this.ySize = 165;

}

 

public void drawGuiContainerForegroundLayer(int par1, int par2){

String s = this.macerator.isInvNameLocalized() ? this.macerator.getInvName() : I18n.getString(this.macerator.getInvName());

this.fontRenderer.drawString(s, this.xSize / 2 - this.fontRenderer.getStringWidth(s) / 2, 6, 4210752);

this.fontRenderer.drawString(I18n.getString("container.inventory"), 8, this.ySize - 96 + 5, 4210752);

}

 

public void drawGuiContainerBackgroundLayer(float f, int j, int i) {

GL11.glColor4f(1F, 1F, 1F, 1F);

 

Minecraft.getMinecraft().getTextureManager().

bindTexture(texture);

 

drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize);

 

int i1;

 

if(this.macerator.hasPower()){

i1 = this.macerator.getPowerRemainingScaled(45);

this.drawTexturedModalRect(guiLeft + 8, guiTop + 53 - i1, 176, 62 - i1, 16, i1);

}

 

i1 = this.macerator.getCookProgressScaled(24);

this.drawTexturedModalRect(guiLeft + 79, guiTop + 34, 176, 0, i1 + 1, 16);

}

}

Link to comment
Share on other sites

Heres the hole class i dont know why it dont work

 

 

public class GuiHandler implements IGuiHandler {

public GuiHandler() {

NetworkRegistry.instance().registerGuiHandler(MainRegistry.instance, this);

}

 

@Override

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

TileEntity entity = world.getBlockTileEntity(x, y, z);

 

if(entity != null){

switch (id) {

              case MainRegistry.guiIdMacerator:

                  if (entity instanceof TileEntityMacerator) {

                    return new ContainerMacerator(player.inventory, (TileEntityMacerator) entity);

                  }

                    break;

 

                 

              case MainRegistry.guiIdDarkIronFurance:

                  if (entity instanceof TileEntityDarkIronFurnace) {

                      return new DarkIronFurnaceContainer(player.inventory, (TileEntityDarkIronFurnace) entity);

                  }

                  break;

              }

 

            }

       

return null;

}

 

 

 

 

@Override

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

TileEntity entity = world.getBlockTileEntity(x, y, z);

 

if(entity != null){

switch (id) {

              case MainRegistry.guiIdMacerator:

                  if (entity instanceof TileEntityMacerator) {

                    return new ContainerMacerator(player.inventory, (TileEntityMacerator) entity);

                  }

                    break;

               

                 

              case MainRegistry.guiIdDarkIronFurance:

                  if (entity instanceof TileEntityDarkIronFurnace) {

                      return new DarkIronFurnaceContainer(player.inventory, (TileEntityDarkIronFurnace) entity);

                  }

                  break;

              }

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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hey, Me and my friends decided to start up a Server with "a few" mods, the last few days everything went well we used all the items we wanted. Now our Game crashes the moment we touch a Lava Bucket inside our Inventory. It just instantly closes and gives me an "Alc Cleanup"  Crash screen (Using GDLauncher). I honestly dont have a clue how to resolve this error. If anyone could help id really appreciate it, I speak German and Englisch so you can choose whatever you speak more fluently. Thanks in Advance. Plus I dont know how to link my Crash Report help for that would be nice too whoops
    • I hosted a minecraft server and I modded it, and there is always an error on the console which closes the server. If someone knows how to repair it, it would be amazing. Thank you. I paste the crash report down here: ---- Minecraft Crash Report ---- WARNING: coremods are present:   llibrary (llibrary-core-1.0.11-1.12.2.jar)   WolfArmorCore (WolfArmorAndStorage-1.12.2-3.8.0-universal-signed.jar)   AstralCore (astralsorcery-1.12.2-1.10.27.jar)   CreativePatchingLoader (CreativeCore_v1.10.71_mc1.12.2.jar)   SecurityCraftLoadingPlugin ([1.12.2] SecurityCraft v1.9.8.jar)   ForgelinPlugin (Forgelin-1.8.4.jar)   midnight (themidnight-0.3.5.jar)   FutureMC (Future-MC-0.2.19.jar)   SpartanWeaponry-MixinLoader (SpartanWeaponry-1.12.2-1.5.3.jar)   Backpacked (backpacked-1.4.3-1.12.2.jar)   LoadingPlugin (Reskillable-1.12.2-1.13.0.jar)   LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3.jar) Contact their authors BEFORE contacting forge // There are four lights! Time: 3/28/24 12:17 PM Description: Exception in server tick loop net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient     at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:89)     at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:612)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)     at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)     at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)     at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)     at com.google.common.eventbus.EventBus.post(EventBus.java:217)     at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)     at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)     at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)     at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)     at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)     at com.google.common.eventbus.EventBus.post(EventBus.java:217)     at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)     at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:595)     at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98)     at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333)     at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)     at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient     at java.lang.Class.getDeclaredMethods0(Native Method)     at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)     at java.lang.Class.privateGetPublicMethods(Class.java:2902)     at java.lang.Class.getMethods(Class.java:1615)     at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:82)     at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:82)     ... 31 more Caused by: java.lang.ClassNotFoundException: net.minecraft.client.multiplayer.WorldClient     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)     at java.lang.ClassLoader.loadClass(ClassLoader.java:418)     at java.lang.ClassLoader.loadClass(ClassLoader.java:351)     ... 37 more Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@4e558728 from coremod FMLCorePlugin     at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:260)     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)     ... 39 more Caused by: java.lang.RuntimeException: Attempted to load class bsb for invalid side SERVER     at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:62)     at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:256)     ... 41 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.12.2     Operating System: Linux (amd64) version 5.10.0-28-cloud-amd64     Java Version: 1.8.0_382, Temurin     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Temurin     Memory: 948745536 bytes (904 MB) / 1564999680 bytes (1492 MB) up to 7635730432 bytes (7282 MB)     JVM Flags: 2 total; -Xmx8192M -Xms256M     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP 9.42 Powered by Forge 14.23.5.2860 63 mods loaded, 63 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     | State | ID                 | Version                 | Source                                                | Signature                                |     |:----- |:------------------ |:----------------------- |:----------------------------------------------------- |:---------------------------------------- |     | LC    | minecraft          | 1.12.2                  | minecraft.jar                                         | None                                     |     | LC    | mcp                | 9.42                    | minecraft.jar                                         | None                                     |     | LC    | FML                | 8.0.99.99               | forge-1.12.2-14.23.5.2860.jar                         | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LC    | forge              | 14.23.5.2860            | forge-1.12.2-14.23.5.2860.jar                         | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LC    | creativecoredummy  | 1.0.0                   | minecraft.jar                                         | None                                     |     | LC    | backpacked         | 1.4.2                   | backpacked-1.4.3-1.12.2.jar                           | None                                     |     | LC    | itemblacklist      | 1.4.3                   | ItemBlacklist-1.4.3.jar                               | None                                     |     | LC    | securitycraft      | v1.9.8                  | [1.12.2] SecurityCraft v1.9.8.jar                     | None                                     |     | LC    | aiimprovements     | 0.0.1.3                 | AIImprovements-1.12-0.0.1b3.jar                       | None                                     |     | LC    | jei                | 4.16.1.301              | jei_1.12.2-4.16.1.301.jar                             | None                                     |     | LC    | appleskin          | 1.0.14                  | AppleSkin-mc1.12-1.0.14.jar                           | None                                     |     | LC    | baubles            | 1.5.2                   | Baubles-1.12-1.5.2.jar                                | None                                     |     | LC    | astralsorcery      | 1.10.27                 | astralsorcery-1.12.2-1.10.27.jar                      | a0f0b759d895c15ceb3e3bcb5f3c2db7c582edf0 |     | LC    | attributefix       | 1.0.12                  | AttributeFix-Forge-1.12.2-1.0.12.jar                  | None                                     |     | LC    | atum               | 2.0.20                  | Atum-1.12.2-2.0.20.jar                                | None                                     |     | LC    | bloodmoon          | 1.5.3                   | Bloodmoon-MC1.12.2-1.5.3.jar                          | d72e0dd57935b3e9476212aea0c0df352dd76291 |     | LC    | forgelin           | 1.8.4                   | Forgelin-1.8.4.jar                                    | None                                     |     | LC    | bountiful          | 2.2.2                   | Bountiful-2.2.2.jar                                   | None                                     |     | LC    | camera             | 1.0.10                  | camera-1.0.10.jar                                     | None                                     |     | LC    | chisel             | MC1.12.2-1.0.2.45       | Chisel-MC1.12.2-1.0.2.45.jar                          | None                                     |     | LC    | collective         | 3.0                     | collective-1.12.2-3.0.jar                             | None                                     |     | LC    | reskillable        | 1.12.2-1.13.0           | Reskillable-1.12.2-1.13.0.jar                         | None                                     |     | LC    | compatskills       | 1.12.2-1.17.0           | CompatSkills-1.12.2-1.17.0.jar                        | None                                     |     | LC    | creativecore       | 1.10.0                  | CreativeCore_v1.10.71_mc1.12.2.jar                    | None                                     |     | LC    | customnpcs         | 1.12                    | CustomNPCs_1.12.2-(05Jul20).jar                       | None                                     |     | LC    | darknesslib        | 1.1.2                   | DarknessLib-1.12.2-1.1.2.jar                          | 220f10d3a93b3ff5fbaa7434cc629d863d6751b9 |     | LC    | dungeonsmod        | @VERSION@               | DungeonsMod-1.12.2-1.0.8.jar                          | None                                     |     | LC    | enhancedvisuals    | 1.3.0                   | EnhancedVisuals_v1.4.4_mc1.12.2.jar                   | None                                     |     | LC    | extrautils2        | 1.0                     | extrautils2-1.12-1.9.9.jar                            | None                                     |     | LC    | futuremc           | 0.2.6                   | Future-MC-0.2.19.jar                                  | None                                     |     | LC    | geckolib3          | 3.0.30                  | geckolib-forge-1.12.2-3.0.31.jar                      | None                                     |     | LC    | gottschcore        | 1.15.1                  | GottschCore-mc1.12.2-f14.23.5.2859-v1.15.1.jar        | None                                     |     | LC    | hardcorerevival    | 1.2.0                   | HardcoreRevival_1.12.2-1.2.0.jar                      | None                                     |     | LC    | waila              | 1.8.26                  | Hwyla-1.8.26-B41_1.12.2.jar                           | None                                     |     | LE    | imsm               | 1.12                    | Instant Massive Structures Mod 1.12.2.jar             | None                                     |     | L     | journeymap         | 1.12.2-5.7.1p2          | journeymap-1.12.2-5.7.1p2.jar                         | None                                     |     | L     | mobsunscreen       | @version@               | mobsunscreen-1.12.2-3.1.5.jar                         | None                                     |     | L     | morpheus           | 1.12.2-3.5.106          | Morpheus-1.12.2-3.5.106.jar                           | None                                     |     | L     | llibrary           | 1.7.20                  | llibrary-1.7.20-1.12.2.jar                            | None                                     |     | L     | mowziesmobs        | 1.5.8                   | mowziesmobs-1.5.8.jar                                 | None                                     |     | L     | nocubessrparmory   | 3.0.0                   | NoCubes_SRP_Combat_Addon_3.0.0.jar                    | None                                     |     | L     | nocubessrpnests    | 3.0.0                   | NoCubes_SRP_Nests_Addon_3.0.0.jar                     | None                                     |     | L     | nocubessrpsurvival | 3.0.0                   | NoCubes_SRP_Survival_Addon_3.0.0.jar                  | None                                     |     | L     | nocubesrptweaks    | V4.1                    | nocubesrptweaks-V4.1.jar                              | None                                     |     | L     | patchouli          | 1.0-23.6                | Patchouli-1.0-23.6.jar                                | None                                     |     | L     | artifacts          | 1.1.2                   | RLArtifacts-1.1.2.jar                                 | None                                     |     | L     | rsgauges           | 1.2.8                   | rsgauges-1.12.2-1.2.8.jar                             | None                                     |     | L     | rustic             | 1.1.7                   | rustic-1.1.7.jar                                      | None                                     |     | L     | silentlib          | 3.0.13                  | SilentLib-1.12.2-3.0.14+168.jar                       | None                                     |     | L     | scalinghealth      | 1.3.37                  | ScalingHealth-1.12.2-1.3.42+147.jar                   | None                                     |     | L     | lteleporters       | 1.12.2-3.0.2            | simpleteleporters-1.12.2-3.0.2.jar                    | None                                     |     | L     | spartanshields     | 1.5.5                   | SpartanShields-1.12.2-1.5.5.jar                       | None                                     |     | L     | spartanweaponry    | 1.5.3                   | SpartanWeaponry-1.12.2-1.5.3.jar                      | None                                     |     | L     | srparasites        | 1.9.18                  | SRParasites-1.12.2v1.9.18.jar                         | None                                     |     | L     | treasure2          | 2.2.0                   | Treasure2-mc1.12.2-f14.23.5.2859-v2.2.1.jar           | None                                     |     | L     | treeharvester      | 4.0                     | treeharvester_1.12.2-4.0.jar                          | None                                     |     | L     | twilightforest     | 3.11.1021               | twilightforest-1.12.2-3.11.1021-universal.jar         | None                                     |     | L     | variedcommodities  | 1.12.2                  | VariedCommodities_1.12.2-(31Mar23).jar                | None                                     |     | L     | voicechat          | 1.12.2-2.4.32           | voicechat-forge-1.12.2-2.4.32.jar                     | None                                     |     | L     | wolfarmor          | 3.8.0                   | WolfArmorAndStorage-1.12.2-3.8.0-universal-signed.jar | None                                     |     | L     | worldborder        | 2.3                     | worldborder_1.12.2-2.3.jar                            | None                                     |     | L     | midnight           | 0.3.5                   | themidnight-0.3.5.jar                                 | None                                     |     | L     | structurize        | 1.12.2-0.10.277-RELEASE | structurize-1.12.2-0.10.277-RELEASE.jar               | None                                     |     Loaded coremods (and transformers):  llibrary (llibrary-core-1.0.11-1.12.2.jar)   net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer   net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher WolfArmorCore (WolfArmorAndStorage-1.12.2-3.8.0-universal-signed.jar)    AstralCore (astralsorcery-1.12.2-1.10.27.jar)    CreativePatchingLoader (CreativeCore_v1.10.71_mc1.12.2.jar)    SecurityCraftLoadingPlugin ([1.12.2] SecurityCraft v1.9.8.jar)    ForgelinPlugin (Forgelin-1.8.4.jar)    midnight (themidnight-0.3.5.jar)   com.mushroom.midnight.core.transformer.MidnightClassTransformer FutureMC (Future-MC-0.2.19.jar)   thedarkcolour.futuremc.asm.CoreTransformer SpartanWeaponry-MixinLoader (SpartanWeaponry-1.12.2-1.5.3.jar)    Backpacked (backpacked-1.4.3-1.12.2.jar)   com.mrcrayfish.backpacked.asm.BackpackedTransformer LoadingPlugin (Reskillable-1.12.2-1.13.0.jar)   codersafterdark.reskillable.base.asm.ClassTransformer LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3.jar)   lumien.bloodmoon.asm.ClassTransformer     Profiler Position: N/A (disabled)     Is Modded: Definitely; Server brand changed to 'fml,forge'     Type: Dedicated Server (map_server.txt)
    • When i add mods like falling leaves, visuality and kappas shaders, even if i restart Minecraft they dont show up in the mods menu and they dont work
    • Delete the forge-client.toml file in your config folder  
    • If you are using AMD/ATI, get the latest drivers from their website - do not update via system  
  • Topics

×
×
  • Create New...

Important Information

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