All users will need to merge their Minecraft Forum account with a new or existing Twitch account starting October 23rd. You can merge your accounts by clicking here. Have questions? Learn more here.
Dismiss
  • 0

    posted a message on [MOD] BridgeBlock/Secretlever! THE END! Check ControllerBloc
    Every time I check this forum I just get goosebumped & giddy. Fantastic work.
    Posted in: Mods Discussion
  • 0

    posted a message on Scroll the sky : Change the time of the day with the mouse
    Dang, putting the sun on the scroll-wheel is brilliant. Looks amazing.
    Posted in: Mods Discussion
  • 0

    posted a message on Delete this thread please.
    Why did you take out the readmes for my mods? Kinda put those there for a reason, you know.
    Posted in: Mods Discussion
  • 0

    posted a message on Assorted Novelties & Conveniences ~ birdcloud's mini-mods
    Quote from Tei »
    Your code is very interesting.

    I really appreciate this part in particular:
      aj aj_b(double paramDouble1, double paramDouble2, double paramDouble3)
      {
        Class[] arrayOfClass = new Class[3];
        arrayOfClass[0] = Double.TYPE;
        arrayOfClass[1] = Double.TYPE;
        arrayOfClass[2] = Double.TYPE;
        Object[] arrayOfObject = new Object[3];
        arrayOfObject[0] = new Double(paramDouble1);
        arrayOfObject[1] = new Double(paramDouble2);
        arrayOfObject[2] = new Double(paramDouble3);
        try { return (aj)Class.forName("aj").getMethod("b", arrayOfClass).invoke(null, arrayOfObject);
        } catch (Exception localException) {
          System.err.println("OH NO, aj.b foolery has ruined us...");
        }
    
        return null;
      }


    Java is a hat with fun tricks :-D


    Oh, ha ha, I'd forgotten I did that. The problem was kh & kh-derived objects (ie, physics objects) couldn't call the static member functions of aj (a 3d vector class) because kh has a double member var named aj, and Java insisted that that was the aj I wanted even though it makes no sense to use the dot operator on a double. Were this C++, I'd just have slapped a '::' in front and been done, but Java is dumb about disambiguating names because it wants to use namespaces/packages in a way that the question never comes up. Too bad we don't get that luxury with the decompiled code.

    Anyway, that was a dumb roundabout way to get at the function which I just pounded out in frustation. Now I just have a wrapper class for aj with a unique, non-colliding name. You can see all four lines of it when I finally wrap up version 3 :biggrin.gif:
    Posted in: Mods Discussion
  • 0

    posted a message on Request: Torches on glass
    Yeah, this has annoyed me too. Put together a quick fix. See http://www.minecraftforum.net/viewtopic.php?f=25&t=55045.
    Posted in: Mods Discussion
  • 0

    posted a message on Request - Rails on Pressureplates, through Doors
    Ah, well, of course, that is possible. It'd be tough making sure you covered every interaction the block-type is involved in, but possible. Of course, you'd break all compatibility with external tools & couldn't uninstall the mod without cleaning up your world data first, and that's a turn off too.

    If you know Java, check out the modding how-to thread. Maybe you can show me up!
    Posted in: Mods Discussion
  • 0

    posted a message on Request - Rails on Pressureplates, through Doors
    Sadly, neither is likely because train rails, pressure plates, and doors are all blocks. At any given point, there can be only one block. Same reason water & lava can't flow thru doors when they open. What you're asking for is to have multiple blocks at one point. Won't happen. It's a fundamental limitation of the way Minecraft was built, and one Notch will probably have to confront someday. Until then, it's just asking too much... :Skeleton:
    Posted in: Mods Discussion
  • 0

    posted a message on [Request] Low/No Gravity Mod?
    Here you go, champ!

    http://www.minecraftforum.net/viewtopic.php?f=25&t=55045&p=880692

    Thought it'd be a fun exercise, and ten minutes later I'm moon-hopping tree tops & castle parapets.
    Posted in: Mods Discussion
  • 0

    posted a message on Assorted Novelties & Conveniences ~ birdcloud's mini-mods
    Thought I'd make a thread to collect & share some little tweaks I've been making for myself while sifting thru the decompiled single-player sources. Here they are!

    Installation, as always, involves copying the provided .class files into the root of the minecraft.jar and then deleting the MOJANG_C files from the META-INF directory. See my AUTOCART page for a more detailed example.

    * * *
    LowGrav - http://www.birdcloud.com/mini-mods/LowGrav.zip


    Drastically lowers gravity for all living things (players & mobs) and removes fall damage. Watch cows and pigs bouncing 20m high. Or better yet, try getting in a fight with a skeleton in mid-air: turns out, arrows knock the afflicted up in the air a little. So, with LowGrav & good aim, the usual ducking & dodging is transformed to a levatated ballet of missiles. Overall, dumb fun. Back up the original ge.class first (or your whole minecraft.jar), though, for when you want to come back down to earth.

    * * *
    UnderwaterTorches - http://www.birdcloud.com/mini-mods/UnderwaterTorches.zip




    Just what it sounds like. Lets you place torches underwater. (Technically, lets torch-blocks displace water, like ladders). If you're worried this makes underwater work too easy, don't be: sunlight doesn't reach the ocean floor, so you'd need torches every few blocks to make it like day down there. The depths are still dang scary.

    * * *
    OnGlass - http://www.birdcloud.com/mini-mods/OnGlass.zip



    Dead simple, let's you put torches on glass.

    * * *
    And more to come, I'd wager.
    Posted in: Mods Discussion
  • 0

    posted a message on [64x][1.9] Animal Crafting (Beta)
    Just lovely. Keep us posted.
    Posted in: Resource Packs
  • 0

    posted a message on [Outdated] Advanced modding
    Quote from SuperLlama »
    1) ez.class (currently) is a list of all item classes mapped to their data value (minus 256).
    2) ff.class (currently) is a list of all block classes likewise mapped to their data value (actual value, not minus 256).
    3) dy.class (currently) is the world, and you use dy.a(x,y,z) to get a block, and dy.d(x,y,z,v) to set one.
    4) any entities use "L,M,N" instead of "X,Y,Z" for their coordinates.


    This is the best place to start. Here are the equivalents for the client jar (currently):

      [*:27g366l4]di.class is the generic item-type superclass & a list mapping item ids - 256 to corresponding item-type classes
      [*:27g366l4]ly.class is the generic block-type superclass & a list mapping block ids to corresponding block-type classes
      [*:27g366l4]cn.class is the interface to the actual level data
      [*:27g366l4]kh.class is the generic dynamic-object (players, mobs, carts, etc) superclass; (ak, al, am) is position, (an, ao, ap) is velocity, (aq, ar) is rotation

    And one more thing: hm.class (s.class for the server, I believe) is used whenever objects (like dynamic objects, chests, etc) that aren't blocks (which are a part of the level data) need to save or load themselves. You'll see twin functions in a lot of classes that take a single hm parameter and pass a lot of descriptive strings to it. These are very good hints as to what the member variables of the class do. For example, the save function from kh.java:

    public void d(hm paramhm) {
        paramhm.a("Pos", a(new double[] { this.ak, this.al, this.am }));
        paramhm.a("Motion", a(new double[] { this.an, this.ao, this.ap }));
        paramhm.a("Rotation", a(new float[] { this.aq, this.ar }));
    
        paramhm.a("FallDistance", this.aH);
        paramhm.a("Fire", (short)this.aT);
        paramhm.a("Air", (short)this.aX);
        paramhm.a("OnGround", this.av);
    
        a(paramhm);
    }
    Posted in: Tutorials
  • 0

    posted a message on Simple Map v0.7 - Closed for business
    Ah, this is just wonderful.
    Posted in: Mods Discussion
  • 0

    posted a message on Minutor - OSX/Linux/Windows 2.0.1
    This is wonderful. So fast too! Throwing the slider back & forth looks so cool, like an MRI scan. Love watching cave systesm & staircases shoot around like worms.

    And thank you for making a Mac version.

    (vvvvv - yeah, window resizing would be great)
    Posted in: Minecraft Tools
  • To post a comment, please or register a new account.