I could still make a mob tutorial, but you would have to use a model like a cow or a person or something. Models are just the shape of the mob to be simple.
The Meaning of Life, the Universe, and Everything.
Join Date:
12/27/2010
Posts:
675
Minecraft:
smokedogg
Member Details
I am just carious if there is a limit to how many achievements you can have in a mod. I added aboute 50-60 had no troubles added another 40 on top of that and had epic fail. crash report said something about gui render something blaa blaa. Figured I maxed out maybe
I am just carious if there is a limit to how many achievements you can have in a mod. I added aboute 50-60 had no troubles added another 40 on top of that and had epic fail. crash report said something about gui render something blaa blaa. Figured I maxed out maybe
That could be. I've never made a mod with that many achievements and I've never had that error, but that very well could be it
Never tried it, but I'll look into the code, although I couldn't make the models so I wouldn't really be the best guy for this tutorial
That could be. I've never made a mod with that many achievements and I've never had that error, but that very well could be it
Yeah I figured that too, none of the coords were the same, I triple checked so I will just have to make 2 pages of achievements o.O Was making an achievement for every item/block I added almost 230 so I may have over done it lol might need 3 pages
---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.
Time: 30.1.2013 13:32
Description: Failed to start game
java.lang.NullPointerException
at net.minecraft.item.ItemStack.<init>(ItemStack.java:64)
at net.minecraft.stats.Achievement.<init>(Achievement.java:52)
at unclestevesmods.Unclestevesmods.load(Unclestevesmods.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:478)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:656)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:207)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:456)
at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
at net.minecraft.client.Minecraft.run(Minecraft.java:744)
at java.lang.Thread.run(Thread.java:722)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.4.6
Operating System: Linux (i386) version 3.5.0-17-generic
Java Version: 1.7.0_09, Oracle Corporation
Java VM Version: OpenJDK Server VM (mixed mode), Oracle Corporation
Memory: 983671960 bytes (938 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
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.25 FML v4.6.12.511 Minecraft Forge 6.5.0.467 4 mods loaded, 4 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
multistar444_Unclestevesmods [Uncle Steve's mods] (bin) Unloaded->Constructed->Pre-initialized->Errored
LWJGL: 2.4.2
OpenGL: Mesa DRI Mobile Intel® GM45 Express Chipset x86/MMX/SSE2 GL version 2.1 Mesa 9.0, Intel Open Source Technology Center
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
CODE
MOD FILE.java
package unclestevesmods;
import unclestevesmods.common.*;
import unclestevesmods.common.world.gen.OreGeneration;
import unclestevesmods.items.*;
import unclestevesmods.tabs.TabMod;
import unclestevesmods.client.*;
import unclestevesmods.achievements.CraftingHandler;
import unclestevesmods.blocks.*;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.stats.Achievement;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
@Mod(modid = "multistar444_Unclestevesmods", name = "Uncle Steve's mods", version = "1.0")
@NetworkMod(clientSideRequired = true, serverSideRequired = false)
public class Unclestevesmods {
@Instance("multistar444_Unclestevesmods")
public static Unclestevesmods instance;
public static Block uraniumOre;
public static Block leadOre;
public static Block leadBlock;
public static Block nuke;
public static Item uraniumRod;
public static Item lead;
public static Item nukePart1;
public static Item nukePart2;
public static Item nukePart3;
public static Item uraniumDust;
public static Item swordUranium;
public static Achievement digUranium;
public static CreativeTabs tabUnMod = new TabMod(CreativeTabs.getNextID(),"Uncle Steve's mods");
@SidedProxy(clientSide = "unclestevesmods.client.ClientProxyUnclestevesmods", serverSide = "unclestevesmods.common.CommonProxyUnclestevesmods")
public static CommonProxyUnclestevesmods proxy;
@Init
public void load(FMLInitializationEvent event) {
GameRegistry.registerCraftingHandler(new CraftingHandler());
proxy.registerRenderThings();
digUranium = new Achievement(40, "digUranium", 0, 0, uraniumRod, null).registerAchievement();
this.addAchievementName("digUranium", "Radiation!");
this.addAchievementDesc("digUranium", "You've collected uranium!");
uraniumOre = new BlockUraniumOre(150, 0, Material.rock).setHardness(2.5F).setLightValue(0.7F).setStepSound(Block.soundStoneFootstep).setBlockName("uraniumOre");
GameRegistry.registerBlock(uraniumOre);
LanguageRegistry.addName(uraniumOre, "Uranium ore");
MinecraftForge.setBlockHarvestLevel(uraniumOre, 0, "pickaxe", 3);
leadOre= new BlockLeadOre(151, 1, Material.rock).setHardness(1.5F).setStepSound(Block.soundStoneFootstep).setBlockName("leadOre");
GameRegistry.registerBlock(leadOre);
LanguageRegistry.addName(leadOre, "Lead ore");
MinecraftForge.setBlockHarvestLevel(uraniumOre, 0, "pickaxe", 2);
leadBlock = new BlockLeadBlock(152, 2, Material.rock).setHardness(1.0F).setStepSound(Block.soundStoneFootstep).setBlockName("leadBlock");
GameRegistry.registerBlock(leadBlock);
LanguageRegistry.addName(leadBlock, "Lead block");
MinecraftForge.setBlockHarvestLevel(uraniumOre, 0, "pickaxe", 1);
nuke = new BlockLeadBlock(153, 3, Material.tnt).setHardness(2.0F).setStepSound(Block.soundStoneFootstep).setBlockName("nuke");
GameRegistry.registerBlock(nuke);
LanguageRegistry.addName(nuke, "Nuke");
GameRegistry.registerWorldGenerator(new OreGeneration());
uraniumRod = new ItemUraniumRod(600).setCreativeTab(Unclestevesmods.tabUnMod).setIconIndex(0).setItemName("uraniumRod");
LanguageRegistry.addName(uraniumRod, "Uranium rod");
lead = new ItemLead(601).setCreativeTab(Unclestevesmods.tabUnMod).setIconIndex(1).setItemName("lead");
LanguageRegistry.addName(lead, "Lead");
nukePart1 = new ItemNukePart1(602).setCreativeTab(Unclestevesmods.tabUnMod).setIconIndex(2).setItemName("nukePart1");
LanguageRegistry.addName(nukePart1, "Nuke part 1");
nukePart2 = new ItemNukePart2(603).setCreativeTab(Unclestevesmods.tabUnMod).setIconIndex(3).setItemName("nukePart2");
LanguageRegistry.addName(nukePart2, "Nuke part 2");
nukePart3 = new ItemNukePart3(604).setCreativeTab(Unclestevesmods.tabUnMod).setIconIndex(4).setItemName("nukePart3");
LanguageRegistry.addName(nukePart3, "Nuke part 3");
uraniumDust = new ItemUraniumDust(605).setCreativeTab(Unclestevesmods.tabUnMod).setIconIndex(5).setItemName("uraniumDust");
LanguageRegistry.addName(uraniumDust, "Uranium dust");
swordUranium = new ItemSwordUranium(606, EnumToolMod.URANIUM).setIconIndex(6).setItemName("swordUranium");
LanguageRegistry.addName(swordUranium, "Uranium sword");
GameRegistry.addSmelting(uraniumOre.blockID, new ItemStack(uraniumRod, 3), 3.0f);
GameRegistry.addSmelting(leadOre.blockID, new ItemStack(lead, 1), 2.0f);
GameRegistry.addRecipe(new ItemStack(leadBlock, 1), new Object[] {"AAA", "AAA", "AAA", 'A', lead});
GameRegistry.addRecipe(new ItemStack(nukePart1, 1), new Object[] {"ABC", "ABB", "AAA", 'A', Block.obsidian, 'B', Block.tnt, 'C', uraniumRod});
GameRegistry.addRecipe(new ItemStack(nukePart2, 1), new Object[] {"ABC", "ABC", "ABC", 'A', Block.obsidian, 'B', Block.tnt, 'C', uraniumRod});
GameRegistry.addRecipe(new ItemStack(nukePart3, 1), new Object[] {"AAA", "ABA", "AAA", 'B', Block.tnt, 'A', uraniumRod});
GameRegistry.addRecipe(new ItemStack(nuke, 1), new Object[] {"ABA", "BCB", "ABA", 'A', nukePart1, 'B', nukePart2, 'C', nukePart3});
GameRegistry.addRecipe(new ItemStack(swordUranium, 1), new Object[] {"AAA", "AbA", 'A', uraniumDust, 'b', Item.swordDiamond});
GameRegistry.addShapelessRecipe(new ItemStack(Item.rottenFlesh, 1), new Object[] {Item.porkRaw, uraniumDust});
GameRegistry.addShapelessRecipe(new ItemStack(Item.rottenFlesh, 1), new Object[] {Item.beefRaw, uraniumDust});
GameRegistry.addShapelessRecipe(new ItemStack(Item.rottenFlesh, 1), new Object[] {Item.chickenRaw, uraniumDust});
GameRegistry.addShapelessRecipe(new ItemStack(Item.rottenFlesh, 1), new Object[] {Item.fishRaw, uraniumDust});
}
private void addAchievementName(String ach, String name) {
LanguageRegistry.instance().addStringLocalization("achievement." + ach, "en_US", name);
}
private void addAchievementDesc(String ach, String desc) {
LanguageRegistry.instance().addStringLocalization("achievement." + ach + ".desc", "en_US", desc);
}
}
CraftingHandler.java
package unclestevesmods.achievements;
import unclestevesmods.Unclestevesmods;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.ICraftingHandler;
public class CraftingHandler implements ICraftingHandler {
@Override
public void onCrafting(EntityPlayer player, ItemStack item, IInventory craftMatrix) {
}
@Override
public void onSmelting(EntityPlayer player, ItemStack item) {
if (item.itemID == Unclestevesmods.uraniumRod.shiftedIndex)
{
player.addStat(Unclestevesmods.digUranium, 1);
}
}
}
Register your crafting handler after everything for the achievement. I just do it at the bottom of the load() function
Still doesn't work, plus I get an error when I add Item ID to the end.
Here is the src code(Note it only crashes when I change the Item.snowball to mod_GlacialGalore.KrutoniumShard)
Also I did remove some of the code like the item declaring and All of the other stuff
package GlacialGalore.common;
import net.minecraft.block.Block;
import net.minecraft.block.BlockFurnace;
import net.minecraft.block.BlockGrass;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityEggInfo;
import net.minecraft.entity.EntityList;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.src.ModLoader;
import net.minecraft.stats.Achievement;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.client.MinecraftForgeClient;
import net.minecraftforge.common.AchievementPage;
import net.minecraftforge.common.DimensionManager;
import net.minecraftforge.common.EnumHelper;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
@Mod(modid = "Glacial", name = "Glacial Galore", version = "Alpha v1.1")
@NetworkMod(clientSideRequired = true, serverSideRequired = false)
public class mod_GlacialGalore
{
@SidedProxy(clientSide = "GlacialGalore.client.ClientProxyGlacialGalore", serverSide = "GlacialGalore.common.CommonProxyGlacialGalore")
public static CommonProxyGlacialGalore proxy;
//Acheivements
public static Achievement GlacialFirst;
public static Achievement GlacialSecond;
public static Achievement GlacialThird;
public static Achievement GlacialFourth;
public static Achievement GlacialFifth;
public static Achievement GlacialSixth;
public static Achievement GlacialSeventh;
public static Achievement GlacialEighth;
public static Achievement GlacialNinth;
public static Achievement GlacialTenth;
//Achievement Page
public static AchievementPage GlacialPage;
@Init
public void load(FMLInitializationEvent event)
{
//Achievements
GlacialFirst = new Achievement(1000, "GlacialFirstAchievement", 0, 0, Item.snowball, GlacialFirst).registerAchievement();
this.addAchievementName("GlacialFirstAchievement", "Gettin' Chilly I See");
this.addAchievementDesc("GlacialFirstAchievement", "Collect Your First Peice Of Krutonium");
GlacialSecond = new Achievement(1001, "GlacialSecondAchievement", 2, 0, Item.snowball, GlacialFirst).registerAchievement();
this.addAchievementName("GlacialSecondAchievement", "Pretty Cool");
this.addAchievementDesc("GlacialSecondAchievement", "Make Your First Krutonium Ingot");
GlacialThird = new Achievement(1002, "GlacialThirdAchievement", 4, 0, Item.snowball, GlacialSecond).registerAchievement();
this.addAchievementName("GlacialThirdAchievement", "Snowballed");
this.addAchievementDesc("GlacialThirdAchievement", "Make a Snowball Gun");
GlacialFourth = new Achievement(1003, "GlacialFourthAchievement", 2, 2, Item.snowball, GlacialSecond).registerAchievement();
this.addAchievementName("GlacialFourthAchievement", "Snowy Swords");
this.addAchievementDesc("GlacialFourthAchievement", "Make a Krutonium Sword");
GlacialFifth = new Achievement(1004, "GlacialFifthAchievement", 4, 4, Item.snowball, GlacialFourth).registerAchievement().setSpecial();
this.addAchievementName("GlacialFifthAchievement", "Blessed By The Gods");
this.addAchievementDesc("GlacialFifthAchievement", "Make The Sword Of Khione");
GlacialSixth = new Achievement(1005, "GlacialSixthAchievement", 2, -2, Item.snowball, GlacialSecond).registerAchievement();
this.addAchievementName("GlacialSixthAchievement", "Quite The Cool Block");
this.addAchievementDesc("GlacialSixthAchievement", "Make a Krutonium Block");
Still doesn't work, plus I get an error when I add Item ID to the end.
Here is the src code(Note it only crashes when I change the Item.snowball to mod_GlacialGalore.KrutoniumShard)
Also I did remove some of the code like the item declaring and All of the other stuff
package GlacialGalore.common;
import net.minecraft.block.Block;
import net.minecraft.block.BlockFurnace;
import net.minecraft.block.BlockGrass;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityEggInfo;
import net.minecraft.entity.EntityList;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.src.ModLoader;
import net.minecraft.stats.Achievement;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.client.MinecraftForgeClient;
import net.minecraftforge.common.AchievementPage;
import net.minecraftforge.common.DimensionManager;
import net.minecraftforge.common.EnumHelper;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
@Mod(modid = "Glacial", name = "Glacial Galore", version = "Alpha v1.1")
@NetworkMod(clientSideRequired = true, serverSideRequired = false)
public class mod_GlacialGalore
{
@SidedProxy(clientSide = "GlacialGalore.client.ClientProxyGlacialGalore", serverSide = "GlacialGalore.common.CommonProxyGlacialGalore")
public static CommonProxyGlacialGalore proxy;
//Acheivements
public static Achievement GlacialFirst;
public static Achievement GlacialSecond;
public static Achievement GlacialThird;
public static Achievement GlacialFourth;
public static Achievement GlacialFifth;
public static Achievement GlacialSixth;
public static Achievement GlacialSeventh;
public static Achievement GlacialEighth;
public static Achievement GlacialNinth;
public static Achievement GlacialTenth;
//Achievement Page
public static AchievementPage GlacialPage;
@Init
public void load(FMLInitializationEvent event)
{
//Achievements
GlacialFirst = new Achievement(1000, "GlacialFirstAchievement", 0, 0, Item.snowball, GlacialFirst).registerAchievement();
this.addAchievementName("GlacialFirstAchievement", "Gettin' Chilly I See");
this.addAchievementDesc("GlacialFirstAchievement", "Collect Your First Peice Of Krutonium");
GlacialSecond = new Achievement(1001, "GlacialSecondAchievement", 2, 0, Item.snowball, GlacialFirst).registerAchievement();
this.addAchievementName("GlacialSecondAchievement", "Pretty Cool");
this.addAchievementDesc("GlacialSecondAchievement", "Make Your First Krutonium Ingot");
GlacialThird = new Achievement(1002, "GlacialThirdAchievement", 4, 0, Item.snowball, GlacialSecond).registerAchievement();
this.addAchievementName("GlacialThirdAchievement", "Snowballed");
this.addAchievementDesc("GlacialThirdAchievement", "Make a Snowball Gun");
GlacialFourth = new Achievement(1003, "GlacialFourthAchievement", 2, 2, Item.snowball, GlacialSecond).registerAchievement();
this.addAchievementName("GlacialFourthAchievement", "Snowy Swords");
this.addAchievementDesc("GlacialFourthAchievement", "Make a Krutonium Sword");
GlacialFifth = new Achievement(1004, "GlacialFifthAchievement", 4, 4, Item.snowball, GlacialFourth).registerAchievement().setSpecial();
this.addAchievementName("GlacialFifthAchievement", "Blessed By The Gods");
this.addAchievementDesc("GlacialFifthAchievement", "Make The Sword Of Khione");
GlacialSixth = new Achievement(1005, "GlacialSixthAchievement", 2, -2, Item.snowball, GlacialSecond).registerAchievement();
this.addAchievementName("GlacialSixthAchievement", "Quite The Cool Block");
this.addAchievementDesc("GlacialSixthAchievement", "Make a Krutonium Block");
Oh ok its for achievements, since you make the item in the same class that you are referencing it in, you can just write the name of your item, so it should look like this:
GlacialFirst = new Achievement(1000, "GlacialFirstAchievement", 0, 0, KrutoniumShard, GlacialFirst).registerAchievement();
Also when I create my new achievement page it works but it is all white. Do you know what's going on?
Ehm I had this to, but I found a fix that worked for me (very easy actually)
The page "registry" must be after the achievements, like this:
1NAMEAchievement = new Achievement(40, "1NAMEAchievement", x, y, ITEM, null).setIndependent().registerAchievement();
2NAMEAchievement = new Achievement(41, "2NAMEAchievement", x, y, ITEM, ACHIEVEMENT).registerAchievement().setSpecial();
NAMEPage = new AchievementPage("NAME", 1NAMEAchievement, 2NAMEAchievement);
AchievementPage.registerAchievementPage(NAMEPage);
If you put the achievements after, it won't work... hope this solved your problem?
Ehm I had this to, but I found a fix that worked for me (very easy actually)
The page "registry" must be after the achievements, like this:
1NAMEAchievement = new Achievement(40, "1NAMEAchievement", x, y, ITEM, null).setIndependent().registerAchievement();
2NAMEAchievement = new Achievement(41, "2NAMEAchievement", x, y, ITEM, ACHIEVEMENT).registerAchievement().setSpecial();
NAMEPage = new AchievementPage("NAME", 1NAMEAchievement, 2NAMEAchievement);
AchievementPage.registerAchievementPage(NAMEPage);
If you put the achievements after, it won't work... hope this solved your problem?
never tried it, but you would probably just change the 'item.itemID' to 'block.blockID' but I'll look into this more soon
I could still make a mob tutorial, but you would have to use a model like a cow or a person or something. Models are just the shape of the mob to be simple.
Look over the tutorial again. If you cant figure it out from that, PM me
Never tried it, but I'll look into the code, although I couldn't make the models so I wouldn't really be the best guy for this tutorial
That could be. I've never made a mod with that many achievements and I've never had that error, but that very well could be it
Yeah I figured that too, none of the coords were the same, I triple checked so I will just have to make 2 pages of achievements o.O Was making an achievement for every item/block I added almost 230 so I may have over done it lol might need 3 pages
page 1 items/blocks
page 2 tools and swords
page 3 armor
that will probably be the way I have to do it.
Register your crafting handler after everything for the achievement. I just do it at the bottom of the load() function
Are you using 1.4.7?
instead of saying:
You would say:
Still doesn't work, plus I get an error when I add Item ID to the end.
Here is the src code(Note it only crashes when I change the Item.snowball to mod_GlacialGalore.KrutoniumShard)
Also I did remove some of the code like the item declaring and All of the other stuff
Oh ok its for achievements, since you make the item in the same class that you are referencing it in, you can just write the name of your item, so it should look like this:
These two methods:
should be outside of your load() function, just put them after it
Nothing really, just where the files are placed. I like to use "net.xxx" because it's easy for packaging purposes, but either one works
Hmmm not really sure about that one
PM me, I could probably figure it out
I am modding minecraft 1.4.7 using MCP726a with forge 6.6.1.524
Also when I create my new achievement page it works but it is all white. Do you know what's going on?
Ehm I had this to, but I found a fix that worked for me (very easy actually)
The page "registry" must be after the achievements, like this:
If you put the achievements after, it won't work... hope this solved your problem?
I will try the newest version of forge and see if its something different
This did not work. Any more ideas?