• 0

    posted a message on [1.2.5/1.2.4/1.2.3] Apple Bushes v2.0 - Now w/ config file and world generating!
    Quote from Jesuitical



    It looks like one of your mods is conflicting. I would remove the majority of them to be safe, but it looks like the "Spike" mod that is causing your problem. :3


    Awesome mod, rickrage.


    Thanks! Nice to see some people enjoying it :D
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.2.5/1.2.4/1.2.3] Apple Bushes v2.0 - Now w/ config file and world generating!
    Quote from Skylord1

    Amazing! This is good for starting a new world! Good Job! Now I won't starve in Hardcore Mode :D TYVM Dude! +45 :Diamond:

    Suggestion:
    - How about Cocoa bushes? 'cause they are very hard to get! Please make it :D


    Glad you like it! :D
    I'll look into that !
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.13.2] Dynamic Lights - portable and moving lightsources
    Quote from cthulhu_fhtagn_

    Hi can somebody help me?

    Mods loaded: 43
    ModLoader 1.1
    mod_ModLoaderMp 1.1
    mod_MinecraftForge 1.3.3.12
    mod_dynamiclights v1.1 MCP
    mod_WirelessRemote 0.5
    mod_WirelessRedstone 1.5
    mod_IDResolver 1.1 - Update 0
    mod_NotEnoughItems 1.1.1
    mod_ReiMinimap v3.0_01 [1.1]
    mod_InvTweaks 1.40 (1.1)
    mod_MinerHelmet_Dynamic 1.1.0 v1.2.1
    mod_Backpack 1.1.0_v2-2
    mod_BuildCraftCore 2.2.12
    mod_BuildCraftBuilders 2.2.12
    mod_BuildCraftEnergy 2.2.12
    mod_BuildCraftFactory 2.2.12
    mod_BuildCraftTransport 2.2.12
    mod_jBuildCraft_BucketFiller 2.2.13
    mod_zAdditionalPipes Rev32.3
    mod_CCTurtle 1.3
    mod_ComputerCraft 1.3
    mod_CraftGuide 1.4.2 for Minecraft 1.1.0
    mod_Elevator 1.1.0
    mod_EnderChest 1.0.1
    mod_Forestry 1.2.6.5
    mod_IC2ThermoBlock v1.0.2
    mod_IC2 v1.71
    mod_BCIC2Crossover 1.24b for MC 1.1, BC 2.2.12, IC2 1.70
    mod_IC2AdvancedMachines v3.7
    mod_Minechem 1.5
    mod_CompactSolars 1.2
    mod_IC2_ChargingBench 1.71-1
    mod_IronChest 2.4
    mod_Thx Minecraft Helicopter Mod - mod_thx-mc100_v015
    mod_NotEnoughItems 1.1.1
    mod_RedPowerArray 2.0pr4d
    mod_RedPowerCore 2.0pr4d
    mod_RedPowerLighting 2.0pr4d
    mod_RedPowerLogic 2.0pr4d
    mod_RedPowerMachine 2.0pr4d
    mod_RedPowerWiring 2.0pr4d
    mod_RedPowerWorld 2.0pr4d
    mod_ZZZMissile 0.81

    Minecraft has crashed!
    ----------------------
    Minecraft has stopped running because it encountered a problem.
    If you wish to report this, please copy this entire text and email it to [email protected]
    Please include a description of what you did when the error occured.
    --- BEGIN ERROR REPORT 8eb08238 --------


    Minecraft: Minecraft 1.1
    java.lang.NoSuchMethodError: vq.isBlockSolidOnSide(IIII)Z
    at eloraam.core.RedPowerLib.canSupportWire(RedPowerLib.java:110)
    at eloraam.wiring.TileWiring.refreshBlockSupport(TileWiring.java:194)
    at eloraam.wiring.TileWiring.onBlockNeighborChange(TileWiring.java:123)
    at eloraam.core.BlockMultipart.a(BlockMultipart.java:50)
    at vq.m(World.java:737)
    at vq.j(World.java:722)
    at vq.f(World.java:612)
    at BlockRedstoneWireless.setState(BlockRedstoneWireless.java:43)
    at BlockRedstoneWirelessR.updateRedstoneWirelessTick(BlockRedstoneWirelessR.java:128)
    at BlockRedstoneWireless.a(BlockRedstoneWireless.java:246)
    at BlockRedstoneWirelessR.changeFreq(BlockRedstoneWirelessR.java:48)
    at TileEntityRedstoneWirelessR.k_(TileEntityRedstoneWirelessR.java:26)
    at vq.m(World.java:1742)
    at net.minecraft.client.Minecraft.k(SourceFile:1594)
    at net.minecraft.client.Minecraft.x(SourceFile:709)
    at net.minecraft.client.Minecraft.run(SourceFile:662)
    at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT 10bb3ad7 ----------


    This is a redpower 2 error, go there.
    Posted in: Minecraft Mods
  • 0

    posted a message on [Resolved]Null Pointer error, need help resolving.
    Resolved.
    Posted in: Modification Development
  • 0

    posted a message on [Resolved]Null Pointer error, need help resolving.
    Neither of those worked...Upon further inspection I realize it wasn't about the world, it's about the ItemStack variable. I've tried initializing it with something like:
    ItemStack itemstack = new ItemStack(mod_Floating.gps);

    I've tried many variations of that. But I think it has to do with not being able to read the NBTTagCompound outside the class? Or something?
    Revised code:
    public void actionPerformed(GuiButton gb)
    {
      EntityPlayer ep = ModLoader.getMinecraftInstance().thePlayer;
      ItemStack itemstack = new ItemStack(mod_Floating.gps);
      int i = (int)ep.posX;
      int j = (int)ep.posY;
      int k = (int)ep.posZ;
      if(gb.id == 1)
      {
       ItemGPS.saveCoords(itemstack, i, j, k);
      }
      if(gb.id == 2)
      {
       ModLoader.getMinecraftInstance().thePlayer.addChatMessage("Remove?");
      }
      if(gb.id == 3)
      {
       ModLoader.getMinecraftInstance().thePlayer.addChatMessage("Teleporting to:" +i+j+k);
       ItemGPS.teleport(itemstack);
      }
    }

        public static void teleport(ItemStack itemstack)
        {
    	 EntityPlayer entityplayer = ModLoader.getMinecraftInstance().thePlayer;;
    	 NBTTagCompound tag = itemstack.getTagCompound();
    	 int i = tag.getInteger("x");
    	 int j = tag.getInteger("y");
    	 int k = tag.getInteger("z");
    	 double j1 = j + 2.7;
    	 entityplayer.setPosition(i, j1, k);
    	 entityplayer.addChatMessage("Teleporting to:" + i + j1 + k);
        }

    Once again, the teleport method works fine within the ItemGPS class, but not if referenced from outside the class.
    Posted in: Modification Development
  • 0

    posted a message on Need help fast!
    Run minecraft from the command line (google how to do that). It'll keep minecraft from fail crashing like that and will let you get a good look at the crash report.
    Posted in: Modification Development
  • 0

    posted a message on [Resolved]Null Pointer error, need help resolving.
    So today while fiddling around with GUI's, I was trying to make a button in a gui run a method from another class, thought it would be easy, but errors bombarded me.

    public void actionPerformed(GuiButton gb)
    {
      ItemStack itemstack = new ItemStack(mod_Floating.gps);
      EntityPlayer ep = ModLoader.getMinecraftInstance().thePlayer;
      int i = (int)ep.posX;
      int j = (int)ep.posY;
      int k = (int)ep.posZ;
      if(gb.id == 1)
      {
       ItemGPS.saveCoords(itemstack, i, j, k);
      }
      if(gb.id == 2)
      {
       ModLoader.getMinecraftInstance().thePlayer.addChatMessage("Remove?");
      }
      if(gb.id == 3)
      {
       ModLoader.getMinecraftInstance().thePlayer.addChatMessage("Teleporting to:" +i+j+k);
       ItemGPS.teleport(world, ep, itemstack);
      }
    }
    But my problem comes from the world variable in the very bottom line. I just can't seem to get it to run without tossing a Null Pointer Exception that points at the teleport() method in ItemGPS.

    Here is that code within the ItemGPS class:
    	public static void teleport(World world, EntityPlayer entityplayer, ItemStack itemstack)
    	{
    	 NBTTagCompound Tag = itemstack.getTagCompound();
    	 int i = Tag.getInteger("x");
    	 int j = Tag.getInteger("y");
    	 int k = Tag.getInteger("z");
    	 double j1 = j + 2.7;
    	 entityplayer.setPosition(i, j1, k);
    	 entityplayer.addChatMessage("Teleporting to:" + i + j1 + k);
    	}

    I've tested and re tested this; if i call the method from within the ItemGPS class, it works fine, no null pointer exception. But as soon as I try to use it from the GuiTeleporter class, like when a button is pressed, i get this error:

    java.lang.NullPointerException
    at net.minecraft.src.ItemGPS.teleport(ItemGPS.java:32)
    at net.minecraft.src.GuiTeleporter.actionPerformed(GuiTeleporter.java:35)
    at net.minecraft.src.GuiScreen.mouseClicked(GuiScreen.java:98)
    at net.minecraft.src.GuiScreen.handleMouseInput(GuiScreen.java:165)
    at net.minecraft.src.GuiScreen.handleInput(GuiScreen.java:151)
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1642)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:891)
    at net.minecraft.client.Minecraft.run(Minecraft.java:799)
    at java.lang.Thread.run(Unknown Source)

    Posted in: Modification Development
  • 0

    posted a message on [ModLoader][1.0.0] Pigalots Random Tutorials
    Wow! This was really awesome, still works too :D
    +1
    Posted in: Tutorials
  • 0

    posted a message on Creating armor.
    I've looked at a couple tutorials, and they all ask you to put the armor in the jar. I don't want to do that.

    Is there no way to make ModLoader read the armor from, for instance, where the rest of the textures for a mod typically are?
    If not, someone knowledgeable should show me how I can "install" my rendered armor textures to the armor folder within the minecraft.jar.

    Thanks!
    Posted in: Modification Development
  • 0

    posted a message on [Tutorial] Custom Sounds and More
    Nvrm, got mine to work.
    Thanks for this tut :D

    Cheers!
    Posted in: Tutorials
  • 0

    posted a message on [solved]Block like the enchanting table
    got it! Thanks for your assistance
    Posted in: Modification Development
  • 0

    posted a message on [solved]Block like the enchanting table
    The problem I'm having is that when you add custom renders like such, you have to use ModLoader to add them to the game actually, so Minecraft recognizes them (right?). I'm struggling figuring the syntax of that out.
    Posted in: Modification Development
  • 0

    posted a message on [solved]Block like the enchanting table
    No? But this is exactly how the enchanting table does it, no?
    Posted in: Modification Development
  • 0

    posted a message on [solved]Block like the enchanting table
    Quote from jamolnng

    Is the thing you are trying to render on top a model in itself, or actually part of the block model? Like, here is an example www.minecraftforum.net/topic/1119919-125-ssp-smp-exp-chest-v16/ something like that?

    I can't tell if that's part of the block or not, but just think of the enchanting table. When you craft it, there is no book on top of it in the inventory, but when you place it down there is the model of the book; that's what I'm trying to do.
    The thing on top is a model within itself, not part of the block model.
    Posted in: Modification Development
  • 0

    posted a message on [solved]Block like the enchanting table
    Quote from jamolnng

    The enchanting table classes are only set up to use the book, I suggest you make a model that has the thing you want to spin on top. The book on the enchantment table is not actually part of the block model. It is rendered in.

    Yes, I know that. Maybe me original post was unclear, but what I'm struggling with is getting my custom model to render above the block.
    Quote from TechGuy543

    Post your render class please.

    As a side note, I'm having the same trouble except that I can't even get the book to show.

    package net.minecraft.src;
    import org.lwjgl.opengl.GL11;
    public class RenderFloating extends TileEntitySpecialRenderer
    {
        private ModelFloating floating;
        public RenderFloating(ModelBase modelbase, float f)
        {
    	    floating = new ModelFloating();
        }
        public void func_40449_a(TileEntityFloating par1TileEntityFloating, double par2, double par4, double par6, float par8)
        {
    	    GL11.glPushMatrix();
    	    GL11.glTranslatef((float)par2 + 0.5F, (float)par4 + 0.75F, (float)par6 + 0.5F);
    	    float f = (float)par1TileEntityFloating.tickCount + par8;
    	    GL11.glTranslatef(0.0F, 0.1F + MathHelper.sin(f * 0.1F) * 0.01F, 0.0F);
    	    float f1;
    	    for (f1 = par1TileEntityFloating.bookRotation2 - par1TileEntityFloating.bookRotationPrev; f1 >= (float)Math.PI; f1 -= ((float)Math.PI * 2F)) { }
    	    for (; f1 < -(float)Math.PI; f1 += ((float)Math.PI * 2F)) { }
    	    float f2 = par1TileEntityFloating.bookRotationPrev + f1 * par8;
    	    GL11.glRotatef((-f2 * 180F) / (float)Math.PI, 0.0F, 1.0F, 0.0F);
    	    GL11.glRotatef(80F, 0.0F, 0.0F, 1.0F);
    	    //bindTextureByName("/item/book.png");
    	    float f3 = par1TileEntityFloating.pageFlipPrev + (par1TileEntityFloating.pageFlip - par1TileEntityFloating.pageFlipPrev) * par8 + 0.25F;
    	    float f4 = par1TileEntityFloating.pageFlipPrev + (par1TileEntityFloating.pageFlip - par1TileEntityFloating.pageFlipPrev) * par8 + 0.75F;
    	    f3 = (f3 - (float)MathHelper.func_40346_b(f3)) * 1.6F - 0.3F;
    	    f4 = (f4 - (float)MathHelper.func_40346_b(f4)) * 1.6F - 0.3F;
    	    if (f3 < 0.0F)
    	    {
    		    f3 = 0.0F;
    	    }
    	    if (f4 < 0.0F)
    	    {
    		    f4 = 0.0F;
    	    }
    	    if (f3 > 1.0F)
    	    {
    		    f3 = 1.0F;
    	    }
    	    if (f4 > 1.0F)
    	    {
    		    f4 = 1.0F;
    	    }
    	    float f5 = par1TileEntityFloating.bookSpreadPrev + (par1TileEntityFloating.bookSpread - par1TileEntityFloating.bookSpreadPrev) * par8;
    	    floating.render(null, f, f3, f4, f5, 0.0F, 0.0625F);
    	    GL11.glPopMatrix();
        }
        public void renderTileEntityAt(TileEntity par1TileEntity, double par2, double par4, double par6, float par8)
        {
    	    func_40449_a((TileEntityFloating)par1TileEntity, par2, par4, par6, par8);
        }
    }
    Posted in: Modification Development
  • To post a comment, please or register a new account.