Jump to content

Recommended Posts

Posted

Hi, i inserted the instance annotation in my main mod class file, but when i tested it in wrapped minecraft, it crashed. The value in the instance annotation is just the same as the modid, and i don't know what happend.

 

here is the mod class:

/*
* PixelBlocks Mod
* Version: 1.0 (Indev) for Minecraft 1.7.2
* Copyright (c) 2014 jakobaindreas_11.
* All Rights Reserved. This mod and the code are made available under the MIT license (http://opensource.org/licenses/MIT)
*/

package pixelblocks;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import pixelblocks.blocks.Blocks.*;
import pixelblocks.proxy.CommonProxy;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.ModContainer;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;

@Mod(
	modid = "pixelblocks", 
	name = "PixelBlocks Mod",
	version = "1.0", 
	dependencies = "required-after:FML", 
	acceptedMinecraftVersions = "1.7.2", 
	modLanguage = "java",
	canBeDeactivated = true)

public class PixelBlocks {	

@Instance("pixelblocks")
@SidedProxy(clientSide="pixelblocks.proxy.ClientProxy", serverSide="pixelblocks.proxy.CommonProxy")	

public static CommonProxy proxy;	

//Declares blocks in Minecraft
public static Block AliceBlueColoredBlock;
public static Block AlizarinCrimsonColoredBlock;
public static Block AmberColoredBlock;
public static Block AmethystColoredBlock;
public static Block AntiqueWhiteColoredBlock;
public static Block AquamarineColoredBlock;
public static Block AsparagusColoredBlock;
public static Block AzureColoredBlock;
public static Block BeigeColoredBlock;
public static Block BisqueColoredBlock;
public static Block BistreColoredBlock;
public static Block BitterLemonColoredBlock;
public static Block BlackColoredBlock;
public static Block BlanchedAlmondColoredBlock;
public static Block BlazeOrangeColoredBlock;
public static Block BlueColoredBlock;
public static Block BlueVioletColoredBlock;
public static Block BondiBlueColoredBlock;
public static Block BrassColoredBlock;
public static Block BrightGreenColoredBlock;
public static Block BrightTurquoiseColoredBlock;
public static Block BrightVioletColoredBlock;
public static Block BronzeColoredBlock;
public static Block BrownColoredBlock;
public static Block BuffColoredBlock;
public static Block BurgundyColoredBlock;
public static Block BurlyWoodColoredBlock;
public static Block BurntOrangeColoredBlock;
public static Block BurntSiennaColoredBlock;
public static Block BurntUmberColoredBlock;
public static Block CadetBlueColoredBlock;
public static Block CamouflageGreenColoredBlock;
public static Block CardinalColoredBlock;
public static Block CarmineColoredBlock;

//Creative Tabs
public static CreativeTabs tabRedBlocks = new CreativeTabs("tabRedBlocks") {
	@Override
	public Item getTabIconItem() {
		return new ItemStack(AlizarinCrimsonColoredBlock).getItem();
	}
};
public static CreativeTabs tabOrangeBlocks = new CreativeTabs("tabOrangeBlocks") {
	@Override
	public Item getTabIconItem() {
		return new ItemStack(BlazeOrangeColoredBlock).getItem();
	}
};	
public static CreativeTabs tabYellowBlocks = new CreativeTabs("tabYellowBlocks") {
	@Override
	public Item getTabIconItem() {
		return new ItemStack(AmberColoredBlock).getItem();
	}
};	

public static CreativeTabs tabGreenBlocks = new CreativeTabs("tabGreenBlocks") {
	@Override
	public Item getTabIconItem() {
		return new ItemStack(AsparagusColoredBlock).getItem();
	}
};	

public static CreativeTabs tabBlueBlocks = new CreativeTabs("tabBlueBlocks") {
	@Override
	public Item getTabIconItem() {
		return new ItemStack(AzureColoredBlock).getItem();
	}
};

public static CreativeTabs tabVioletBlocks = new CreativeTabs("tabVioletBlocks") {
	@Override
	public Item getTabIconItem() {
		return new ItemStack(AmethystColoredBlock).getItem();
	}
};	
public static CreativeTabs tabBrownBlocks = new CreativeTabs("tabBrownBlocks") {
	public Item getTabIconItem() {
		return new ItemStack(BrownColoredBlock).getItem();
	}
};	

public static CreativeTabs tabGrayscaleBlocks = new CreativeTabs("tabGrayscaleBlocks") {
	public Item getTabIconItem() {
		return new ItemStack(BlackColoredBlock).getItem();
	}
};	

public static CreativeTabs tabWhiteBlocks = new CreativeTabs("tabWhiteBlocks") {
	@Override
	public Item getTabIconItem() {
		return new ItemStack(AliceBlueColoredBlock).getItem();
	}
};

@EventHandler
    public void preInit(FMLPreInitializationEvent event) {	

	//Defines Blocks in Minecraft

	//Red Tab
	AlizarinCrimsonColoredBlock = new AlizarinCrimsonColoredBlock(Material.rock).setBlockTextureName("pixelblocks:AlizarinCrimson");
	BurgundyColoredBlock = new BurgundyColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Burgundy");
	CardinalColoredBlock = new CardinalColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Cardinal");
	CarmineColoredBlock = new CarmineColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Carmine");

	//Orange Tab
	BlazeOrangeColoredBlock = new BlazeOrangeColoredBlock(Material.rock).setBlockTextureName("pixelblocks:BlazeOrange");
	BurntOrangeColoredBlock = new BurntOrangeColoredBlock(Material.rock).setBlockTextureName("pixelblocks:BurntOrange");

	//Yellow Tab
	AmberColoredBlock = new AmberColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Amber");
	BitterLemonColoredBlock = new BitterLemonColoredBlock(Material.rock).setBlockTextureName("pixelblocks:BitterLemon");

	//Green Tab
	AsparagusColoredBlock = new AsparagusColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Asparagus");
	BrightGreenColoredBlock = new BrightGreenColoredBlock(Material.rock).setBlockTextureName("pixelblocks:BrightGreen");
	CamouflageGreenColoredBlock = new CamouflageGreenColoredBlock(Material.rock).setBlockTextureName("pixelblocks:CamouflageGreen");

	//Blue Tab
	AquamarineColoredBlock = new AquamarineColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Aquamarine");
	AzureColoredBlock = new AzureColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Azure");
	BlueColoredBlock = new BlueColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Blue");
	BondiBlueColoredBlock = new BondiBlueColoredBlock(Material.rock).setBlockTextureName("pixelblocks:BondiBlue");
	BrightTurquoiseColoredBlock = new BrightTurquoiseColoredBlock(Material.rock).setBlockTextureName("pixelblocks:BrightTurquoise");
	CadetBlueColoredBlock = new CadetBlueColoredBlock(Material.rock).setBlockTextureName("pixelblocks:CadetBlue");

	//Violet Tab
	AmethystColoredBlock = new AmethystColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Amethyst");
	BlueVioletColoredBlock = new BlueVioletColoredBlock(Material.rock).setBlockTextureName("pixelblocks:BlueViolet");
	BrightVioletColoredBlock = new BrightVioletColoredBlock(Material.rock).setBlockTextureName("pixelblocks:BrightViolet");

	//White Tab
	AliceBlueColoredBlock = new AliceBlueColoredBlock(Material.rock).setBlockTextureName("pixelblocks:AliceBlue");
	AntiqueWhiteColoredBlock = new AntiqueWhiteColoredBlock(Material.rock).setBlockTextureName("pixelblocks:AntiqueWhite");
	BeigeColoredBlock = new BeigeColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Beige");
	BisqueColoredBlock = new BisqueColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Bisque");

	//Grayscale Tab
	BlackColoredBlock = new BlackColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Black");

	//Brown Tab
	BistreColoredBlock = new BistreColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Bistre");
	BlanchedAlmondColoredBlock = new BlanchedAlmondColoredBlock(Material.rock).setBlockTextureName("pixelblocks:BlanchedAlmond");
	BrassColoredBlock = new BrassColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Brass");
	BronzeColoredBlock = new BronzeColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Bronze");
	BrownColoredBlock = new BrownColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Brown");
	BuffColoredBlock = new BuffColoredBlock(Material.rock).setBlockTextureName("pixelblocks:Buff");
	BurlyWoodColoredBlock = new BurlyWoodColoredBlock(Material.rock).setBlockTextureName("pixelblocks:BurlyWood");
	BurntSiennaColoredBlock = new BurntSiennaColoredBlock(Material.rock).setBlockTextureName("pixelblocks:BurntSienna");
	BurntUmberColoredBlock = new BurntUmberColoredBlock(Material.rock).setBlockTextureName("pixelblocks:BurntUmber");

	GameRegistry.registerBlock(AliceBlueColoredBlock, "AliceBlueColoredBlock").setCreativeTab(tabWhiteBlocks); //1st block
	GameRegistry.registerBlock(AlizarinCrimsonColoredBlock, "AlizarinCrimsonColoredBlock").setCreativeTab(tabRedBlocks); //2nd block
	GameRegistry.registerBlock(AmberColoredBlock, "AmberColoredBlock").setCreativeTab(tabYellowBlocks); //3rd block
	GameRegistry.registerBlock(AmethystColoredBlock, "AmethystColoredBlock").setCreativeTab(tabVioletBlocks); //4th block
	GameRegistry.registerBlock(AntiqueWhiteColoredBlock, "AntiqueWhiteColoredBlock").setCreativeTab(tabWhiteBlocks); //5th block
	GameRegistry.registerBlock(AquamarineColoredBlock, "AquamarineColoredBlock").setCreativeTab(tabBlueBlocks); //6th block
	GameRegistry.registerBlock(AsparagusColoredBlock, "AsparagusColoredBlock").setCreativeTab(tabGreenBlocks); //7th block
	GameRegistry.registerBlock(AzureColoredBlock, "AzureColoredBlock").setCreativeTab(tabBlueBlocks); //8th block
	GameRegistry.registerBlock(BeigeColoredBlock, "BeigeColoredBlock").setCreativeTab(tabWhiteBlocks); //9th block
	GameRegistry.registerBlock(BisqueColoredBlock, "BisqueColoredBlock").setCreativeTab(tabWhiteBlocks); //10th block
	GameRegistry.registerBlock(BistreColoredBlock, "BistreColoredBlock").setCreativeTab(tabBrownBlocks); //11th block
	GameRegistry.registerBlock(BitterLemonColoredBlock, "BitterLemonColoredBlock").setCreativeTab(tabYellowBlocks); //12th block
	GameRegistry.registerBlock(BlackColoredBlock, "BlackColoredBlock").setCreativeTab(tabGrayscaleBlocks); //13th block
	GameRegistry.registerBlock(BlanchedAlmondColoredBlock, "BlanchedAlmondColoredBlock").setCreativeTab(tabBrownBlocks); //14th block
	GameRegistry.registerBlock(BlazeOrangeColoredBlock, "BlazeOrangeColoredBlock").setCreativeTab(tabOrangeBlocks); //15th block
	GameRegistry.registerBlock(BlueColoredBlock, "BlueColoredBlock").setCreativeTab(tabBlueBlocks); //16th block
	GameRegistry.registerBlock(BlueVioletColoredBlock, "BlueVioletColoredBlock").setCreativeTab(tabVioletBlocks); //17th block
	GameRegistry.registerBlock(BondiBlueColoredBlock, "BondiBlueColoredBlock").setCreativeTab(tabBlueBlocks); //18th block
	GameRegistry.registerBlock(BrassColoredBlock, "BrassColoredBlock").setCreativeTab(tabBrownBlocks); //19th block
	GameRegistry.registerBlock(BrightGreenColoredBlock, "BrightGreenColoredBlock").setCreativeTab(tabGreenBlocks); //20th block
	GameRegistry.registerBlock(BrightTurquoiseColoredBlock, "BrightTurquoiseColoredBlock").setCreativeTab(tabBlueBlocks); //21st block
	GameRegistry.registerBlock(BrightVioletColoredBlock, "BrightVioletColoredBlock").setCreativeTab(tabVioletBlocks); //22nd block
	GameRegistry.registerBlock(BronzeColoredBlock, "BronzeColoredBlock").setCreativeTab(tabBrownBlocks); //23rd block
	GameRegistry.registerBlock(BrownColoredBlock, "BrownColoredBlock").setCreativeTab(tabBrownBlocks); //24th block
	GameRegistry.registerBlock(BuffColoredBlock, "BuffColoredBlock").setCreativeTab(tabBrownBlocks); //25th block
	GameRegistry.registerBlock(BurgundyColoredBlock, "BurgundyColoredBlock").setCreativeTab(tabRedBlocks); //26th block
	GameRegistry.registerBlock(BurlyWoodColoredBlock, "BurlyWoodColoredBlock").setCreativeTab(tabBrownBlocks); //27th block
	GameRegistry.registerBlock(BurntOrangeColoredBlock, "BurntOrangeColoredBlock").setCreativeTab(tabOrangeBlocks); //28th block
	GameRegistry.registerBlock(BurntSiennaColoredBlock, "BurntSiennaColoredBlock").setCreativeTab(tabBrownBlocks); //29th block
	GameRegistry.registerBlock(BurntUmberColoredBlock, "BurntUmberColoredBlock").setCreativeTab(tabBrownBlocks); //30th block
	GameRegistry.registerBlock(CadetBlueColoredBlock, "CadetBlueColoredBlock").setCreativeTab(tabBlueBlocks); //31st block
	GameRegistry.registerBlock(CamouflageGreenColoredBlock, "CamouflageGreenColoredBlock").setCreativeTab(tabGreenBlocks); //32nd block
	GameRegistry.registerBlock(CardinalColoredBlock, "CardinalColoredBlock").setCreativeTab(tabRedBlocks); //33rd block
	GameRegistry.registerBlock(CarmineColoredBlock, "CarmineColoredBlock").setCreativeTab(tabRedBlocks); //34th block
}

@EventHandler
public void init(FMLInitializationEvent event) {
	proxy.registerRenderers();
}

@EventHandler
public void postInit(FMLPostInitializationEvent event) {

}

}

 

Here is the crash report:

---- Minecraft Crash Report ----
// Would you like a cupcake?

Time: 10/22/14 1:31 PM
Description: Initializing game

java.lang.IllegalArgumentException: Can not set static pixelblocks.proxy.CommonProxy field pixelblocks.PixelBlocks.proxy to pixelblocks.PixelBlocks
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)
at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(Unknown Source)
at java.lang.reflect.Field.set(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:407)
at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:338)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:493)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:491)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
at net.minecraft.client.Minecraft.run(Minecraft.java:892)
at net.minecraft.client.main.Main.main(Main.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- Head --
Stacktrace:
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)
at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(Unknown Source)
at java.lang.reflect.Field.set(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:407)
at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:338)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:493)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:491)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:892)
at net.minecraft.client.main.Main.main(Main.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.8.0_11, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 895319992 bytes (853 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.03 FML v7.2.211.1121 Minecraft Forge 10.12.2.1121 4 mods loaded, 4 mods active
mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML{7.2.211.1121} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.2.1121.jar) Unloaded->Constructed
Forge{10.12.2.1121} [Minecraft Forge] (forgeSrc-1.7.2-10.12.2.1121.jar) Unloaded->Constructed
pixelblocks{1.0} [PixelBlocks] (bin) Unloaded->Errored
Launched Version: 1.7
LWJGL: 2.9.0
OpenGL: GeForce GT 630/PCIe/SSE2/3DNOW! GL version 4.4.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: ~~ERROR~~ NullPointerException: null
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Anisotropic Filtering: Off (1)

If you're having Minecraft problems post it here: http://www.minecraftforum.net/forums/support/unmodified-minecraft-client. If your problem is in Forge post it here: http://www.minecraftforge.net/forum/index.php/board,15.0.html. I'm writing this so n00bs know where they will post their n00by problems.

Posted

I did it this way:

 

@Mod.Instance("pixelblocks")
public static PixelBlocks instance;

 

And it worked, thanks for the help.

If you're having Minecraft problems post it here: http://www.minecraftforum.net/forums/support/unmodified-minecraft-client. If your problem is in Forge post it here: http://www.minecraftforge.net/forum/index.php/board,15.0.html. I'm writing this so n00bs know where they will post their n00by problems.

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



×
×
  • Create New...

Important Information

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