Jump to content

Opening GuiScreen?


TLHPoE

Recommended Posts

I'm trying to open a GUI that extends GuiScreen, but nothing seems to happen. I put a check to see if my GUI handler was working, and it was.

 

GuiStats:

 

package net.rpg.gui;

import java.util.Iterator;

import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiMainMenu;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.multiplayer.WorldClient;
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.ResourceLocation;
import net.rpg.Util;
import net.rpg.handler.ExtendedPlayerHandler;

import org.lwjgl.opengl.GL11;

public class GuiStats extends GuiScreen
{

private int coolDown;
    private int xSize = 176;
    private int ySize = 166;

    private EntityPlayer player;
    private ExtendedPlayerHandler extendedPlayer;
    
private static final ResourceLocation texture = new ResourceLocation(Util.RESOURCE_START + "/stats");

public GuiStats(EntityPlayer player)
{

	Util.print("HELLO?");

	this.player = player;

	try
	{

		this.extendedPlayer = (ExtendedPlayerHandler)player.getExtendedProperties(ExtendedPlayerHandler.EXT_PROP_NAME);

	}
	catch(Exception e)
	{

		Util.print("Couldn't get stats for " + player.username + "!!!");

	}

}

@Override
    public void initGui()
    {

        this.buttonList.clear();
        
        if (this.mc.theWorld.getWorldInfo().isHardcoreModeEnabled())
        {
        	
            if (this.mc.isIntegratedServerRunning())
            {
            	
                this.buttonList.add(new GuiButton(1, this.width / 2 - 100, this.height / 4 + 96, I18n.getString("deathScreen.deleteWorld")));
                
            }
            else
            {
            	
                this.buttonList.add(new GuiButton(1, this.width / 2 - 100, this.height / 4 + 96, I18n.getString("deathScreen.leaveServer")));
                
            }
            
        }
        else
        {
        	
            this.buttonList.add(new GuiButton(1, this.width / 2 - 100, this.height / 4 + 72, I18n.getString("deathScreen.respawn")));
            this.buttonList.add(new GuiButton(2, this.width / 2 - 100, this.height / 4 + 96, I18n.getString("deathScreen.titleScreen")));

            if (this.mc.getSession() == null)
            {
            	
                ((GuiButton)this.buttonList.get(1)).enabled = false;
                
            }
            
        }

        GuiButton guibutton;

        for (Iterator iterator = this.buttonList.iterator(); iterator.hasNext(); guibutton.enabled = false)
        {
        	
            guibutton = (GuiButton)iterator.next();
            
        }
        
    }

@Override
protected void keyTyped(char par1, int par2)
{



}

    @Override
    public void drawScreen(int par1, int par2, float par3)
    {
    	
        this.drawGradientRect(0, 0, this.width, this.height, 1615855616, -1602211792);
        GL11.glPushMatrix();
        GL11.glScalef(2.0F, 2.0F, 2.0F);
        this.drawCenteredString(this.fontRenderer, EnumChatFormatting.YELLOW + "Race: ", this.width / 2 / 2, 30, 16777215);
        GL11.glPopMatrix();
        
        //this.drawCenteredString(this.fontRenderer, I18n.getString("deathScreen.hardcoreInfo"), this.width / 2, 144, 16777215);
        //this.drawCenteredString(this.fontRenderer, I18n.getString("deathScreen.score") + ": " + EnumChatFormatting.YELLOW + this.mc.thePlayer.getScore(), this.width / 2, 100, 16777215);
        
        super.drawScreen(par1, par2, par3);
        
    }

    @Override
    protected void actionPerformed(GuiButton button)
    {
    	
        switch(button.id)
        {
        
        case(1):
        {
        	
        	this.mc.thePlayer.respawnPlayer();
            this.mc.displayGuiScreen((GuiScreen)null);
            break;
        	
        }
        case(2):
        {
        	
        	this.mc.theWorld.sendQuittingDisconnectingPacket();
            this.mc.loadWorld((WorldClient)null);
            this.mc.displayGuiScreen(new GuiMainMenu());
        	
        }
        
        }
        
    }
    
    @Override
    public void updateScreen()
    {
        super.updateScreen();
        
        ++this.coolDown;
        GuiButton guibutton;

        if (this.coolDown == 20)
        {
        	
            for (Iterator iterator = this.buttonList.iterator(); iterator.hasNext(); guibutton.enabled = true)
            {
            	
                guibutton = (GuiButton)iterator.next();
                
            }
            
        }
        
    }

    @Override
    public boolean doesGuiPauseGame()
    {
    	
        return true;
        
    }
    
}

 

 

GuiHandler:

 

package net.rpg.handler;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
import net.rpg.Util;
import net.rpg.gui.GuiChooseRace;
import net.rpg.gui.GuiStats;
import net.rpg.helper.GuiHelper;
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)
{

	return null;

}

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

	switch(ID)
	{

	case(0):
	{

		return new GuiStats(player);

	}

	case(1):
	{

		return new GuiChooseRace();

	}

	}

	return null;

}

}

 

 

Code I use to open it:

player.openGui(RPG.instance, 0, player.worldObj, (int) player.posX, (int) player.posY, (int) player.posZ);

Kain

Link to comment
Share on other sites

Nothing seems to happen? try printing out in your getClientGuiElement() void and post the results. If it doesn't print you've either registered your handler incorrectly or the opening code isn't being run.

 

Also switch cases do not need the brackets. That is an eyesore.

I think its my java of the variables.

Link to comment
Share on other sites

Nothing seems to happen? try printing out in your getClientGuiElement() void and post the results. If it doesn't print you've either registered your handler incorrectly or the opening code isn't being run.

 

Also switch cases do not need the brackets. That is an eyesore.

 

Oh. I just tried putting a print in, and it turns out that it doesn't call the Client side thing. But it does call the server side...

Kain

Link to comment
Share on other sites

forge will only send a gui packet when getServerGuiElement returns a Container.As you don't have a container the gui will be entirely client sided so you can call EntityPlayer#openGui from the client only, like Diesieben said.

Author of PneumaticCraft, MineChess, Minesweeper Mod and Sokoban Mod. Visit www.minemaarten.com to take a look at them.

Link to comment
Share on other sites

I tried it like this:

 

		if(player.worldObj.isRemote)
		{

			player.openGui(RPG.instance, 0, player.worldObj, (int) player.posX, (int) player.posY, (int) player.posZ);

		}

 

Didn't call the client method?

 

Do I need a container?

 

Sorry if I sound a bit dumb, today has not been my brightest day.

Kain

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

    • ironically it is a create based modpack so i need help understanding whats contradicting it 
    • An unexpected issue occurred and the game has crashed. (Exit Code 1) Heres the crash report (there are mods btw) [16:25:39] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [16:25:39] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [16:25:39] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [16:25:39] [main/INFO]: Forge Mod Loader version 14.23.5.2859 for Minecraft 1.12.2 loading [16:25:39] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\bruiser\curseforge\minecraft\Install\runtime\jre-legacy\windows-x64\jre-legacy [16:25:40] [main/INFO]: Searching C:\Users\bruiser\curseforge\minecraft\Instances\Fnaf 6\mods for mods [16:25:40] [main/INFO]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from 3dSkinLayers-forge-mc1.12.2-1.2.0.jar [16:25:40] [main/INFO]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from [1.12.2] SecurityCraft v1.9.9.jar [16:25:40] [main/INFO]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from [___MixinCompat-1.1-1.12.2___].jar [16:25:40] [main/INFO]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from _supermartijn642corelib-1.1.17-forge-mc1.12.jar [16:25:40] [main/INFO]: Loading tweaker guichaguri.betterfps.tweaker.BetterFpsTweaker from BetterFps-1.4.8.jar [16:25:40] [main/INFO]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from controllable-0.11.2-1.12.2.jar [16:25:40] [main/WARN]: Found FMLCorePluginContainsFMLMod marker in CreativeCore_v1.10.71_mc1.12.2.jar. This is not recommended, @Mods should be in a separate jar from the coremod. [16:25:40] [main/WARN]: The coremod com.creativemd.creativecore.core.CreativePatchingLoader does not have a MCVersion annotation, it may cause issues with this version of Minecraft [16:25:40] [main/WARN]: The coremod CreativePatchingLoader (com.creativemd.creativecore.core.CreativePatchingLoader) is not signed! [16:25:40] [main/WARN]: Found FMLCorePluginContainsFMLMod marker in CTM-MC1.12.2-1.0.2.31.jar. This is not recommended, @Mods should be in a separate jar from the coremod. [16:25:40] [main/WARN]: The coremod team.chisel.ctm.client.asm.CTMCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [16:25:40] [main/WARN]: The coremod CTMCorePlugin (team.chisel.ctm.client.asm.CTMCorePlugin) is not signed! [16:25:40] [main/WARN]: Found FMLCorePluginContainsFMLMod marker in ears-forge-1.12-1.4.6.jar. This is not recommended, @Mods should be in a separate jar from the coremod. [16:25:40] [main/WARN]: The coremod com.unascribed.ears.common.agent.NewForgeCoremod does not have a MCVersion annotation, it may cause issues with this version of Minecraft [16:25:40] [main/WARN]: The coremod Ears (com.unascribed.ears.common.agent.NewForgeCoremod) is not signed! [16:25:40] [main/INFO]: Loading tweaker gg.essential.loader.stage0.EssentialSetupTweaker from essential_1-3-2-2_forge_1-12-2.jar [16:25:40] [main/INFO]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from malisiscore-1.12.2-6.5.1.jar [16:25:40] [main/INFO]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from movingelevators-1.4.7-forge-mc1.12.jar [16:25:40] [main/INFO]: Loading tweaker optifine.OptiFineForgeTweaker from OptiFine_1.12.2_HD_U_G5.jar [16:25:40] [main/WARN]: The coremod shetiphian.asm.TweakPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [16:25:40] [main/WARN]: The coremod ShetiPhian-ASM (shetiphian.asm.TweakPlugin) is not signed! [16:25:40] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [16:25:40] [main/INFO]: Loading tweak class name org.spongepowered.asm.launch.MixinTweaker [16:25:40] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/bruiser/curseforge/minecraft/Instances/Fnaf%206/mods/3dSkinLayers-forge-mc1.12.2-1.2.0.jar Service=LaunchWrapper Env=CLIENT [16:25:41] [main/DEBUG]: Instantiating coremod class SecurityCraftLoadingPlugin [16:25:41] [main/DEBUG]: The coremod net.geforcemods.securitycraft.SecurityCraftLoadingPlugin requested minecraft version 1.12.2 and minecraft is 1.12.2. It will be loaded. [16:25:41] [main/WARN]: The coremod SecurityCraftLoadingPlugin (net.geforcemods.securitycraft.SecurityCraftLoadingPlugin) is not signed! [16:25:41] [main/INFO]: Compatibility level set to JAVA_8 [16:25:41] [main/DEBUG]: Enqueued coremod SecurityCraftLoadingPlugin [16:25:41] [main/DEBUG]: Instantiating coremod class CoreModPlugin [16:25:41] [main/TRACE]: coremod named SuperMartijn642's Core Lib Plugin is loading [16:25:41] [main/DEBUG]: The coremod com.supermartijn642.core.coremod.CoreModPlugin requested minecraft version 1.12.2 and minecraft is 1.12.2. It will be loaded. [16:25:41] [main/WARN]: The coremod SuperMartijn642's Core Lib Plugin (com.supermartijn642.core.coremod.CoreModPlugin) is not signed! [16:25:41] [main/DEBUG]: Added access transformer class com/supermartijn642/core/coremod/CoreLibAccessTransformer to enqueued access transformers [16:25:41] [main/DEBUG]: Enqueued coremod SuperMartijn642's Core Lib Plugin [16:25:41] [main/DEBUG]: Instantiating coremod class ControllablePlugin [16:25:41] [main/TRACE]: coremod named Controllable is loading [16:25:41] [main/DEBUG]: The coremod com.mrcrayfish.controllable.asm.ControllablePlugin requested minecraft version 1.12.2 and minecraft is 1.12.2. It will be loaded. [16:25:41] [main/DEBUG]: Found signing certificates for coremod Controllable (com.mrcrayfish.controllable.asm.ControllablePlugin) [16:25:41] [main/DEBUG]: Found certificate 4d54165f7f65cf475bf13341569655b980a5b430 [16:25:41] [main/DEBUG]: Added access transformer class com.mrcrayfish.controllable.asm.ControllableAccessTransformer to enqueued access transformers [16:25:41] [main/DEBUG]: Enqueued coremod Controllable [16:25:41] [main/DEBUG]: Instantiating coremod class MalisisCorePlugin [16:25:41] [main/WARN]: The coremod net.malisis.core.asm.MalisisCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [16:25:41] [main/WARN]: The coremod MalisisCorePlugin (net.malisis.core.asm.MalisisCorePlugin) is not signed! [16:25:41] [main/DEBUG]: Enqueued coremod MalisisCorePlugin [16:25:41] [main/DEBUG]: Instantiating coremod class CoreMod [16:25:41] [main/TRACE]: coremod named Moving Elevators Plugin is loading [16:25:41] [main/DEBUG]: The coremod com.supermartijn642.movingelevators.core.CoreMod requested minecraft version 1.12.2 and minecraft is 1.12.2. It will be loaded. [16:25:41] [main/WARN]: The coremod Moving Elevators Plugin (com.supermartijn642.movingelevators.core.CoreMod) is not signed! [16:25:41] [main/DEBUG]: Enqueued coremod Moving Elevators Plugin [16:25:41] [main/WARN]: Tweak class name org.spongepowered.asm.launch.MixinTweaker has already been visited -- skipping [16:25:41] [main/WARN]: Tweak class name org.spongepowered.asm.launch.MixinTweaker has already been visited -- skipping [16:25:41] [main/WARN]: Tweak class name org.spongepowered.asm.launch.MixinTweaker has already been visited -- skipping [16:25:41] [main/INFO]: Loading tweak class name guichaguri.betterfps.tweaker.BetterFpsTweaker [16:25:41] [main/WARN]: Tweak class name org.spongepowered.asm.launch.MixinTweaker has already been visited -- skipping [16:25:41] [main/INFO]: Loading tweak class name gg.essential.loader.stage0.EssentialSetupTweaker [16:25:42] [main/INFO]: Starting Essential Loader (stage2) version 1.6.0 (b0b46ed40e44f9aaf7086a0d8c46a674) [stable] [16:25:45] [main/WARN]: Tweak class name org.spongepowered.asm.launch.MixinTweaker has already been visited -- skipping [16:25:45] [main/WARN]: Tweak class name org.spongepowered.asm.launch.MixinTweaker has already been visited -- skipping [16:25:45] [main/INFO]: Loading tweak class name optifine.OptiFineForgeTweaker [16:25:45] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [16:25:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [16:25:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [16:25:45] [main/INFO]: Calling tweak class optifine.OptiFineForgeTweaker [16:25:45] [main/INFO]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: acceptOptions [16:25:45] [main/INFO]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: injectIntoClassLoader [16:25:45] [main/INFO]: [optifine.OptiFineClassTransformer:dbg:242]: OptiFine ClassTransformer [16:25:45] [main/INFO]: [optifine.OptiFineClassTransformer:dbg:242]: OptiFine ZIP file: C:\Users\bruiser\curseforge\minecraft\Instances\Fnaf 6\mods\OptiFine_1.12.2_HD_U_G5.jar [16:25:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [16:25:45] [main/DEBUG]: Injecting coremod FMLCorePlugin \{net.minecraftforge.fml.relauncher.FMLCorePlugin\} class transformers [16:25:45] [main/TRACE]: Registering transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer [16:25:45] [main/TRACE]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriptionTransformer [16:25:45] [main/TRACE]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriberTransformer [16:25:45] [main/TRACE]: Registering transformer net.minecraftforge.fml.common.asm.transformers.SoundEngineFixTransformer [16:25:45] [main/DEBUG]: Injection complete [16:25:45] [main/DEBUG]: Running coremod plugin for FMLCorePlugin \{net.minecraftforge.fml.relauncher.FMLCorePlugin\} [16:25:45] [main/DEBUG]: Running coremod plugin FMLCorePlugin [16:25:49] [main/INFO]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557 [16:25:49] [main/INFO]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc [16:25:49] [main/DEBUG]: Coremod plugin class FMLCorePlugin run successfully [16:25:49] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [16:25:49] [main/DEBUG]: Injecting coremod FMLForgePlugin \{net.minecraftforge.classloading.FMLForgePlugin\} class transformers [16:25:49] [main/DEBUG]: Injection complete [16:25:49] [main/DEBUG]: Running coremod plugin for FMLForgePlugin \{net.minecraftforge.classloading.FMLForgePlugin\} [16:25:49] [main/DEBUG]: Running coremod plugin FMLForgePlugin [16:25:49] [main/DEBUG]: Coremod plugin class FMLForgePlugin run successfully [16:25:49] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [16:25:49] [main/DEBUG]: Injecting coremod CreativePatchingLoader \{com.creativemd.creativecore.core.CreativePatchingLoader\} class transformers [16:25:49] [main/DEBUG]: Injection complete [16:25:49] [main/DEBUG]: Running coremod plugin for CreativePatchingLoader \{com.creativemd.creativecore.core.CreativePatchingLoader\} [16:25:49] [main/DEBUG]: Running coremod plugin CreativePatchingLoader [16:25:50] [main/DEBUG]: Coremod plugin class CreativePatchingLoader run successfully [16:25:50] [main/INFO]: Calling tweak class org.spongepowered.asm.launch.MixinTweaker [16:25:50] [main/ERROR]: Mixin config 3dskinlayers.mixins.json does not specify "minVersion" property [16:25:50] [main/ERROR]: Mixin config mixins.mixincompat.json does not specify "minVersion" property [16:25:50] [main/INFO]: Initialised Mixin FML Remapper Adapter with net.minecraftforge.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper@3e0855b0 [16:25:50] [main/DEBUG]: Injecting coremod SecurityCraftLoadingPlugin \{net.geforcemods.securitycraft.SecurityCraftLoadingPlugin\} class transformers [16:25:50] [main/DEBUG]: Injection complete [16:25:50] [main/DEBUG]: Running coremod plugin for SecurityCraftLoadingPlugin \{net.geforcemods.securitycraft.SecurityCraftLoadingPlugin\} [16:25:50] [main/DEBUG]: Running coremod plugin SecurityCraftLoadingPlugin [16:25:50] [main/DEBUG]: Coremod plugin class SecurityCraftLoadingPlugin run successfully [16:25:50] [main/DEBUG]: Injecting coremod SuperMartijn642's Core Lib Plugin \{com.supermartijn642.core.coremod.CoreModPlugin\} class transformers [16:25:50] [main/DEBUG]: Injection complete [16:25:50] [main/DEBUG]: Running coremod plugin for SuperMartijn642's Core Lib Plugin \{com.supermartijn642.core.coremod.CoreModPlugin\} [16:25:50] [main/DEBUG]: Running coremod plugin SuperMartijn642's Core Lib Plugin [16:25:50] [main/DEBUG]: Coremod plugin class CoreModPlugin run successfully [16:25:50] [main/DEBUG]: Injecting coremod Controllable \{com.mrcrayfish.controllable.asm.ControllablePlugin\} class transformers [16:25:50] [main/DEBUG]: Injection complete [16:25:50] [main/DEBUG]: Running coremod plugin for Controllable \{com.mrcrayfish.controllable.asm.ControllablePlugin\} [16:25:50] [main/DEBUG]: Running coremod plugin Controllable [16:25:50] [main/DEBUG]: Coremod plugin class ControllablePlugin run successfully [16:25:50] [main/DEBUG]: Injecting coremod MalisisCorePlugin \{net.malisis.core.asm.MalisisCorePlugin\} class transformers [16:25:50] [main/DEBUG]: Injection complete [16:25:50] [main/DEBUG]: Running coremod plugin for MalisisCorePlugin \{net.malisis.core.asm.MalisisCorePlugin\} [16:25:50] [main/DEBUG]: Running coremod plugin MalisisCorePlugin [16:25:50] [main/DEBUG]: Coremod plugin class MalisisCorePlugin run successfully [16:25:50] [main/DEBUG]: Injecting coremod Moving Elevators Plugin \{com.supermartijn642.movingelevators.core.CoreMod\} class transformers [16:25:50] [main/DEBUG]: Injection complete [16:25:50] [main/DEBUG]: Running coremod plugin for Moving Elevators Plugin \{com.supermartijn642.movingelevators.core.CoreMod\} [16:25:50] [main/DEBUG]: Running coremod plugin Moving Elevators Plugin [16:25:50] [main/DEBUG]: Coremod plugin class CoreMod run successfully [16:25:50] [main/INFO]: Calling tweak class gg.essential.loader.stage0.EssentialSetupTweaker [16:25:50] [main/INFO]: Calling tweak class guichaguri.betterfps.tweaker.BetterFpsTweaker [16:25:50] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [16:25:50] [main/DEBUG]: Validating minecraft [16:25:52] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [16:25:52] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [16:25:52] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [16:25:52] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [16:25:52] [main/INFO]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker [16:25:52] [main/INFO]: Loading tweak class name gg.essential.asm.compat.betterfps.tweaker.BetterFpsWrappingTweaker [16:25:52] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [16:25:52] [main/INFO]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker [16:25:52] [main/INFO]: Calling tweak class gg.essential.asm.compat.betterfps.tweaker.BetterFpsWrappingTweaker [16:25:52] [main/INFO]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: getLaunchArguments [16:25:52] [main/WARN]: Reference map 'mixins.mixincompat.refmap.json' for mixins.mixincompat.json could not be read. If this is a development environment you can ignore this message [16:25:53] [main/INFO]: Starting Essential v1.3.2.3 (#6a2d13e09b) [stable] [16:25:54] [main/INFO]: Patching net.minecraft.client.renderer.EntityRenderer... (buq) [16:25:54] [main/INFO]: A re-entrant transformer 'guichaguri.betterfps.transformers.PatcherTransformer' was detected and will no longer process meta class data [16:25:55] [main/INFO]: Attempting: Injection of Run Particle Override into Entity.createRunningParticles [16:25:55] [main/INFO]: Searching for: Entity.createRunningParticles (func_174808_Z) [16:25:55] [main/INFO]: Found Method: Entity.createRunningParticles [16:25:55] [main/INFO]: Injecting: Run Particle Override [16:25:56] [main/INFO]: [team.chisel.ctm.client.asm.CTMTransformer:preTransform:230]: Transforming Class [net.minecraftforge.client.ForgeHooksClient], Method [getDamageModel] [16:25:56] [main/INFO]: [team.chisel.ctm.client.asm.CTMTransformer:finishTransform:242]: Transforming net.minecraftforge.client.ForgeHooksClient Finished. [16:25:56] [main/INFO]: [team.chisel.ctm.client.asm.CTMTransformer:preTransform:230]: Transforming Class [net.minecraft.client.renderer.texture.TextureMap], Method [registerSprite] [16:25:56] [main/INFO]: [team.chisel.ctm.client.asm.CTMTransformer:finishTransform:242]: Transforming net.minecraft.client.renderer.texture.TextureMap Finished. [16:25:57] [main/WARN]: Re-entrance detected during prepare phase, this will cause serious problems. org.spongepowered.asm.mixin.transformer.throwables.ReEntrantTransformerError: Re-entrance error.     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:283) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [?:1.8.0_51]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_51]     at java.lang.Class.forName0(Native Method) ~[?:1.8.0_51]     at java.lang.Class.forName(Class.java:348) [?:1.8.0_51]     at com.unascribed.ears.common.agent.mini.asm.ClassWriter.getCommonSuperClass(ClassWriter.java:1017) [ears-forge-1.12-1.4.6.jar:?]     at com.unascribed.ears.common.agent.mini.asm.SymbolTable.addMergedType(SymbolTable.java:1202) [ears-forge-1.12-1.4.6.jar:?]     at com.unascribed.ears.common.agent.mini.asm.Frame.merge(Frame.java:1299) [ears-forge-1.12-1.4.6.jar:?]     at com.unascribed.ears.common.agent.mini.asm.Frame.merge(Frame.java:1197) [ears-forge-1.12-1.4.6.jar:?]     at com.unascribed.ears.common.agent.mini.asm.MethodWriter.computeAllFrames(MethodWriter.java:1610) [ears-forge-1.12-1.4.6.jar:?]     at com.unascribed.ears.common.agent.mini.asm.MethodWriter.visitMaxs(MethodWriter.java:1546) [ears-forge-1.12-1.4.6.jar:?]     at com.unascribed.ears.common.agent.mini.asm.tree.MethodNode.accept(MethodNode.java:769) [ears-forge-1.12-1.4.6.jar:?]     at com.unascribed.ears.common.agent.mini.asm.tree.MethodNode.accept(MethodNode.java:649) [ears-forge-1.12-1.4.6.jar:?]     at com.unascribed.ears.common.agent.mini.asm.tree.ClassNode.accept(ClassNode.java:452) [ears-forge-1.12-1.4.6.jar:?]     at com.unascribed.ears.common.agent.mini.MiniTransformer.transform(MiniTransformer.java:203) [ears-forge-1.12-1.4.6.jar:?]     at com.unascribed.ears.common.agent.EarsAgent.transform(EarsAgent.java:43) [ears-forge-1.12-1.4.6.jar:?]     at com.unascribed.ears.common.agent.TransformerAdapter.transform(TransformerAdapter.java:12) [ears-forge-1.12-1.4.6.jar:?]     at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:256) [ASMTransformerWrapper$TransformerWrapper.class:?]     at org.spongepowered.asm.service.mojang.LegacyTransformerHandle.transformClassBytes(LegacyTransformerHandle.java:80) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapper.applyTransformers(MixinServiceLaunchWrapper.java:548) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapper.getClassBytes(MixinServiceLaunchWrapper.java:514) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapper.getClassNode(MixinServiceLaunchWrapper.java:592) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.ClassInfo.forName(ClassInfo.java:2005) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinInfo.getTargetClass(MixinInfo.java:1017) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinInfo.readTargetClasses(MixinInfo.java:1007) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinInfo.parseTargets(MixinInfo.java:895) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinConfig.prepareMixins(MixinConfig.java:867) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinConfig.prepare(MixinConfig.java:775) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:539) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:462) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:438) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:290) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [?:1.8.0_51]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_51]     at java.lang.Class.forName0(Native Method) ~[?:1.8.0_51]     at java.lang.Class.forName(Class.java:348) [?:1.8.0_51]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] [16:25:57] [main/WARN]: Error loading class: net/minecraft/client/renderer/entity/layers/LayerElytra (net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer com.unascribed.ears.asm.PlatformTransformerAdapter@7bd7c4cf from coremod Ears) [16:25:57] [main/WARN]: @Mixin target net.minecraft.client.renderer.entity.layers.LayerElytra was not found mixins.essential.json:client.renderer.entity.Mixin_DisableElytraRendering [16:25:59] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main} [16:25:59] [main/INFO]: Patching net.minecraft.client.Minecraft... (bib) [16:25:59] [main/WARN]: Re-entrance detected, this will cause serious problems. org.spongepowered.asm.mixin.transformer.throwables.ReEntrantTransformerError: Re-entrance error.     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:352) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) [3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [?:1.8.0_51]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_51]     at net.minecraft.client.main.Main.main(SourceFile:38) [Main.class:?]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]     at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] [16:25:59] [main/ERROR]: Unable to launch java.lang.reflect.InvocationTargetException: null     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]     at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft     at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]     ... 6 more Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_51]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_51]     at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]     ... 6 more Caused by: org.spongepowered.asm.mixin.transformer.throwables.ReEntrantTransformerError: Re-entrance error.     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:352) ~[3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) ~[3dSkinLayers-forge-mc1.12.2-1.2.0.jar:?]     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_51]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_51]     at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]     ... 6 more [16:25:59] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException [16:25:59] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49) [16:25:59] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.lang.SecurityManager.checkExit(SecurityManager.java:761) [16:25:59] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.lang.Runtime.exit(Runtime.java:107) [16:25:59] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.lang.System.exit(System.java:971) [16:25:59] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:138) [16:25:59] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    • I downloaded Better MC BMC4, it didnt starts and say: "Error: java.lang.IllegalStateException: Config property is not linked yet" Exit-Code: -1   https://paste.ee/p/g7qO2
    • I am wanting to export my mod to a .zip file in IntelliJ version 2024.1 but cannot.   I am not sure what to do, the only options available to me are "Files or selection to HTML" and "Project to eclipse." A possible theory I have is that IntelliJ believes that my mod is a HTML file, though I am not sure whether I could change that or not. There is nothing I have found online about the missing zip option for exporting a file, so I am confused. I export a backup of my mod every time I add/edit something important, though I don't think I can do this currently. (I have tried to export as HTML though I did not think it would work).
  • Topics

×
×
  • Create New...

Important Information

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