Jump to content

ninehous

Members
  • Posts

    8
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    In my basement trying to figure out a way to make lots of ethanol...
  • Personal Text
    I am convincing a friend to play modded! (no luck)

ninehous's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I'm kinda new to modding... Once I have time (and will) I will change some stuff around. Also, if it works, then it's fine for me until I find better ways to do stuff.
  2. It's a block by the way. Also keep in mind that I started writing this mod only yesterday so there's not much yet. package ninehous.compressedblocks.blocks; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.item.ItemStack; import ninehous.compressedblocks.CompressedBlocks; import cpw.mods.fml.common.registry.GameRegistry; public class BlockCompressedFlint extends Block { public static Block blockCompressedFlint; public BlockCompressedFlint(){ super(Material.rock); } public static void init(){ BlockCompressedFlint.blockCompressedFlint = new BlockCompressedFlint().setBlockName("blockCompressedFlint").setCreativeTab(CompressedBlocks.CBTab).setBlockTextureName(CompressedBlocks.modid + ":" + "blockCompressedFlint"); GameRegistry.registerBlock(blockCompressedFlint, "blockCompressedFlint"); GameRegistry.addRecipe(new ItemStack(blockCompressedFlint, 1), new Object[]{"fff", "fff", "fff", Character.valueOf('f'), new ItemStack(BlockFlint.blockFlint, 1)}); GameRegistry.addShapelessRecipe(new ItemStack(BlockFlint.blockFlint, 9), blockCompressedFlint); } }
  3. I'm writing a small mod for my server (we have too many chests laying around...), And today I encountered a weird crash when I placed one of my blocks in a crafting grid. crash report (from my dev environment): https://gist.github.com/ninehous/11325425 I read the whole file and there's not a single line involving one of my classes. Any clue for a solution?
  4. a houndred and *faints* i can't have 10 mods without lagging out every here and there. Did it not occur to you that may be the cause of the lag? Look at what I wrote again.
  5. If I am not mistaken, then you do that just like a server batch file, but instead of the server jar, you put the name of the installer jar. java -Xmx1G -Xms1G -jar "installer jar filename" without the quotes. If the batch file is in a different directory than the installer, then put the path to the installer instead of just the installer. I am assuming that 1 gigabyte of memory is sufficent because MC itself can work with 1G.
  6. Apparently, removing only PortalGun fixes everything. There are still tiny lag spikes every now and then, but they're normal because I have 134 mods and don't have a super computer (yet ).
  7. I know forge doesn't cause random lag (unless you have a really crappy computer). I'll try to kill mods and see what happens, because the lag is not related to a specific area.
  8. (Just to clarify: I'm not a noob) MC 1.6.4 MinecraftForge 9.11.1.965 Every once in a while, when playing, I encounter a HUGE FPS drop. From ~80 FPS to ~5 FPS. After some time the lag magically disappears like it was never there (and after some more time it returns). When pressing SHIFT+F3 I see that the "Tick" slice of the pie chart is taking about 90%, and by looking at the launcher console I see a lot of lines like this: [sTDOUT] Something's taking too long! 'root' took aprox 526.230657 ms. Any ideas what is "root"? Or, can someone tell the cause to this spam (and what is causing this to actually take too long)? If I'll know the cause to this issue I'll share the solution immediately. (Please don't kill me if it's too obvious!) I run Opis profiles every 30 minutes or so and everything seems fine Tick-wise. /forge tps gives a tick time of 12.something ms (with the lag) which is awesome. Forge client log: https://gist.github.com/ninehous/31c982bb9cb12725a80a No server log due to the fact that this happened in a SP world. If I missed some important info that could help, please reply and tell me what I missed.
×
×
  • Create New...

Important Information

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