Everything posted by Alesimula
-
mcmod.info OVERRIDES OTHERS? is there a way to edit description IN THE MOD.JAVA?
Hi as i sayd in the description, the proplem of mcmod.info files is that in minecraft.jar there can be only one... is there a way to change the name of this file or edit the mod description in mod_Mymod.java file??
-
MODDING: achievements - getting duplicate stat id after a while
Okay it works... testing a million times and it works, really thx
-
MODDING: achievements - getting duplicate stat id after a while
Ok so here is the problem, i'm getting it on MCP: Once i added my achievements on my mod, and taking them several times, MCP started CRASHING AT START with an higher frequence every time i take my stat.... i think that if i delete the folder Jars/stats, the crashes stop until i take some more of my custom stats... does this error affect MINECRAFT CLIENT or only MCP? is there a way to fix it? here is the error code: java.lang.RuntimeException: Duplicate stat id: "Unknown stat" and "achievement.Glacia" at id 5243380
-
1.5.1 no more blockIndexInTexture??
Hi, I made a mod, a Dimension a lot of time ago, now when trying to update, i have to edit a lot of things, but this code disappeared!!!
-
3D Item Model Rendering help
Not sure if you were referring to me because I have listed all my source code and it's not renderModel it's just render No, there are two codes: render and renderModel, and when you make a custom block model (but not in an entity model) you should do renderModel too
-
Achievements: impossible to use the icon of an item/block specified on @init
i don't understand if i have to do MyBlock = new .... in @preinit, or if it is wrong..
-
3D Item Model Rendering help
have you put this string of code in your model? public void renderModel(float f1) { YOURMODELPART1.render(f1); //Should be your model part ex: arm1, arm2, leg2// YOURMODELPART2.render(f1); YOURMODELPART3.render(f1); //etc....// } PS: i'm sure that Mazetar (the post up mine) didn't do that... for you, well, i don't have your source
-
Achievements: impossible to use the icon of an item/block specified on @init
hi, i did so to treate a config file public block MyBlock; @init MyBlock = new BlockMyBlock... but when i use it for: MyAchievement = (new Achievement (300, "NAME", 0,0, MyBlock , null)).registerAchievement(); it won't work, and as i said, my block has a config file (for the id), so i don't want to remove it from init... is there a way? PS: maybe the next forge version should include a way to change achievement icon...
-
Too many packages
:'( i have a dimension mod, it was working well on 1.4.5, and now in 1.4.6 is giving a lot of errors, there are too many packages
-
DIMENSION mod error (working in latest forge build)
Hi, i had a new error in my 1.4.5 custom dimension, and it was working in latest recommanded forge build (the forge build without python) Now an error shows when i CREATE A NEW WORLD (yes) and when i re-enter in my newworld it works, but i enter in the portal (my custom portal) and the error shows again. [glow=red,2,300]I'M SURE THAT THE ERROR IS CAUSED BY MY CUSTOM CHUNK PROVIDER[/glow] SO HERE IS THE ERROR: [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] net.minecraft.src.ReportedExcepti on: Exception getting block type in world [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.World.<init >(World.java:278) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.WorldServer .<init>(WorldServer.java:61) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.WorldServer Multi.<init>(WorldServerMulti.java:9) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.IntegratedS erver.loadAllWorlds(IntegratedServer.java:59) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.IntegratedS erver.startServer(IntegratedServer.java:87) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.server.Minecraf tServer.run(MinecraftServer.java:461) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.ThreadMinec raftServer.run(ThreadMinecraftServer.java:17) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] Caused by: java.lang.NullPointerE xception [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.World.getBl ockMaterial(World.java:588) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.WorldGenDun geons.generate(WorldGenDungeons.java:26) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.ChunkProvid erGlacia.populate(ChunkProviderGlacia.java:511) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.ChunkProvid erServer.populate(ChunkProviderServer.java:242) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.Chunk.popul ateChunk(Chunk.java:1229) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.ChunkProvid erServer.loadChunk(ChunkProviderServer.java:137) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.ChunkProvid erServer.provideChunk(ChunkProviderServer.java:150) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.World.getCh unkFromChunkCoords(World.java:496) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.World.getBl ockId(World.java:379) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.World.isAir Block(World.java:408) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.World.getFi rstUncoveredBlock(World.java:350) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.WorldProvid er.canCoordinateBeSpawn(WorldProvider.java:84) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.WorldServer .createSpawnPosition(WorldServer.java:732) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.WorldServer .initialize(WorldServer.java:696) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.World.<init >(World.java:263) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] ... 6 more [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] java.lang.NullPointerException [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraftforge.common.For geChunkManager.saveWorld(ForgeChunkManager.java:818) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraftforge.common.For geInternalHandler.onDimensionSave(ForgeInternalHandler.java:74) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraftforge.event.ASME ventHandler_2_ForgeInternalHandler_onDimensionSave_Save.invoke(.dynamic) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraftforge.event.ASME ventHandler.invoke(ASMEventHandler.java:35) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraftforge.event.Even tBus.post(EventBus.java:103) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.WorldServer .saveAllChunks(WorldServer.java:802) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.server.Minecraf tServer.saveAllWorlds(MinecraftServer.java:376) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.server.Minecraf tServer.stopServer(MinecraftServer.java:409) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.IntegratedS erver.stopServer(IntegratedServer.java:218) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.server.Minecraf tServer.run(MinecraftServer.java:544) [15:14:52] 2012-12-12 15:14:52 [iNFO] [sTDERR] at net.minecraft.src.ThreadMinec raftServer.run(ThreadMinecraftServer.java:17) AND HERE IS MY CHUNKPROVIDER: http://www.sourcepod.com/qqsqay68-12522
-
pyton not working on my windows version
When i try starting install.cmd it says that my windows version is incomptible
-
Dimension: ERROR when entering teleporter
So, when i enter in my portal MINECRAFT give null pointer exception error: This is my mod file package net.minecraft.src; import cpw.mods.fml.client.FMLClientHandler; import cpw.mods.fml.common.*; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkRegistry; import cpw.mods.fml.common.registry.*; import net.minecraftforge.common.*; import net.minecraft.src.ServerConfigurationManager; public class mod_Glacia extends BaseMod { public static final BiomeGenBase Glacia; public void preInit(FMLPreInitializationEvent var1) { DimensionManager.registerProviderType(87, WorldProviderGlacia.class, false); DimensionManager.registerDimension(87, 87); } public static int grassTop = 0; public static int grassSide = 0; public static int portalImage = 0; public static int sun = 0; public static int moon = 0; public static final Block GlacialBedrock = (new BlockGlacialBedrock(200, 1)).setBlockUnbreakable().setResistance(6000000.0F).setStepSound(Block.soundStoneFootstep).setBlockName("Glacial bedrock").disableStats().setCreativeTab(CreativeTabs.tabBlock); public static Block BlockGlacialDirt = (new BlockGlacialDirt(201, 2)).setHardness(2.0F).setResistance(2.0F).setLightValue(0.0F).setLightOpacity(0).setBlockName("Glacial dirt").setCreativeTab(CreativeTabs.tabBlock); public static BlockGlacialGrass BlockGlacialGrass = (BlockGlacialGrass)(new BlockGlacialGrass(202)).setHardness(2.0F).setResistance(2.0F).setLightValue(0.4F).setLightOpacity(0).setBlockName("Glacial grass").setCreativeTab(CreativeTabs.tabBlock); public static Block BlockGlacialStone = (new BlockGlacialStone(203, 4)).setHardness(10.0F).setResistance(10.0F).setLightValue(0.0F).setLightOpacity(0).setBlockName("Glacial stone").setCreativeTab(CreativeTabs.tabBlock); public static Block BlockGlacialMagicStone = (new BlockGlacialMagicStone(204, 6)).setHardness(10.0F).setResistance(10.0F).setLightValue(0.0F).setLightOpacity(0).setBlockName("Glacial magic stone").setCreativeTab(CreativeTabs.tabBlock); public static BlockGlaciaPortal BlockGlaciaPortal = (BlockGlaciaPortal)(new BlockGlaciaPortal(205, 14)).setBlockUnbreakable().setResistance(6000000.0F).setBlockName("Glacial portal"); public String Version() { return "1.0"; } public String getVersion() { return "1.0"; } public void load() { ModLoader.addName(GlacialBedrock, "Glacial bedrock"); ModLoader.addName(BlockGlacialDirt, "Glacial dirt"); ModLoader.addName(BlockGlacialGrass, "Glacial grass"); ModLoader.addName(BlockGlacialStone, "Glacial stone"); ModLoader.addName(BlockGlacialMagicStone, "Glacial magic stone"); ModLoader.addName(BlockGlaciaPortal, "Glacial portal"); ModLoader.registerBlock(GlacialBedrock); ModLoader.registerBlock(BlockGlacialDirt); ModLoader.registerBlock(BlockGlacialGrass); ModLoader.registerBlock(BlockGlacialStone); ModLoader.registerBlock(BlockGlacialMagicStone); ModLoader.registerBlock(BlockGlaciaPortal); ModLoader.addRecipe(new ItemStack(BlockGlacialMagicStone, 14), new Object[] {"123", "456", "789", '1', Item.snowball, '2', Item.snowball, '3', Item.snowball, '4', Item.snowball, '5', Item.diamond, '6', Item.snowball, '7', Item.snowball, '8', Item.snowball, '9', Item.snowball}); } static { Glacia = new BiomeGenGlacia(31).setTemperatureRainfall(0.9F, 0.3F).setMinMaxHeight(0.1F, 0.25F).setColor(0xfa9418).setBiomeName("Glacia"); } } and this is the ONENTITYCOLLIDEDWITHBLOCK code on BlockMYPORTAL @Override public void onEntityCollidedWithBlock(World par1World, int par2, int par3, int par4, Entity par5Entity) { if (par5Entity.ridingEntity == null && par5Entity.riddenByEntity == null && par5Entity instanceof EntityPlayerMP) { if (par5Entity instanceof EntityPlayerMP) { EntityPlayerMP thePlayer = (EntityPlayerMP) par5Entity; if (par5Entity.dimension != 87) { ModLoader.getMinecraftInstance().thePlayer.timeUntilPortal = 100; thePlayer.mcServer.getConfigurationManager().transferPlayerToDimension(thePlayer, 0); } else { ModLoader.getMinecraftInstance().thePlayer.timeUntilPortal = 100; thePlayer.mcServer.getConfigurationManager().transferPlayerToDimension(thePlayer, 87, new GlaciaTeleporter(thePlayer.mcServer.worldServerForDimension(87), null)); } } } } I don't know where is the error
IPS spam blocked by CleanTalk.