Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Alesimula

Members
  • Joined

  • Last visited

Everything posted by Alesimula

  1. 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??
  2. Okay it works... testing a million times and it works, really thx
  3. 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
  4. 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!!!
  5. 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
  6. i don't understand if i have to do MyBlock = new .... in @preinit, or if it is wrong..
  7. 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
  8. 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...
  9. :'( 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
  10. 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
  11. When i try starting install.cmd it says that my windows version is incomptible
  12. 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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.