
freshhh
Members-
Posts
60 -
Joined
-
Last visited
Everything posted by freshhh
-
Hi, my modded Minecraft crashes everytime I run it in Eclipse, however my original doesn't. I suspected memory, but then I came across an array out of bounds error, I searched everywhere and couldn't find anything that's really out of bounds. This is a new mod since today so it only has one block in it yet. Classes used are : Base, DamagingBlock, ClientProxy and CommonProxy, here's the errorlog I get, this error only occurs when I enter a minecraft world, not when I'm in the menu, tho the minecraft menu is slow in Eclipse. I searched everywhere yet I cannot solve this. Minecraft has crashed! ---------------------- Minecraft has stopped running because it encountered a problem; Exception in server tick loop A full error report has been saved to C:\Users\Robbe\Desktop\A\ORES\mcp\jars\.\crash-reports\crash-2013-06-29_00.20.49-server.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash --- BEGIN ERROR REPORT b2cf939d -------- Full report at: C:\Users\Robbe\Desktop\A\ORES\mcp\jars\.\crash-reports\crash-2013-06-29_00.20.49-server.txt Please show that file to Mojang, NOT just this screen! Generated 29/06/13 0:21 -- System Details -- Details: Minecraft Version: 1.5.2 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_17, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 108472 bytes (0 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 13308924 (745299744 bytes; 710 MB) allocated, 13308924 (745299744 bytes; 710 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v7.51 FML v5.2.2.684 Minecraft Forge 7.8.0.684 4 mods loaded, 4 mods active mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{5.2.2.684} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{7.8.0.684} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Tutorial{1.0.0} [Tutorial] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 0 / 8; [] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' java.lang.OutOfMemoryError: Java heap space at java.util.ArrayList.<init>(Unknown Source) at java.util.ArrayList.<init>(Unknown Source) at net.minecraft.world.World.getEntitiesWithinAABBExcludingEntity(World.java:3602) at net.minecraft.world.World.getEntitiesWithinAABBExcludingEntity(World.java:3597) at net.minecraft.world.World.getCollidingBoundingBoxes(World.java:1691) at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:178) at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:383) at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:91) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:675) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:571) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:127) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:469) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) --- END ERROR REPORT cde23b54 ----------
-
Sorry for the late reply but my computer broke nad I couldn't respond, does anybody have any ideas ? It just doesn't work for me.
-
Hey, yes, yet another question from me, but each answer gets me closer to my achievements, but anyways, back on topic. I got old mod files from an earlier mod but I messed up when updating the mod so instead I restarted moddig and started with a clean map, but now I'd like to put my mods back into my clean map, how do I do this ? I tried to place my mod folder everywhere, but none worked, any suggestions ? Thank you.
-
Well, I got this now : public boolean onBlockActivated(World worldObj, int posX, int posY, int posZ) { worldObj.createExplosion(this, posX, posY, posZ, 3F); } Excuse me if I am annoying to any of you, I'm new to modding and parameters always make me cry.
-
Somehow after I resummed this project my parameters bugged, this is really weird as it worked before, I'm not sure if I editted something that I shouldn't have edited. public boolean onBlockActivated(World worldObj, int x, int y, int z, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) { worldObj.createExplosion(worldObj, par2, par4, par6, par8, par9) } I get errors at par2 and par4, I'm unable to figure out how to solve this.
-
Oh wow, I'm retarded for not noticing lol, anyways thanks.
-
I tried but I cannot find such command. package mod.Archedeon; import net.minecraft.block.Block; import net.minecraft.world.demo.*; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.world.World; public class DamagingBlock extends Block{ private String location; public DamagingBlock(int id, Material material,String location) { super(id, material); this.location = location; setCreativeTab(CreativeTabs.tabBlock); } public void registerIcon(IconRegister iconReg){ blockIcon = iconReg.registerIcon(location); } public void onEntityWalking(World par1World, int par2, int par3, int par4, Entity par5Entity) { this.glow(par1World, par2, par3, par4); super.onEntityWalking(par1World, par2, par3, par4, par5Entity); } } here's the code, just for the record, I know this.glow should be changed but I thought I'd just change it back for now, this is actualy a set of code from the redstone Ore. public boolean onBlockActivated(World worldObj, int x, int y, int z, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) { } Do you, or do you not, have a World as one of your parameters?
-
I tried but I cannot find such command.
-
?
-
I want to make a block that when stepped on or right clicked it will explode instantly, however this block is a block and not an entity, and yet I have not found out how to create an explosion in a Block class. Could somebody help me out with this ? Will I have to make the block spawn an entity or is there another simpler way ?
-
Seems like the limit of these two potion effects lies around 27:20 (time) when they go higher than that time, they bug and become infinite.
-
I have noticed that when I set leaping and strength potion effects to food for 30mins, the potion effect will become infinite and show like this in the inventory screen : "XX:XX". Here's the line of code I've used to give the potion effect : ItemFood)new Sub3( STAID3, 10, 5.0F, false).setAlwaysEdible().setPotionEffect(5, 1800, 2, 1.0F).setUnlocalizedName("STA3"); Sorry for the many threads, I'm still in the process of learning and you guys are helping me really good with that! And yes I have posted this before but in the wrong section.
-
I've actualy managed to do it myself this time by mixing codes of three seperate treads together, might not be perfect, but it does work ! public class JumpEventHandler { @ForgeSubscribe public void livingFall(LivingFallEvent event) { if (!(event.entityLiving instanceof EntityPlayer)) return; EntityPlayer eventPlayer = (EntityPlayer)event.entityLiving; if(event.entityLiving.getActivePotionEffect(Potion.jump)!=null) { if(event.distance < 10) event.distance = 0.1F; } }
-
I can't seem to find such commands, closest I can get is FMLLog.getLogger()
-
Cool, thanks ! Another big thing learnt today, eventhandlers will come in handy in the future, didn't know of them before Another question : is it possible to make it so that I will not get damage only when my jump is lesser than 10 blocks and if it is aboe 10 blocks the player will take damage ?
-
Is there any way to negate fall damage done by leaping potions ? I'm fairly new to modding and still got tons to learn so if anyone could hook me up with an example .
-
Enchanted Apples is a mod made by Glowdemon1, only available for the real PVPers out here. Enchanted apples gives the ability to add potion effects to apples. With up to 12 unique effects, 3 tiers and 3 unique potion effects that are currently unavailable for Vanilla Minecraft. Not only this is a huge advantage, imagine the huge battles with these stackable "potions" that come with great side effects. Warning : Only install this mod if you're a real fighter. [spoiler=*LEGAL RIGHTS AND COPYRIGHT - READ BEFORE DISTRUBING]This document is Copyright ©(2013)(glowdemon1) and is the intellectual property of the author. It may be not be reproduced under any circumstances except for personal, private use as long as it remains in its unaltered, unedited form. It may be displayed on a website/forums/etc aslong the download link redirects people towards this mod's webpage (http://www.minecraftforum.net/topic/1815644-152-fml-enchanted-apples-3-new-potion-effects/). Profit made of this mod is allowed under certain circumstances which only include YouTube advertisements on videos reviewing this mod and advertisements on webpages where the mod is LEGALLY displayed. Use of this mod in modpacks is allowed aslong the modpack author/workers do not claim the mod to be theirs. Decompiling this mod to look into the files is allowed aslong the player does not copy the files/code and claim them to be theirs. Download links that are posted on webpages/forums/youtube MUST redirect the user to the mod's webpage (http://demonsdev.weebly.com/index.html). Any similarity of other mods are purely coincidence, this mod uses original code written by the author. [embed=425,349]<iframe width="560" height="315" src="http://www.youtube.com/embed/EbpFqOcIQV8" frameborder="0" allowfullscreen></iframe>[/embed] Click me for a huge list of downloads and changelogs! Click me for a huge list of recipes! https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif[/img]
-
Could you give me an example ? I'm sorry if I'm a pain in the ass but I'm kinda new and the only way I learn is examples lol.
-
Wow, I am retarded, is there any way to retrieve a custom made config file with obfuscating or do I have to do that manualy ? Thanks in advancce !
-
So I tried to release my mod today and I tried to recompile first but then I got this : http://puu.sh/2X0Sh.png So I tried to decompile as the prompt said and I got this : http://puu.sh/2X0Uk.png And then I tried to reobfuscate just for a test incase and I got this : http://puu.sh/2X0X5.png Can anybody help me out please ? I'm a beginner modder and this is a disaster for me !
-
Ah, that was a simple but helpful answer, why didn't I think of that ealrier, thanks !
-
Hi, my question is : how do I like arrange items in creative tabs, I have a few items in my food tab but they're all messed up and not in order, how do I edit the place of the items in tabs ?
-
Hi, so I'm looking to add lore (.addInformation) to some of my items, but my problem is, I got 3 class files that serve for over 10 items each, how to I add lore to my items without editting these 3 class files ( if that's possible ), I want it so that I can just add lore to this piece of line UA3 = (ItemFood)new Sub3( UAID3, 10, 5.0F, false).setAlwaysEdible().setPotionEffect(13, 1800, 1, 1.0F).setCreativeTab(CreativeTabs.tabFood).setUnlocalizedName("UA3"); By the way, lore is when you hover your mouse over an item you get like a second name under the actualy name, some sort of description, if anyone can help me with this I'd thank you in advanced, please note I'm a beginner modder so no expert nano talk please ! Also if you want to help me, please post an example of how you did it, as I said I'm no nano rocket science computer engineer !
-
My files went "corrupted" so I re-made my workship, now it's working.
-
So today I tried to open up eclipse to continue working on a mod but when I open it I notice that my workspace is completely empty. I have tried opening other projects with eclipse and those did open, but when I tried to open my directory I was working in yesterday (I didn't change the location) eclipse is completely empty, no class files or packages, even tho when I go into my modding map I notice the files I was working on earlier, any help ? It worked yesterday. By the way my computer has been acting weird since this problem occured, including ALL my accounts just logging off, facebook, youtube, pmc etc etc.