• 0

    posted a message on How would your avatar interact with the above avatar?
    Try to be friends and taunt if isn't friendly.
    Posted in: Forum Games
  • 0

    posted a message on Syntax error on token , invalid ClassType
    worldObj.spawnEntityInWorld(new "EntityPatapon"("patapon"));


    Strings aren't callable.
    Posted in: Modification Development
  • 0

    posted a message on how to get a variable from chat (multiplayer or singleplayer)
    There are a few ways to get variables from a string. The easiest would be to split the command (in this case, using whitespace) or a more technical approach would be to use regex.
    Posted in: Modification Development
  • 0

    posted a message on Count to 50 before someone with a My Little Pony avatar posts!
    0

    I hate it when I forget to set my avatar, especially on old accounts.
    Posted in: Forum Games
  • 0

    posted a message on Count to 50 before someone with a My Little Pony avatar posts!
    Does anypony know the highest they have gotten so far?
    Posted in: Forum Games
  • 0

    posted a message on When is MCP for version 1.0.0 gonna come out?
    If they could at least fix the 100 errors from decompiling, I would be happy to write the deob tables for myself (patches as bugs are found would be nice too).
    Posted in: Mods Discussion
  • 0

    posted a message on Declaring a block boolean from an entity
    If you want him to open doors when touched, the only way I can think of right now is adding it to the collision detection.

    Also, are you using an IDE?
    Posted in: Modification Development
  • 0

    posted a message on Worn out tool turns into another item
    Quote from nicaetinismo

    depends on what kind of item it is, for example if its a type of tool then using the onBlockDestroyed method like billythegoat101 mentioned would work nicely, if its a weapon the onEntityHit method would work better (please be more descriptive)

    to answer your question, onBlockDestroyed is found in the Item class (which your item class will inherit when it extends Item), just overwrite it by putting this in your item's class:
    public boolean onBlockDestroyed(ItemStack itemstack, int i, int j, int k, int l, EntityLiving entityliving)
        {
            itemstack.damageItem(1, entityliving);
            return true;
        }


    again, be more descriptive, ill help you once i know the context of your problem :smile.gif:


    Actually, you should be looking at ItemStack.damageItem()

    It is the actual code that counts the damage and deletes the item when it runs out of uses. I recommend having it check the item's id and go from there to do what you want it to do.
    Posted in: Modification Development
  • 0

    posted a message on Macintosh Ponies
    • Rename the minecraft.jar to minecraft.zip
    • Extract the contents into a folder
    • Make the changes you need
    • Compress the contents back into a minecraft.zip
    • Rename the minecraft.zip back to minecraft.jar
    • ???
    • Ponies!!!!
    Posted in: Mods Discussion
  • 0

    posted a message on [Closed] ☆ ☆ ☆ SUPER-EARTH ☆ ☆ ☆ The Original Minecraft Community ☆
    Where are you from?: USA, Colorado
    Your age?: 20
    Have you read and agreed to the rules in the post below? Yes
    Did you vote for us? Not yet
    Extra notes?: Minecraft IGN: Zanoab
    How did you hear of Super-Earth?: Minestatus
    Posted in: PC Servers
  • 0

    posted a message on Random crashes help
    I was able to work around it the first time by moving all the modifications deeper so Block.java remains unmodified. I started getting it again after another few modifications to Block.java so I'm going to be doing some trial and error.

    I just added some code that adds blocks that are missing stepSounds to a log and a check to skip it if null.

    I only got one so far which is 30 (cobweb). Cobweb was causing problems for me last time so there must be a pattern somewhere.
    Posted in: Modification Development
  • 0

    posted a message on Random crashes help
    I had this problem when I was messing with my Entities file as well. I tried everything (including using a debugger and realized that the sound was null) but couldn't get my file to work. I was only able to get rid of the error by getting a clean Entities file and adding the changes back in. You might have made a mistake somewhere and if worst comes to worst, add the changes back in piece by piece and find workarounds for the changes that cause it to crash.

    For some reason, Entities doesn't like to be modified.
    Posted in: Modification Development
  • 0

    posted a message on Java String-to-int Conversion
    "2-5" is not an integer

    What exactly are you trying to do?
    Posted in: Modification Development
  • 0

    posted a message on ★ Empyrean ★ - No Whitelist|Hardcore|PvP| by DarkTideGames
    #1 In-Game Name
    - Zanoab

    #2 Country and Age (this is for our demographic purposes)
    - USA, 20

    #3 How did you hear about us?
    - Found this thread here

    #4 Why do you want to Join DarkTide?
    - DarkTide looks active and I've been looking for a nice server to join.

    #5 Did you read and understand the rules?
    - Yes and yes

    #6 Have you logged on to DarkTide at least once?
    - Yes
    Posted in: PC Servers
  • 0

    posted a message on ♕Herocraft 🌟 Minecraft RPG Server Multiplayer 🌟 THE ORIGINAL RPG SERVER (2010) Heroes RPG!
    in-game name: Zanoab
    location and age: Colorado, USA; 20
    previous bans: None
    referral: None
    reason you should you be accepted: I can't think of any specific reason besides that I'm looking for my first server that I can enjoy and become part of.
    information you would like to add: I don't enjoy griefing people (even if they are griefing me)
    Special Key: {+bMod+}
    Posted in: PC Servers
  • To post a comment, please .