• 0

    posted a message on Could anybody help with this?

    I'm literally working on this right now, hoping to get the 1.12 release done in the next week, then will be ready with releases from 1.7 onwards :)

    Posted in: Modification Development
  • 0

    posted a message on Liquid Enchantments?

    Update on this:

    I've got the bones of it working! Took some creative coding, but I've got all of the potion / armor combinations working now. Still to do is beacon effect items, swords, then updating the config to work with the new crafting recipe. Might be able to get it done by new years.

    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on Liquid Enchantments?

    Ha! That's mine!

    Proof: https://github.com/Cookiehook/Minecraft-Liquid-Enchanting


    I did not expect to see this post one bit. The reason it didn't get updated to 1.12.2 is twofold:

    • 1.9 changed potions to be one single item with NBT tags. 1.12 completely re-wrote crafting, which doesn't support items with NBT by default. I just couldn't figure out how to use vanilla potions in a crafting recipe.
    • I started working as a professional software dev (not Minecraft related) and hard more work than I had time!

    Lucky that I got bored and started looking for new mod ideas on the forum. I'll have another look into Liquid Enchanting for you :)

    Can't promise any results, I took several attempts at porting it to 1.12.2 before giving up in November 2017, so I still might not be able to beat it.

    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on Crashing during work on a data pack

    The game currently crashes randomly when the Drowned Mob attempts to pathfind. It's not your datapack, it's an issue with the Drowned itself. Wait up a couple of weeks for them to fix it and you'll be able to get back to crafting :)

    https://bugs.mojang.com/browse/MC-127242

    Posted in: Java Edition Support
  • 0

    posted a message on Texures for Items won't load

    Looks like your registerRender code isn't being called. What's in your proxy.init() method? The ClientProxy should be calling ModItems.registerRenders

    Posted in: Modification Development
  • 0

    posted a message on Found a dungeon within 30 minutes of spawning. Now how do I..?

    Best tutorial I've ever seen for this type of farm:


    He shows 2D pictures while he's building, so you can count block by block

    Posted in: Survival Mode
  • 0

    posted a message on Looking for good minecraft hosting

    I've been using https://www.bisecthosting.com for a couple of years, and never had any issue.

    They're quite cheap compared to others around, and often offer 50% reductions by e-mail to get you running even cheaper! I use the budget packs, playing with about 6 people at a time, 4GB and it works well.

    Posted in: Discussion
  • 0

    posted a message on Keep getting this crash!

    So what you've done is disabled a lot of Windows features, one of which would have been a necessary graphics driver.
    Try reversing what you did there, enabling and showing all features. If you still need to turn things off, do it a few a time then test everything still works.

    Posted in: Java Edition Support
  • 0

    posted a message on createEntityByIDFromName wrong arguments?

    First bit of advice I can give when working in Java:

    With eclipse, you can press CTRL then click on the method to see it's implementation. This will show you more information on what arguments it needs, and what it does with them. You can also delete the arguments () then press CTRL+SPACE to see what overloaded methods are available. There may be one which accepts better arguments for your application.

    Onto your problem:
    The method is expecting a ResourceLocation and World object, and you're giving it a String and WorldServer.
    For the first agrument, new ResourceLocation(EntityList.getEntityString(entity)) will fix your compile error, but I don't know if that would actually work. This ResourceLocation business is new to me.

    For the second argument, you need to find the world! If you're in any sort of entity handling method or event this is usually passed in as an argument, so you can grab that.

    If your code's up on GitHub then it'd make it a lot easier for us to help :)

    For general Java advice I thoroughly recommend this video series, he covers a huge amount of concepts. Flick through the thumbnails to find what you need:

    Posted in: Modification Development
  • 0

    posted a message on Armour Expansion - Balanced new armours and effects!

    After almost 4 years, the Badger with the coding skills has returned!
    This mod is now available for 1.7.10 through to 1.12.2 over on my curseforge page!

    Posted in: Minecraft Mods
  • 1

    posted a message on Creativetabs doesn't shows icon.

    Right, here's your problem!

    public static ItemStack icon = new ItemStack(ItemInit.DIARY_BOOK);


    Remove "static" and this should work.


    Explanation:

    The "static" modifier is used to tell the compiler that this variable should be used by the class, not specific instantiations. An instantiation is anywhere you call "new Blahdebah....". Non-static methods (such as your getTabIconItem) shouldn't really be used to access static variables.


    Personally I would have written the method like this, as you only use icon in the one place.


    @Override
    public ItemStack getTabIconItem() {

    return new ItemStack(ItemInit.DIARY_BOOK);;

    }


    Please let us know if that worked!

    Posted in: Modification Development
  • 0

    posted a message on Forge Help with Items in Inventory

    Well I can answer with certainty that your code should work, because it does for me....

    I downloaded your source and ran it, see the attached screenshot.

    Try redoing gradlew setupDecompWorkspace, gradlew eclipse and refresh your project in eclipse. Your code's fine, might be a setup issue.

    Posted in: Modification Development
  • 0

    posted a message on Creativetabs doesn't shows icon.

    By "won't show", do you mean that a vanilla item is used, or you're getting the black and purple cube?
    Also, can we see your TabMDiary class, and screenshots of what you're seeing?

    Most creative tabs use the constructor with a String argument, so I think that's part of your problem.

    Posted in: Modification Development
  • 0

    posted a message on My textures wont appear?

    Is your PNG a 16x16 image?
    Your code looks exactly like my 1.12 code which is working. You are using Forge 1.12 right?

    Posted in: Modification Development
  • To post a comment, please .