Progress thread|| Contains :Progress/help/moddingtalk Thread

Status
Not open for further replies.

IceClimber11

Member
Aug 30, 2013
195
9
28
28
The Matrix
www.IceClimber11.tk
I have successfully got the GC core to work in eclipse:

Proof:
http://imgur.com/xOkey63

***Dont forget to add that jar in java library if you havent already***


Instructions:
1.---Download the GC API from here: http://www.micdoodle8.com/mods/galacticraft/downloads/dev
2.---Download Chickencodecore Here: http://www.minecraftforum.net/topic/909223-164-smp-chickenbones-mods/
3.---Navigate to your workspace, find the Mods folder then insert the Chicken Code Core
4.---Run
5.---Place the GC core with the Chickencodecore, in the Dev workspaces mods folder
6.---Vuala the Workspace should now work(if you have already teathered the GC source for modding) AKA now you shouldent have to compile to test your mod that uses GC dependency.
 

IceClimber11

Member
Aug 30, 2013
195
9
28
28
The Matrix
www.IceClimber11.tk
Quit nicely! i wish you could join us but oh well :(
Here have some code
This adds a creative tab called Pandora with pandoracobble as the icon

Place under the main public class
Code:
    //Creative tab
  
        public static CreativeTabs tabpandora=new
    CreativeTabs("tabpandora"){
            public ItemStack getIconItemStack() {
                return new ItemStack(pandoracobble, 1, 0);}};

Then place this where you put all of your language thingys in the load event handler
Code:
//Creative Tabs
                LanguageRegistry.instance().addStringLocalization("itemGroup.tabpandora","en_US", "Pandora");
 
Jan 8, 2014
1,049
-108
14
44
Sweden not really swedish im dutch
Here have some code
This adds a creative tab called Pandora with pandoracobble as the icon

Place under the main public class
Code:
    //Creative tab
 
        public static CreativeTabs tabpandora=new
    CreativeTabs("tabpandora"){
            public ItemStack getIconItemStack() {
                return new ItemStack(pandoracobble, 1, 0);}};

Then place this where you put all of your language thingys in the load event handler
Code:
//Creative Tabs
                LanguageRegistry.instance().addStringLocalization("itemGroup.tabpandora","en_US", "Pandora");
Well ill show you how much i can code

0,000000000001%
 

IceClimber11

Member
Aug 30, 2013
195
9
28
28
The Matrix
www.IceClimber11.tk
Can anyone code grass? this is what ive got:
Code:
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
{
    if (!par1World.isRemote)
    {
        if (par1World.getBlockLightValue(par2, par3 + 1, par4) < 4 && par1World.getBlockLightOpacity(par2, par3 + 1, par4) > 2)
        {
            par1World.setBlock(par2, par3, par4, Block.dirt.blockID);
        }
        else if (par1World.getBlockLightValue(par2, par3 + 1, par4) >= 9)
        {
            for (int l = 0; l < 4; ++l)
            {
                int i1 = par2 + par5Random.nextInt(3) - 1;
                int j1 = par3 + par5Random.nextInt(5) - 3;
                int k1 = par4 + par5Random.nextInt(3) - 1;
                int l1 = par1World.getBlockId(i1, j1 + 1, k1);

                if (par1World.getBlockId(i1, j1, k1) == Block.dirt.blockID && par1World.getBlockLightValue(i1, j1 + 1, k1) >= 4 && par1World.getBlockLightOpacity(i1, j1 + 1, k1) <= 2)
                {
                    par1World.setBlock(i1, j1, k1, PandoraMain.pandoragrass.blockID);
                }
            }
        }
    }
}
 
Status
Not open for further replies.

Share this page