• 0

    posted a message on Repairing Elytra with mod item.
        @SubscribeEvent
        public void AddAnvilEvent(AnvilUpdateEvent event)
        {
            ItemStack left = event.getLeft();
            ItemStack right = event.getRight();
            if(left.getItem() == Items.ELYTRA && right.getItem() == ModItems.ELYTRON_FRAGMENT && left.getItemDamage()>0)
            {
                int dmg = left.getMaxDamage() / 4;
                int cost = 2;
                int estimate = Math.round((left.getMaxDamage() - left.getItemDamage()) / (left.getMaxDamage() / 4));
                int material = Math.min(right.getCount(), estimate);
                if (material <= 0)
                {
                    event.setCanceled(true);
                }
                dmg *= material;
                cost += material;
                event.setOutput(new ItemStack(Items.ELYTRA, 1, (left.getItemDamage() - dmg)));
                event.setMaterialCost(material);
                event.setCost(cost);
            }
        }

    I got this at the moment, but it's not working as intended. It works for Elytra with durability more than half, but less than half it's not working.

    Posted in: Modification Development
  • 0

    posted a message on Repairing Elytra with mod item.

    I got it done but I need to set the cost properly, I want to make it so it uses the vanilla system for calculating cost, how do I do that?

    Posted in: Modification Development
  • 0

    posted a message on Repairing Elytra with mod item.

    I've canceled repairing elytra using leather, and now want to make it use a modded item to repair it? I think I can use the AnvilRepairEvent for this, but how?

    Posted in: Modification Development
  • 0

    posted a message on [1.12.2] Crystal Grims | Addon for KAGIC

    Crystal Grims

    This KAGIC add-on adds in Jet and Obsidian, both of which can be obtained normally using the injector drills.


    Jet

    • Uses the Rutile model from KAGIC.
    • Textures by Judacraz#6509.
    • Shift + Right-click with item to destroy it.

    Obsidian

    • Uses the Topaz model from KAGIC, but scaled to twice the size.
    • Textures by Judacraz#6509.
    • Right-click with gem to shatter it.

    Jet and Obsidian. (right-to-left)


    Download: https://minecraft.curseforge.com/projects/crystal-grims-add-on-for-kagic/files

    Posted in: Minecraft Mods
  • 0

    posted a message on Germinatus | Plants and Agriculture

    I've been looking for a good botany mod, but HarvestCraft is way too expansive and doesn't really fit in Vanilla. It's got modern foodstuff like burgers and whatnot.

    I'm going to make my own mod, and here's what I've planned. The first release will add plants and crops that aren't grown on farmland (like nether wart). I am planning to add composting and farmland varieties in the second update, then adding new crops in the third.


    __**White Pumpkin**__

    • Spawns 1% of the time in place of normal pumpkins.


    __**Heartbeet**__

    • Credit to u/nox-cgt.

    • Drops 1% of the time from a beetroot crop.

    • When eaten, gives Health Boost I for 5 minutes.


    __**Ghast Pepper**__

    • Spawns in the Nether, in patches of 2-3 on soul sand.

    • Sets you on fire when eaten, restores 2.0 saturation points.

    • Can be crafted into seeds and grown on soul sand.

    • Can be crafted with Cooked Chicken to make Spicy Chicken, restores the same number of hunger points as cooked chicken but restores 9.6 saturation points.

    • When an entity stands in one for more than 5 seconds, sets it on fire.


    __**Marshmallow**__
    • Grows naturally in swamp biomes.

    • Can be used to craft Light Grey dye.

    • Can be crafted with 1 sugar and 1 slimeball to make a marshmallow, which restores 1 hunger point.


    __**Fallen Logs**__

    • From Bedrock Edition.

    Posted in: WIP Mods
  • 0

    posted a message on Should add mini-boss in aquatic update

    Elder guardians are mini-bosses, like Evokers. They aren't as strong.

    Posted in: Suggestions
  • 0

    posted a message on My own crafting idea

    Rename a player head in an anvil to get the head of another player. Steve would give you a steve head.

    Posted in: Suggestions
  • 0

    posted a message on Bluetooth Redstone

    What if there was a Redstone Emitter and a Receiver? You'd have to put redstone (max. 64) into both of them to set the range of sigal sending and receiving and each of those could have a name set by the player for sending signals. This would be very helpful to the mapmakers.

    Posted in: Suggestions
  • 0

    posted a message on [1.12.1] Alternative Armors mod

    I am working on a mod that adds in alternative armors.

    - Shulker Armor

    Crafted using shulker shells, is the same as diamond armor but has a different texture.

    - Bone Armor

    Crafted using bones, is the same as leather armor but looks as if you're wearing a skeleton.

    Posted in: WIP Mods
  • 1

    posted a message on New Ore, which can only be mined with a diamond pick, Malachite!

    Malachite isn't from skyrim... It's a real life copper ore. Copper is a metal.

    Posted in: Suggestions
  • 0

    posted a message on Add Turtles Mojang!

    We already have a turtle-tortoise-terapin thing... SHULKER.

    Posted in: Suggestions
  • 0

    posted a message on Craftable End Portal Frames! [1.9 Version out now!]

    I'll continue this but... I've got exams soon, I'll do my best to make the new versions after december 7. :D

    Posted in: Minecraft Mods
  • 1

    posted a message on Liquified Metal!

    >Smelt 1 ingot, let it cool you get 2 or 3...

    What the heck?

    C'mon, I know minecraft doesn't obey physics, but...

    >Law of Conservation of Matter: The law of conservation of mass states that mass in an isolated system is neither created nor destroyed by chemical reactions or physical transformations. According to the law of conservation of mass, the mass of the products in a chemical reaction must equal the mass of the reactants.

    >Melting is a physical reaction, in which, as well, the mass of the initial thing is equal to the mass of the final product.

    Posted in: Suggestions
  • 0

    posted a message on GLOW STICKS

    Recipe would be more fitting if it was: Stick and Night Vision Potion with Dye.

    Also, What if it could give the player night vision for the length of the potion + 2 minutes and cause fog to appear around them. After the effect is over, you get a normal stick back.


    OH WAIT! Why not just drink the potion directly?


    No support.

    Posted in: Suggestions
  • 1

    posted a message on 1.10 News and Updates - [Information from Mojang AB] - [1.10 OUT NOW!]

    YAY! :D

    Anyways my predictions were true.

    :steve_csi:

    Posted in: Recent Updates and Snapshots
  • To post a comment, please or register a new account.