• 0

    posted a message on [1.9 Snapshot] JourneyStone mod

    Just thought I'd update everyone on what's going on. I've tried to find a workaround to this problem but it's proven to be a difficult one. Turns out that Mojang is also having a problem after 15w41a/b, with chorus fruit, which are normally supposed to teleport you somewhere nearby after you eat one. So honestly that was a bit of a relief to know that something is indeed broken in Minecraft and will get fixed, likely fixing the Journey Stone in the process.


    Ironically, in the process of trying to find a solution, I did find one which works and that might even be better than the current implementation, just with slightly different usage mechanics. I'll consider it, as well as maybe some better indication of when the stone is charged, etc. But for now I'd say just hold on until next week and we'll see what 15w42 brings. Cause they're not going to leave the chorus fruit broken for long.



    UPDATE: This problem appears to have resolved itself with 15w42a. I did notice that it still says "moved wrongly" on occasion but that didn't affect teleportation.

    Posted in: Minecraft Mods
  • 0

    posted a message on [1.8/1.8.1] FMC - Mod Development System for Minecraft
    Quote from RosalinaFan573»

    Fyber, can this be used for 1.9 yet? I really want to use this for modding 1.9.


    I would as well, it would make debugging and deobfuscating it a lot easier. But I haven't successfully rebuilt 1.9. Since it's not entirely necessary for modding it, I just focused on adding content through ASM.
    Posted in: Minecraft Tools
  • 0

    posted a message on [1.9 Snapshot] JourneyStone mod

    Just a quick note to anyone to avoid any confusion: Mojang made some changes to 15w41a/b to fix boats, and that seems to have had an affect on this mod. When you use it on these newest snapshots you get "PLAYERNAME moved wrongly!"


    I'll look into it later today and try to push a fix out. Preferably one that works across dimensions while I'm at it!

    Posted in: Minecraft Mods
  • 1

    posted a message on Meddle - Minecraft TweakClass Mod Loader + 1.9/1.10/1.11 snapshot mods

    DynamicMappings 014 is up for 15w41a/b. There was a class misdetection which broke a lot of other things, but it ended up not being too bad to fix. I know a lot of people will want to mess around with the new wings, so I wanted to rush this one out. I want to play with it too!

    Quote from RosalinaFan573»

    Hey Fyber, you should add a mods button to the main menu so we can check what mods we have installed without having to go to the Meddle mods folder.


    Already planned, since it's definitely needed.
    Quote from EnderMantis»

    How do I make a mod?


    I have a working Gradle script put together now that will allow other people to set up a build environment in a fairly automated way, it just needs some finishing touches. Hopefully I'll have this together by the end of the week.
    Posted in: Minecraft Mods
  • 1

    posted a message on Meddle - Minecraft TweakClass Mod Loader + 1.9/1.10/1.11 snapshot mods
    Quote from nreed2»

    links for all api mods are broken






    Turns out this is MCF's fault, it doesn't affect Chrome so I didn't know it was broken for some folks these last couple of months. That's what finally prompted me to try to do something about it.

    Posted in: Minecraft Mods
  • 2

    posted a message on [1.11 Snapshot] MeddleGuide - View recipes, even with vanilla clients!
    Quote from YourMCInformer»

    The URL linked in the text is broken. You've attempted to go to http://www.2488387-meddle-minecraft-tweakclass-mod-loader-1-9.com/.

    I don't know why that's happening for some people, but it's happened on my other Meddle mod threads as well. The links work for me, is what's odd. But MCF has a pretty terrible post editor so I can only assume it's changing something when I link to other threads.

    I'll just paste the link, hopefully it can't break that.

    http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2488387-meddle-minecraft-tweakclass-mod-loader-1-9
    Posted in: Minecraft Mods
  • 1

    posted a message on [1.11 Snapshot] MeddleGuide - View recipes, even with vanilla clients!
    Quote from TheDoctorSoda»

    Say a mod added an item (like just backpack), does it dynamically add it to the recipe list, or does it only work with listed items?


    Yep, as long as it's a standard shaped or shapeless recipe then it'll discover it in the recipe handlers. I already tested it with Just Backpack and JourneyStone.
    Posted in: Minecraft Mods
  • 6

    posted a message on [1.11 Snapshot] MeddleGuide - View recipes, even with vanilla clients!


    MeddleGuide is a mod for Minecraft 1.9 snapshots which allows you to view many of the game's crafting recipes.


    To use it, simply type /recipe. From there you'll get an inventory GUI, but it's not a regular inventory; you can't move or take the items. You can however click them like icons. The slimeballs at the bottom act as buttons to change pages.


    You can also specify a search term after /recipe to narrow the results. If there's only one result, it will immediately display that recipe.


    This mod was designed so that you can run it on a server and allow vanilla clients to connect and still use it.


    Note: This does not include every single recipe, such as fireworks, leather dyes, etc. Perhaps in a future version!


    -- Installation --


    This mod requires the Meddle mod loader, as well as the DynamicMappings and MeddleAPI mods. It's easy to install, just look here for more info, and feel free to ask if you need help. This mod just goes in your 'meddle' folder with any other mods.


    Since it uses DynamicMappings, it should continue to work with future snapshots. Though due to the number of changes made to the game during development, DynamicMappings will likely have to be updated along the way. Keep an eye on the Meddle thread to stay up to date.


    -- Downloads --


    Version 1.0.2 - (primary download)

    • Requires Meddle v1.2.2+, DynamicMappings 027+, and MeddleAPI v1.0.5+.

    Version 1.0.1 - (primary download)

    • Requires Meddle v1.2.2+, DynamicMappings 018+, and MeddleAPI v1.0.5+.

    Version 1.0 - (primary download)

    • Requires Meddle v1.2.2+, DynamicMappings 013+, and MeddleAPI v1.0.4+.

    -- Changelog --


    v1.0.2 - August 17, 2016

    • Fixed crashes related to ItemStacks no longer allowed to be null in 1.11

    v1.0.1 - October 28th, 2015

    • Updated for container changes made to 15w44a.

    v1.0 - September 30th, 2015

    • Initial release!
    Posted in: Minecraft Mods
  • 0

    posted a message on Meddle - Minecraft TweakClass Mod Loader + 1.9/1.10/1.11 snapshot mods

    Doing some light searching, I found some really outdated Forge tutorials (1.7) that looked seemingly official and some 1.8 ones (done by someone else, so with my limited knowledge I'm not sure how good they actually are). Not sure where I'd start, let alone how I'd be using MCP along with developing for Meddle.... Meddle API definitely seems like something that'd need a further writeup on how to use. 1.9 features might also be tricky since there probably isn't much documentation on it for forge.


    That's the tricky part: there is no MCP.


    When I made a 1.8 development environment before, I created a similar system to MCP that decompiled/recompiled Minecraft. But things have changed since 1.8, and successfully rebuilding Minecraft has proved to be a challenge. It would have also been a constant pain to keep such a system updated for frequent snapshots as well. So I just didn't bother with that step, since it's fairly unnecessary to making mods anyway. MeddleAPI inserts its hooks at runtime, it doesn't require a bunch of source patches like Forge.


    My dev environment currently involves using a tool in DynamicMappings to remap a snapshot jar. I use that jar to develop mods against. Though the project is setup to test the mod using the original obfuscated jar, since the mappings are still limited and not everything is necessarily in its proper package after remapping (causing a crash). That may change eventually as DynamicMappings grows, but for now we have to deal with it.


    To develop the entire mess, I view the decompiled/deobfuscated source in another Eclipse instance, and a decompiled/deobfuscated 1.8 in another as a reference (since it has far more mappings). I spend more time than anything else adding DynamicMappings routines to detect all the various stuff that a mod I'm working on needs.


    When I do finally release a dev environment, it'll automatically decompile Minecraft anyway, though that source will just be associated with the remapped jar for viewing. Modders will be able to add in their own DynamicMappings modules in case they need mappings not available (though they're welcome to tell mappings they need to me as well and I can add them), as well as the ability to add access transformers. The whole process to rebuild the snapshot jar when changing those things will be automated as much as possible. Part of my build scripts also involve a new step to generate a list of mappings that the particular mod uses, so that MeddleAPI can confirm they exist before attempting to load the mod (in case a new snapshot broke those mappings).





    Currently I have 5 ideas on things I'd like to make with (Meddle/MeddleAPI)+DynamicMappings.

    One of them is a shortcut change (F3+t shortcut to just t, I've actually done this one before... but is it possible to change just this line keeping the rest version-specific?).
    Two of them I'm not sure if I'd need to use Meddle or Meddle API:

    • First, Firework rocket is changed to rotate the particle model based on its velocity rather than facing the viewer. New item (Rocket) with a similar crafting recipe to Firework Rockets, only it explodes. Also would need to be dual wielded with Flint&steel to be fired by the player.
    • Hunger revamp. Much of it is a tweak that I'm sure meddle can do. What I'm not sure of is if I can add new effects without using MeddleAPI.


    Just think of Meddle mods as Forge coremods, since they're ultimately the same thing (Forge just wraps them in a class that implements ITweaker). If you think you can pull off what you need to do with a coremod, then that might be all you need. Though you'd have to use DynamicMappings functions to manually fetch the class/method/field names you need to transform the necessary classes. The one area where you'd be limited is if you wanted to implement a hook function, which you'd have to write in full ASM currently unless you let MeddleAPI help.


    MeddleAPI mods have their classes automatically obfuscated at startup. I used it for a couple of mods that didn't necessarily need anything else that MeddleAPI provides (like ConnectedGlass and DoubleDoors, which use hooks since writing that much code in ASM would be a pain). I've thought about bringing the automatic remapping down a level to anything loaded after DynamicMappings is loaded, or at least add functionality to manually specify a class to remap, either of which would assist when you just want to add hook methods. It's all still a work-in-progress as I make new mods, after all! I figure out the best way as I go.




    Also, in one of the interviews with Notch, he stated there was a way to do live code testing with debug mode, it'd be really interesting (read: awesome) if such a thing was possible to do with Meddle setups.



    Hot code replace unfortunately won't work with the way this is all set up. That's one of the limitations of remapping and inserting hooks at runtime. But like I mentioned, when there's more mappings to avoid potential package issues, I can insert the API hooks into the jar used for development, and let you run your mods without any runtime modifications taking place, which would bring hot code replace back. And I definitely want it back! It would have come in handy several times.



    EDIT: Also, does Meddle/MeddleAPI have config options? I'd like to, if possible, have all of my small mods together and then have the option to disable them individually. If this could be done in-game, that'd be great.



    There's a basic config file system, if that's what you mean. There's no GUI yet for doing anything in-game though. At least being able to view the loaded mods is still a priority.



    Quote from Ramireztime»

    It just happens randomly*, there's usually around 4 players (gets up to 7 sometimes). *It has not happened in the past 6 or so hours, my friend told me that he had updated java to the latest version, so it could have been that... although I don't know what version he updated from.


    I started a server earlier for my brother and I to muck around on and I started getting the same error you did. I couldn't help but notice that it seemed to coincide with when trees grew, especially large trees.
    Posted in: Minecraft Mods
  • 0

    posted a message on Meddle - Minecraft TweakClass Mod Loader + 1.9/1.10/1.11 snapshot mods
    Quote from RosalinaFan573»

    Nice! Can you provide a tutorial on how to make mods for MeddleAPI/Meddle?

    I'm going to put together an entire development environment to make it easier than a ton of instructions for manually doing it, I just haven't gotten to it yet. Soon-ish!

    Quote from Ramireztime»

    I'm running this on 15w39c with the following MeddleAPI mods installed:


    Some friends are getting disconnected with this error (it doesn't crash the game so there's no actual crash-report):


    Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(14) + length(24897) exceeds writerIndex(14): UnpooledHeapByteBuf(ridx: 14, widx: 14, cap: 14)

    A Google search tells me that it has to do with packets being sent that are too large or "corrupt chunks", but IDK :P


    I searched the Mojang tracker and found several similar errors, including this one. I saw another one related to signs, but they supposedly fixed it.

    I won't entirely rule out Meddle as a culprit, anything's possible, but I honestly don't see what could cause it since nothing I've put out yet is very invasive. I'll keep an eye out for that nonetheless.

    How many players are on the server at any given time when it happens, out of curiosity?
    Posted in: Minecraft Mods
  • 2

    posted a message on [1.9 Snapshot] JourneyStone mod
    Quote from Drakoflame»

    Dang Fyber... you just keep pumping out the 1.9 snapshot mods... whats next? ooo! what if Mojang integrates one of your mods O3O

    Also: do you plan to keep these in development after1.9 is officially released?


    Well I have a backpack to store all the stuff I collect on a journey, and I have a quick way home when I'm tired of running around. I'd say the only other important thing I should have is some kind of death waypoint, or maybe a modified journey stone that stores where you died and stays in your inventory so that you can return there. I'm not sure what I want to do in that regard yet, but losing all your stuff and never being able to find it again is definitely something I want to avoid.

    When 1.9 is officially out it'll just make things easier. We'll only have game updates once every few weeks most likely, instead of two or three times a week, and sometimes multiple times a day. I'll be able to focus on just growing DynamicMappings instead of constantly checking and tweaking it to adapt to all the changes. Mappings are still the most critical part of the entire thing, and I'm still missing a ton. Each new mod forces me to add more though, which allows for more and more complex mods as we go along.

    The other bonus to 1.9 becoming a stable release is that it would be possible to adapt DynamicMappings to use static mappings, which are a lot easier to create. You could add dozens in the time that it takes to add a handful the way I'm currently doing it. The disadvantage would be that you're then locked to a specific game version, and tasked with updating them when Mojang releases another game version. But mod potential would go way up.

    As for Mojang ever wanting to borrow any of my features, I would certainly welcome any of it, but I don't think that'll happen!
    Posted in: Minecraft Mods
  • 3

    posted a message on Meddle - Minecraft TweakClass Mod Loader + 1.9/1.10/1.11 snapshot mods

    Even more stuff today!


    DynamicMappings 012 is out, which is needed for a new mod: JourneyStone. Now you can go on journeys and return home immediately.


    JourneyStone depends on a new version of MeddleAPI as well, v1.0.3. This is the first mod to take advantage of a new system which I hope will save a lot of headaches and confusion into the future. MeddleAPI mods can now be shipped with a requiredmappings.cfg which MeddleAPI will scan before loading the mod, refusing to load it if any are missing, and hopefully preventing any in-game crashes that would have likely occured otherwise. Eventually the user will be warned in-game as well, so that they know not to load their worlds if their save relies on a mod.


    Generating the requiredmappings.cfg is part of my build system (through Gradle), requiring no intervention to do. It'll eventually be part of the development platform I release for modders when I can finally get time to put one together.

    Posted in: Minecraft Mods
  • 5

    posted a message on [1.9 Snapshot] JourneyStone mod


    JourneyStone is a small mod for Minecraft 1.9 snapshots which allows you to instantly return to the position saved within the Journey Stone.


    To use it, simply right-click the location you wish to return to at some point, then right-click again to confirm. The journey stone is now ready to be used. To do so, hold the right mouse button for five seconds, and you'll be instantly teleported back to that location.


    Journey stones can be used up to 5 times before breaking. You can name them in an anvil to help you remember which is which.


    NOTE: Currently this does not allow for transporting between dimensions!


    You can craft it as follows:



    This mod is also open-source.


    -- Installation --


    This mod requires the Meddle mod loader, as well as the DynamicMappings and MeddleAPI mods. It's easy to install, just look here for more info, and feel free to ask if you need help. This mod just goes in your 'meddle' folder with any other mods.


    Since it uses DynamicMappings, it should continue to work with future snapshots. Though due to the number of changes made to the game during development, DynamicMappings will likely have to be updated along the way. Keep an eye on the Meddle thread to stay up to date.


    -- Downloads --


    Version 1.0.4 - (primary download)

    • Requires Meddle v1.2.2+, DynamicMappings 027+, and MeddleAPI v1.0.5+.

    Version 1.0.3 - (primary download)

    • Requires Meddle v1.2.2+, DynamicMappings 023+, and MeddleAPI v1.0.5+.

    Version 1.0.2 - (primary download)

    • Requires Meddle v1.2.2+, DynamicMappings 022+, and MeddleAPI v1.0.5+.

    Version 1.0.1 - (primary download)

    • Requires Meddle v1.2.2+, DynamicMappings 016+, and MeddleAPI v1.0.5+.

    Version 1.0 - (primary download)

    • Requires Meddle v1.2.2+, DynamicMappings 012+, and MeddleAPI v1.0.3+.

    -- Changelog --


    v1.0.4 - August 18th, 2016

    • Updated to work on 1.11 snapshots

    v1.0.3 - January 14th, 2016

    • Fixed to adapt to changes in playing sounds in 16w02a

    v1.0.2 - December 2nd, 2015

    • Fixed to adapt to changes in playing sounds in 15w49a

    v1.0.1 - October 21st, 2015

    • Fixed to adapt to changes in playing sounds in 15w43a

    v1.0 - September 24th, 2015

    • Initial release!
    Posted in: Minecraft Mods
  • 0

    posted a message on Meddle - Minecraft TweakClass Mod Loader + 1.9/1.10/1.11 snapshot mods

    DynamicMappings 011 fixes an issue that came up with 15w39c today, so you'll want to grab that. It also implements some functionality which will be needed in an upcoming version of MeddleAPI and mod updates, where it'll be able to detect when a specific mod's mappings aren't available and not load the mod rather than crash the game.

    Posted in: Minecraft Mods
  • 0

    posted a message on Meddle - Minecraft TweakClass Mod Loader + 1.9/1.10/1.11 snapshot mods

    I added a beta of Meddle Manager to the main post, to help you install Meddle versions more easily into the vanilla launcher. I tested it on Windows, someone else confirmed it works in Linux, but I haven't had anyone confirm whether it works on Mac. If you're daring, see if it works and let me know!


    Eventually this will also create the game profile, as well as help you keep DynamicMappings and MeddleAPI up to date, but I wanted to at least get this part out for now.

    Posted in: Minecraft Mods
  • To post a comment, please .