• 0

    posted a message on [Creating Mods] Chewy2014's Modding Tutorials
    Quote from Stronghold257

    I need a bit of help. I'm making a backpack for portable storage(to clear out your main inventory), and I know what class files to edit(Item.java, GuiInventory.java, CraftingManager.java, and adding a few), but I don't know how to edit(GuiInventory.java, and the ones that I'm going to make). Anyone have some leads?


    I think some tutorial on this should be done. haven't found one anywhere.

    I think I've figured it out, let you know if it works.
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Chewy2014's Modding Tutorials
    Quote from MPx9

    I just started moding and could you tell me how to make a slab?
    I already have a block created, just need to know how to make it a slab. );

    Thanks for the help so far <3

    use the isOpaqueCube and renderAsNormalBlock and setBlockBounds()

    in your class:

    public boolean isOpaqueCube()
    {
        return false;
    }
    public boolean renderAsNormalBlock()
    {
        return true;
    }


    and in your constructor:

    setBlockBounds(0F, 0F, 0F, 1F, 0.5F, 1F);


    example:

    public class BlockMine extends Block{
    
    	protected BlockMine(int i, int j){
    		super(i, j, Material.rock);
    		setBlockBounds(0F, 0F, 0F, 1F, 0.5F, 1F);
    		
    	}
    	
    	public boolean isOpaqueCube()
        {
                return false;
        }
    	
    	public boolean renderAsNormalBlock()
        {
                return true;
        }
    }


    Look at how the Stone Slab block is made for more.
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    Quote from DreadKyller

    Ok, I have a question, I want to make a tool that does 0 damage, but pushes the block away from where the player is facing, like pushing a block. Hoever I have no idea how to first off:

    get the face that was clicked

    or how to:

    Set the velocity/gravity or position of an individual block, or any property for that matter, when I try setting a property it happens for all of that type of block in the whole world.

    Thanks in advanced.
    Posted in: Tutorials
  • 0

    posted a message on [Advanced Mob Making] Curves [7/7/2011]
    I don't get how this or the tutorial deals with minecraft at all.
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    I thought it's supposed to be
    (new BlockLantern(100, 0)).setHardness(0.0F).setResistance(0.0F).setLightValue(1.0F).setBlockName("lantern");


    that way you are creating a new BlockLantern and then setting stuff as compared to creating a new BlockLantern.setResistance.setLightValue.setBlockName which I guess doesn't make too much difference, just did not know you could do that and work.

    and the 1 is the image on the terrain.png yes, 0 is the first image, 1 is the second image on top row going right 2 is 3'rd and so forth, use something that's not used, count if you need to. each row is 16*16 images so just could by 16 and when you get to a spot subtract 1 from it.
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    Ok, I have a question, I want to make a tool that does 0 damage, but pushes the block away from where the player is facing, like pushing a block. Hoever I have no idea how to first off:

    get the face that was clicked

    or how to:

    Set the velocity/gravity or position of an individual block, or any property for that matter, when I try setting a property it happens for all of that type of block in the whole world.

    Thanks in advanced.
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    Quote from L337_Trooper

    Let me rephrase my question. If i want to add a texture override, do i make the folder in the /temp version of the minecraft folder?


    You can, I'm not sure if it will do anything, usually what I would do is compile it and then using a archiving program like 7zip or WinRar open the jar and create new files right in the jar.
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Chewy2014's Modding Tutorials
    Quote from Stronghold257

    Okay, I'v created an ore and it works. But, now how do I make it drop a certain item, like a dust?

    go into BlockOre and look at that, you can make your ore a new BlockOre() and then in BlockOre add another if statement.
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Chewy2014's Modding Tutorials
    as long as you mod a minecraft.jar that is not the same one you are editing, like copy the minecraft.jar in jars/bin and paste, and modify that. Then you wil have no interference, the compile does not compile the actual jar in %appdata%/roaming/.minecraft/bin it packs into the jar under the jars folder, so it will never change anything to your already modded minecraft, and yet you can still s=test your mod because they are two different jars. So yes.
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    um, it's directory is '/tutorials/emeraldore.png'
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Chewy2014's Modding Tutorials
    Quote from KFCFootlong

    Also, can i add mods to my original minecraft.jar without messing up what im doing with MCP & Eclipse?

    not sure what you mean by this, you can copy all the files into a different directory and edit them.
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Chewy2014's Modding Tutorials
    @KFCFootlong no, that will not help, it's the fact that your computer is not recconizing the OpenGL libraries and the sound libraries, go into your workspace and take the edited files and copy them (not move, copy) into your MCP/src/minecraft/net/minecraft/src folder and replace the old ones (back them up first however) and then run the recompile.bat and then test the client with start_client.bat
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader]Zid's Tutorials - Not Just ModLoader[12/04/2011]
    Quote from L337_Trooper

    I'm trying to do your tutorial... but you never told us where to save mod_Emeralds.java

    save it in the same place as every other java script, the net/minecraft/src folder that they were extracted into, everything goes in there unless modifying something in a different package, in which case it goes in that folder.
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Chewy2014's Modding Tutorials
    Quote from Nataru

    I have only one question so far, and that is where exactly do I find the terrain.png to add textures to? I can't seem to find it ._.'

    use an archiving program (like 7zip or WinRar) to open minecraft.jar, it's right in there with all the strange class names. Items is under GUI
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Chewy2014's Modding Tutorials
    Quote from Stronghold257

    @DreadKyller
    I did what you said to do, but it stills gives me errors.

    src\minecraft\net\minecraft\src\EnumArt.java:90: reached end of file while parsing
    static
    ^

    src\minecraft\net\minecraft\src\EnumOptions.java:97: reached end of file while parsing
    static
    ^

    Codes

    EnumArt.java

    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3) braces deadcode

    package net.minecraft.src;


    public enum EnumArt
    {
    Kebab("Kebab", 0, "Kebab", 16, 16, 0, 0),
    Aztec("Aztec", 1, "Aztec", 16, 16, 16, 0),
    Alban("Alban", 2, "Alban", 16, 16, 32, 0),
    Aztec2("Aztec2", 3, "Aztec2", 16, 16, 48, 0),
    Bomb("Bomb", 4, "Bomb", 16, 16, 64, 0),
    Plant("Plant", 5, "Plant", 16, 16, 80, 0),
    Wasteland("Wasteland", 6, "Wasteland", 16, 16, 96, 0),
    Pool("Pool", 7, "Pool", 32, 16, 0, 32),
    Courbet("Courbet", 8, "Courbet", 32, 16, 32, 32),
    Sea("Sea", 9, "Sea", 32, 16, 64, 32),
    Sunset("Sunset", 10, "Sunset", 32, 16, 96, 32),
    Creebet("Creebet", 11, "Creebet", 32, 16, 128, 32),
    Wanderer("Wanderer", 12, "Wanderer", 16, 32, 0, 64),
    Graham("Graham", 13, "Graham", 16, 32, 16, 64),
    Match("Match", 14, "Match", 32, 32, 0, 128),
    Bust("Bust", 15, "Bust", 32, 32, 32, 128),
    Stage("Stage", 16, "Stage", 32, 32, 64, 128),
    Void("Void", 17, "Void", 32, 32, 96, 128),
    SkullAndRoses("SkullAndRoses", 18, "SkullAndRoses", 32, 32, 128, 128),
    Fighters("Fighters", 19, "Fighters", 64, 32, 0, 96),
    Pointer("Pointer", 20, "Pointer", 64, 64, 0, 192),
    Pigscene("Pigscene", 21, "Pigscene", 64, 64, 64, 192),
    BurningSkull("BurningSkull", 22, "BurningSkull", 64, 64, 128, 192),
    Skeleton("Skeleton", 23, "Skeleton", 64, 48, 192, 64),
    DonkeyKong("DonkeyKong", 24, "DonkeyKong", 64, 48, 192, 112);
    /*
    public static EnumArt[] values()
    {
    return (EnumArt[])F.clone();
    }

    public static EnumArt valueOf(String s)
    {
    return (EnumArt)Enum.valueOf(net.minecraft.src.EnumArt.class, s);
    }
    */
    private EnumArt(String s, int i, String s1, int j, int k, int l, int i1)
    {
    // super(s, i);
    title = s1;
    sizeX = j;
    sizeY = k;
    offsetX = l;
    offsetY = i1;
    }
    /*
    public static final EnumArt Kebab;
    public static final EnumArt Aztec;
    public static final EnumArt Alban;
    public static final EnumArt Aztec2;
    public static final EnumArt Bomb;
    public static final EnumArt Plant;
    public static final EnumArt Wasteland;
    public static final EnumArt Pool;
    public static final EnumArt Courbet;
    public static final EnumArt Sea;
    public static final EnumArt Sunset;
    public static final EnumArt Creebet;
    public static final EnumArt Wanderer;
    public static final EnumArt Graham;
    public static final EnumArt Match;
    public static final EnumArt Bust;
    public static final EnumArt Stage;
    public static final EnumArt Void;
    public static final EnumArt SkullAndRoses;
    public static final EnumArt Fighters;
    public static final EnumArt Pointer;
    public static final EnumArt Pigscene;
    public static final EnumArt BurningSkull;
    public static final EnumArt Skeleton;
    public static final EnumArt DonkeyKong;
    */
    public static final int maxArtTitleLength = "SkullAndRoses".length();
    public final String title;
    public final int sizeX;
    public final int sizeY;
    public final int offsetX;
    public final int offsetY;
    private static final EnumArt F[]; /* synthetic field */

    static

    EnumOptions.java

    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3) braces deadcode

    package net.minecraft.src;


    public enum EnumOptions
    {
    MUSIC("MUSIC", 0, "options.music", true, false),
    SOUND("SOUND", 1, "options.sound", true, false),
    INVERT_MOUSE("INVERT_MOUSE", 2, "options.invertMouse", false, true),
    SENSITIVITY("SENSITIVITY", 3, "options.sensitivity", true, false),
    RENDER_DISTANCE("RENDER_DISTANCE", 4, "options.renderDistance", false, false),
    VIEW_BOBBING("VIEW_BOBBING", 5, "options.viewBobbing", false, true),
    ANAGLYPH("ANAGLYPH", 6, "options.anaglyph", false, true),
    ADVANCED_OPENGL("ADVANCED_OPENGL", 7, "options.advancedOpengl", false, true),
    FRAMERATE_LIMIT("FRAMERATE_LIMIT", 8, "options.framerateLimit", false, false),
    DIFFICULTY("DIFFICULTY", 9, "options.difficulty", false, false),
    GRAPHICS("GRAPHICS", 10, "options.graphics", false, false),
    AMBIENT_OCCLUSION("AMBIENT_OCCLUSION", 11, "options.ao", false, true),
    GUI_SCALE("GUI_SCALE", 12, "options.guiScale", false, false);
    /*
    public static EnumOptions[] values()
    {
    return (EnumOptions[])q.clone();
    }

    public static EnumOptions valueOf(String s)
    {
    return (EnumOptions)Enum.valueOf(net.minecraft.src.EnumOptions.class, s);
    }
    */
    public static EnumOptions getEnumOptions(int i)
    {
    EnumOptions aenumoptions[] = values();
    int j = aenumoptions.length;
    for(int k = 0; k < j; k++)
    {
    EnumOptions enumoptions = aenumoptions[k];
    if(enumoptions.returnEnumOrdinal() == i)
    {
    return enumoptions;
    }
    }

    return null;
    }

    private EnumOptions(String s, int i, String s1, boolean flag, boolean flag1)
    {
    // super(s, i);
    enumString = s1;
    enumFloat = flag;
    enumBoolean = flag1;
    }

    public boolean getEnumFloat()
    {
    return enumFloat;
    }

    public boolean getEnumBoolean()
    {
    return enumBoolean;
    }

    public int returnEnumOrdinal()
    {
    return ordinal();
    }

    public String getEnumString()
    {
    return enumString;
    }
    /*
    public static final EnumOptions MUSIC;
    public static final EnumOptions SOUND;
    public static final EnumOptions INVERT_MOUSE;
    public static final EnumOptions SENSITIVITY;
    public static final EnumOptions RENDER_DISTANCE;
    public static final EnumOptions VIEW_BOBBING;
    public static final EnumOptions ANAGLYPH;
    public static final EnumOptions ADVANCED_OPENGL;
    public static final EnumOptions LIMIT_FRAMERATE;
    public static final EnumOptions DIFFICULTY;
    public static final EnumOptions GRAPHICS;
    public static final EnumOptions AMBIENT_OCCLUSION;
    public static final EnumOptions GUI_SCALE;
    */
    private final boolean enumFloat;
    private final boolean enumBoolean;
    private final String enumString;
    private static final EnumOptions q[]; /* synthetic field */

    static

    um.. i wonder why... I mean only like 90% of your thing is commented out still by the /* */ and the last thing you have is static, I did not mean delete everything inside of the /* */ but delete the /* and the */'s themselves...

    EnumArt.java
    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3) braces deadcode
    
    package net.minecraft.src;
    
    
    public enum EnumArt
    {
    	Kebab("Kebab", 0, "Kebab", 16, 16, 0, 0),
    	Aztec("Aztec", 1, "Aztec", 16, 16, 16, 0),
    	Alban("Alban", 2, "Alban", 16, 16, 32, 0),
    	Aztec2("Aztec2", 3, "Aztec2", 16, 16, 48, 0),
    	Bomb("Bomb", 4, "Bomb", 16, 16, 64, 0),
    	Plant("Plant", 5, "Plant", 16, 16, 80, 0),
    	Wasteland("Wasteland", 6, "Wasteland", 16, 16, 96, 0),
    	Pool("Pool", 7, "Pool", 32, 16, 0, 32),
    	Courbet("Courbet", 8, "Courbet", 32, 16, 32, 32),
    	Sea("Sea", 9, "Sea", 32, 16, 64, 32),
    	Sunset("Sunset", 10, "Sunset", 32, 16, 96, 32),
    	Creebet("Creebet", 11, "Creebet", 32, 16, 128, 32),
    	Wanderer("Wanderer", 12, "Wanderer", 16, 32, 0, 64),
    	Graham("Graham", 13, "Graham", 16, 32, 16, 64),
    	Match("Match", 14, "Match", 32, 32, 0, 128),
    	Bust("Bust", 15, "Bust", 32, 32, 32, 128),
    	Stage("Stage", 16, "Stage", 32, 32, 64, 128),
    	Void("Void", 17, "Void", 32, 32, 96, 128),
    	SkullAndRoses("SkullAndRoses", 18, "SkullAndRoses", 32, 32, 128, 128),
    	Fighters("Fighters", 19, "Fighters", 64, 32, 0, 96),
    	Pointer("Pointer", 20, "Pointer", 64, 64, 0, 192),
    	Pigscene("Pigscene", 21, "Pigscene", 64, 64, 64, 192),
    	BurningSkull("BurningSkull", 22, "BurningSkull", 64, 64, 128, 192),
    	Skeleton("Skeleton", 23, "Skeleton", 64, 48, 192, 64),
    	DonkeyKong("DonkeyKong", 24, "DonkeyKong", 64, 48, 192, 112);
    	
    	public static EnumArt[] values()
    	{
    		return (EnumArt[])F.clone();
    	}
    
    	public static EnumArt valueOf(String s)
    	{
    		return (EnumArt)Enum.valueOf(net.minecraft.src.EnumArt.class, s);
    	}
    	private EnumArt(String s, int i, String s1, int j, int k, int l, int i1)
    	{
    		title = s1;
    		sizeX = j;
    		sizeY = k;
    		offsetX = l;
    		offsetY = i1;
    	}
    	public static final EnumArt Kebab;
    	public static final EnumArt Aztec;
    	public static final EnumArt Alban;
    	public static final EnumArt Aztec2;
    	public static final EnumArt Bomb;
    	public static final EnumArt Plant;
    	public static final EnumArt Wasteland;
    	public static final EnumArt Pool;
    	public static final EnumArt Courbet;
    	public static final EnumArt Sea;
    	public static final EnumArt Sunset;
    	public static final EnumArt Creebet;
    	public static final EnumArt Wanderer;
    	public static final EnumArt Graham;
    	public static final EnumArt Match;
    	public static final EnumArt Bust;
    	public static final EnumArt Stage;
    	public static final EnumArt Void;
    	public static final EnumArt SkullAndRoses;
    	public static final EnumArt Fighters;
    	public static final EnumArt Pointer;
    	public static final EnumArt Pigscene;
    	public static final EnumArt BurningSkull;
    	public static final EnumArt Skeleton;
    	public static final EnumArt DonkeyKong;
    	public static final int maxArtTitleLength = "SkullAndRoses".length();
    	public final String title;
    	public final int sizeX;
    	public final int sizeY;
    	public final int offsetX;
    	public final int offsetY;
    	private static final EnumArt F[]; /* synthetic field */
    
    	static{
    		Kebab = new EnumArt("Kebab", 0, "Kebab", 16, 16, 0, 0);
    		Aztec = new EnumArt("Aztec", 1, "Aztec", 16, 16, 16, 0);
    		Alban = new EnumArt("Alban", 2, "Alban", 16, 16, 32, 0);
    		Aztec2 = new EnumArt("Aztec2", 3, "Aztec2", 16, 16, 48, 0);
    		Bomb = new EnumArt("Bomb", 4, "Bomb", 16, 16, 64, 0);
    		Plant = new EnumArt("Plant", 5, "Plant", 16, 16, 80, 0);
    		Wasteland = new EnumArt("Wasteland", 6, "Wasteland", 16, 16, 96, 0);
    		Pool = new EnumArt("Pool", 7, "Pool", 32, 16, 0, 32);
    		Courbet = new EnumArt("Courbet", 8, "Courbet", 32, 16, 32, 32);
    		Sea = new EnumArt("Sea", 9, "Sea", 32, 16, 64, 32);
    		Sunset = new EnumArt("Sunset", 10, "Sunset", 32, 16, 96, 32);
    		Creebet = new EnumArt("Creebet", 11, "Creebet", 32, 16, 128, 32);
    		Wanderer = new EnumArt("Wanderer", 12, "Wanderer", 16, 32, 0, 64);
    		Graham = new EnumArt("Graham", 13, "Graham", 16, 32, 16, 64);
    		Match = new EnumArt("Match", 14, "Match", 32, 32, 0, 128);
    		Bust = new EnumArt("Bust", 15, "Bust", 32, 32, 32, 128);
    		Stage = new EnumArt("Stage", 16, "Stage", 32, 32, 64, 128);
    		Void = new EnumArt("Void", 17, "Void", 32, 32, 96, 128);
    		SkullAndRoses = new EnumArt("SkullAndRoses", 18, "SkullAndRoses", 32, 32, 128, 128);
    		Fighters = new EnumArt("Fighters", 19, "Fighters", 64, 32, 0, 96);
    		Pointer = new EnumArt("Pointer", 20, "Pointer", 64, 64, 0, 192);
    		Pigscene = new EnumArt("Pigscene", 21, "Pigscene", 64, 64, 64, 192);
    		BurningSkull = new EnumArt("BurningSkull", 22, "BurningSkull", 64, 64, 128, 192);
    		Skeleton = new EnumArt("Skeleton", 23, "Skeleton", 64, 48, 192, 64);
    		DonkeyKong = new EnumArt("DonkeyKong", 24, "DonkeyKong", 64, 48, 192, 112);
    		F = (new EnumArt[] {
    			Kebab, Aztec, Alban, Aztec2, Bomb, Plant, Wasteland, Pool, Courbet, Sea,
    			Sunset, Creebet, Wanderer, Graham, Match, Bust, Stage, Void, SkullAndRoses, Fighters,
    			Pointer, Pigscene, BurningSkull, Skeleton, DonkeyKong
    		});
    	}
    }

    EnumOptions.java
    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3) braces deadcode
    
    package net.minecraft.src;
    
    
    public enum EnumOptions
    {
    	MUSIC("MUSIC", 0, "options.music", true, false),
    	SOUND("SOUND", 1, "options.sound", true, false),
    	INVERT_MOUSE("INVERT_MOUSE", 2, "options.invertMouse", false, true),
    	SENSITIVITY("SENSITIVITY", 3, "options.sensitivity", true, false),
    	RENDER_DISTANCE("RENDER_DISTANCE", 4, "options.renderDistance", false, false),
    	VIEW_BOBBING("VIEW_BOBBING", 5, "options.viewBobbing", false, true),
    	ANAGLYPH("ANAGLYPH", 6, "options.anaglyph", false, true),
    	ADVANCED_OPENGL("ADVANCED_OPENGL", 7, "options.advancedOpengl", false, true),
    	FRAMERATE_LIMIT("FRAMERATE_LIMIT", 8, "options.framerateLimit", false, false),
    	DIFFICULTY("DIFFICULTY", 9, "options.difficulty", false, false),
    	GRAPHICS("GRAPHICS", 10, "options.graphics", false, false),
    	AMBIENT_OCCLUSION("AMBIENT_OCCLUSION", 11, "options.ao", false, true),
    	GUI_SCALE("GUI_SCALE", 12, "options.guiScale", false, false);
    	public static EnumOptions[] values()
    	{
    		return (EnumOptions[])q.clone();
    	}
    	
    	public static EnumOptions valueOf(String s)
    	{
    		return (EnumOptions)Enum.valueOf(net.minecraft.src.EnumOptions.class, s);
    	}
    	public static EnumOptions getEnumOptions(int i)
    	{
    		EnumOptions aenumoptions[] = values();
    		int j = aenumoptions.length;
    		for(int k = 0; k < j; k++)
    		{
    			EnumOptions enumoptions = aenumoptions[k];
    			if(enumoptions.returnEnumOrdinal() == i)
    			{
    				return enumoptions;
    			}
    		}
    
    		return null;
    	}
    
    	private EnumOptions(String s, int i, String s1, boolean flag, boolean flag1)
    	{
    		enumString = s1;
    		enumFloat = flag;
    		enumBoolean = flag1;
    	}
    
    	public boolean getEnumFloat()
    	{
    		return enumFloat;
    	}
    
    	public boolean getEnumBoolean()
    	{
    		return enumBoolean;
    	}
    
    	public int returnEnumOrdinal()
    	{
    		return ordinal();
    	}
    
    	public String getEnumString()
    	{
    		return enumString;
    	}
    	public static final EnumOptions MUSIC;
    	public static final EnumOptions SOUND;
    	public static final EnumOptions INVERT_MOUSE;
    	public static final EnumOptions SENSITIVITY;
    	public static final EnumOptions RENDER_DISTANCE;
    	public static final EnumOptions VIEW_BOBBING;
    	public static final EnumOptions ANAGLYPH;
    	public static final EnumOptions ADVANCED_OPENGL;
    	public static final EnumOptions LIMIT_FRAMERATE;
    	public static final EnumOptions DIFFICULTY;
    	public static final EnumOptions GRAPHICS;
    	public static final EnumOptions AMBIENT_OCCLUSION;
    	public static final EnumOptions GUI_SCALE;
    	private final boolean enumFloat;
    	private final boolean enumBoolean;
    	private final String enumString;
    	private static final EnumOptions q[]; /* synthetic field */
    	
    	static{
    		MUSIC = new EnumOptions("MUSIC", 0, "options.music", true, false);
    		SOUND = new EnumOptions("SOUND", 1, "options.sound", true, false);
    		INVERT_MOUSE = new EnumOptions("INVERT_MOUSE", 2, "options.invertMouse", false, true);
    		SENSITIVITY = new EnumOptions("SENSITIVITY", 3, "options.sensitivity", true, false);
    		RENDER_DISTANCE = new EnumOptions("RENDER_DISTANCE", 4, "options.renderDistance", false, false);
    		VIEW_BOBBING = new EnumOptions("VIEW_BOBBING", 5, "options.viewBobbing", false, true);
    		ANAGLYPH = new EnumOptions("ANAGLYPH", 6, "options.anaglyph", false, true);
    		ADVANCED_OPENGL = new EnumOptions("ADVANCED_OPENGL", 7, "options.advancedOpengl", false, true);
    		LIMIT_FRAMERATE = new EnumOptions("FRAMERATE_LIMIT", 8, "options.framerateLimit", false, false);
    		DIFFICULTY = new EnumOptions("DIFFICULTY", 9, "options.difficulty", false, false);
    		GRAPHICS = new EnumOptions("GRAPHICS", 10, "options.graphics", false, false);
    		AMBIENT_OCCLUSION = new EnumOptions("AMBIENT_OCCLUSION", 11, "options.ao", false, true);
    		GUI_SCALE = new EnumOptions("GUI_SCALE", 12, "options.guiScale", false, false);
    		q = (new EnumOptions[] {
    			MUSIC, SOUND, INVERT_MOUSE, SENSITIVITY, RENDER_DISTANCE, VIEW_BOBBING, ANAGLYPH, ADVANCED_OPENGL, LIMIT_FRAMERATE, DIFFICULTY,
    			GRAPHICS, AMBIENT_OCCLUSION, GUI_SCALE
    		});
    	}
    }

    those should be fixed
    Posted in: Tutorials
  • To post a comment, please .