• 2

    posted a message on Could Microsoft be the end of the Modding Community?

    Quote from ChallengerTM »They will rewrite from Java to C++ (I guess)

    So modding how it is possible today will not be possible in future.



    That's just an assumption.

    You don't make conclusions based on assumptions
    Posted in: Discussion
  • 1

    posted a message on (Help with Block events)Forge any codes would help, please read the rest
    You can either use these functions:

    public void onBlockClicked(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer) {
    //code to give item/spawn structure
    }


    or

    public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9)
    {
    //code to give item/spawn structure
    return false;
    }
    Posted in: Modification Development
  • 1

    posted a message on Haunted Minecraft.jar WTF?
    Quote from Pwnguin

    Technically this jar is illegal, because iirc on the terms and conditions page it says you are not allowed to make and distribute .jars


    Hmmm... the closest for this to happen is to make a mod.

    I know what I'm doing tonight!
    Posted in: Mods Discussion
  • 1

    posted a message on The Mod API is a horrible idea
    Quote from elias79

    Forge is a bad hack, not a proper implementation.


    Explain how? I'm curious about this
    Posted in: Discussion
  • 2

    posted a message on [Help] Error (java.lang.Exception:... ...is missing name tag!) ?

    Hello!

    When I start typing ModLoader.setBlockName, eclipse doesn't come up with anything, so methinks it's not a real method.

    I know I have the latest Mod Loader, so I dunno why it wouldn't show up.

    Any other suggestions would help. But thanks for responding anyway!

    SqueegeeLuigi9999


    You append

    .setBlockName("yournamehere");


    to this part:

    new DecorationBlock(170, 1)
    Posted in: Modification Development
  • 1

    posted a message on why is there hardly any free op servers
    Because not everyone wants everyone to be op
    Posted in: Discussion
  • 1

    posted a message on [SOLVED] converting time to standard hh:mm
    Try this:

    long time;
    
    if (worldObj.getWorldTime() > 24000) time = worldObj.getWorldTime() - 24000 * (int)(worldObj.getWorldTime() / 24000);
    else time = worldObj.getWorldTime();
    
    int hour, minute;
    
    if ((((int)time / 1000) + 6) > 23) hour = (((int)time / 1000) + 6) - 24;
    else hour = (((int)time / 1000) + 6);
    
    if (((time * 60) / 1000) > 60) minute = (int)((time * 60) / 1000) - (60 * ((int)time / 1000));
    else minute = (int)((time * 60) / 1000);
    
    mc.fontRenderer.drawString("Time: " + hour + ":" + minute, 302, 42, 0xFFFFFFFF);


    Hope it works :)

    EDIT: Tested and seems to work with no problems..
    Posted in: Modification Development
  • 1

    posted a message on Portal (Dimension API and ModLoader)
    If Forge,

    Quote from darklord987

    This line in BlockTerrenaPortal
    public TC getTeleporter()
    {
    return new TerrenaTeleporter();
    }



    Replace it with this one:

    public TC getTeleporter()
    {
    return new TerrenaTeleporter(MinecraftServer.getServer().worldServerForDimension(ID of dimension you are going into));
    }


    Quote from darklord987

    and this in TerrenaTeleporter

    private Random random;
    public TerrenaTeleporter()
    {
    random = new Random();
    }



    Replace it with
    public TerrenaTeleporter(WorldServer server)
    {
    random = new Random();
    }
    Posted in: Modification Development
  • 2

    posted a message on People that whine about Minecraft
    Quote from Quanni123X

    Okay, if people complaing about updates bother you, you don't HAVE to click on their thread. You seem like you're complaining right now.


    If people are complaining about people complaining about updates, you don't have to view the forums. It seem like you're complaining right now.
    Posted in: Discussion
  • 1

    posted a message on SILENT CREEPERS ARE Annoying
    Quote from tsuramoto

    ...and you know this how?


    Let me get some coding evidence for you
    (Credits to MCP for the decompiled code)



    Anything you do won't change anything unless you use a mod
    Posted in: Discussion
  • To post a comment, please .