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.
  • 0

    posted a message on [1.7.x/1.8][Forge] Making custom armor that adds potion effects and more
    I read the whole forum but I could not figure out how to do code to allow enchantments to activate only if all four peaces of armor are on player... This is my armour code. Could someone help me.[/pre]

    package com.leon1236.endrealm.armor;

    import java.util.List;

    import net.minecraft.client.renderer.texture.IIconRegister;
    import net.minecraft.enchantment.Enchantment;
    import net.minecraft.entity.Entity;
    import net.minecraft.entity.EntityLivingBase;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.item.ItemArmor;
    import net.minecraft.item.ItemStack;

    import com.leon1236.endrealm.creativeTab.CreativeTabER;
    import com.leon1236.endrealm.init.ModArmor;
    import com.leon1236.endrealm.reference.References;
    import com.leon1236.endrealm.utility.ER_Utility;

    import cpw.mods.fml.relauncher.Side;
    import cpw.mods.fml.relauncher.SideOnly;

    public class EndArmor extends ItemArmor {

    public EndArmor(ArmorMaterial material, int proxy, int placement) {
    super(material, proxy, placement);

    if (placement == 0) { //Helmet
    this.setTextureName(References.MOD_ID + ":endarmor_Helmet");
    else if (placement == 1) { //Chestpate
    this.setTextureName(References.MOD_ID + ":endarmor_Chestplate");
    else if (placement == 2) { //Leggings
    this.setTextureName(References.MOD_ID + ":endarmor_Leggings");
    else if (placement == 3) { //Boots
    this.setTextureName(References.MOD_ID + ":endarmor_Boots");

    public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {

    if (stack.getItem() == ModArmor.endHelmet ||
    stack.getItem() == ModArmor.endChestplate ||
    stack.getItem() == ModArmor.endBoots) {

    return References.MOD_ID + ":textures/models/armor/EndArmor_1.png";

    else if(stack.getItem() == ModArmor.endLeggings){

    return References.MOD_ID + ":textures/models/armor/EndArmor_2.png";

    return null;

    public String getUnlocalizedName()
    return String.format("item.%s%s", References.MOD_ID.toLowerCase() + ":", getUnwrappedUnlocalizedName(super.getUnlocalizedName()));

    public String getUnlocalizedName(ItemStack itemStack)
    return String.format("item.%s%s", References.MOD_ID.toLowerCase() + ":", getUnwrappedUnlocalizedName(super.getUnlocalizedName()));

    public void registerIcons(IIconRegister iconRegister)
    itemIcon = iconRegister.registerIcon(this.getUnlocalizedName().substring(this.getUnlocalizedName().indexOf(".") + 1));

    protected String getUnwrappedUnlocalizedName(String unlocalizedName)
    return unlocalizedName.substring(unlocalizedName.indexOf(".") + 1);

    //Information on the item
    public void addInformation(ItemStack itemstack, EntityPlayer entityplayer, List list, boolean flag)
    list.add("Hold shift for more info");

    if (ER_Utility.isShiftKeyDown())

    list.add("HP: " + (itemstack.getMaxDamage() - itemstack.getItemDamage()) + "/" + itemstack.getMaxDamage());


    //Enchantment when crafted
    public void onCreated(ItemStack itemstact, World world, EntityLivingBase player){
    if (itemstact.getItem() == ModArmor.endHelmet){
    itemstact.addEnchantment(Enchantment.aquaAffinity, 2);
    else if (itemstact.getItem()== ModArmor.endChestplate){
    itemstact.addEnchantment(Enchantment.blastProtection, 3);
    else if (itemstact.getItem()== ModArmor.endLeggings){
    itemstact.addEnchantment(Enchantment.thorns, 1);
    else if (itemstact.getItem()== ModArmor.endBoots){
    itemstact.addEnchantment(Enchantment.fireProtection, 2);


    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.7] MouseTutorial's Beginner Tutorials [21-1-14]
    Now i can start updating my mod, thanks.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.6.4][Forge] Kryptonia [{WIP}] Moders needed
    Posted in: WIP Mods
  • 0

    posted a message on [1.6.4][Forge] Kryptonia [{WIP}] Moders needed

    Hello and welcome to Kryptonia, a mod that is all about Planet Krypton and Kryptonite shards that are seen in almost all Superman movies and TV shovs


    Main idea for the mod is to add Superman like powers on anyone that is exposed to Kryptonite ore. For now, effects on Ore Blocks are vanilla potions effects, but later i will add new potion effects that will correspond with Kryptinite shards effects on humans. As for now, effects are optained by breaking Kryptonite ore. These effects last last for one minute and are strength II. Chance of getting an effect is low but it will be rendomised later as this mod is developed. Tools also have special effects (Vanilla Enchantments) on them. Same as Ore Blocks, they will get new types of enchantment that corrospond with shard effects .As this mod is still in development, not all of the features are implemented, so i will list everything that is in the mod NOW, and that WILL be in this mod.So lets start.

    For now this is coded in:


    These ores can spawn in the overworld, others will be added soon
    So, my ores have special effects when you try to brake them, but it is a low chance of getting an effect. Each effect lasts for 1 minute, and is strength II. This will likely to be changed in the future.

    White Kryptonite Ore
    Poison II
    Blindness II

    Black Kryptonite ore
    Hunger II
    Instant Health II

    Red Kryptonite Ore
    Poison II
    Nausea II

    Green Kryptonite Ore
    Hunger I
    Poison II
    Mining Fatigue II

    Brown Kryptonite Ore
    Night vision II
    Poison II


    They are in but have to be recoded to different setup

    Github link:


    Armor will be made with refined kryptonite shards, that is kryptonite ingots.
    Kryptonite armor has ability to protect player from all fall damage only if fully equipped.
    It also gives ability to fly, but only if special potion is drank and player is wearing all peaces of armor.
    If another player is attacking player that has fully equipped armor with special enchant on at least one peace of armor set, that player will get negative effects that will weaken him but not kill him (Same as poison). These effects are randomized and have very low chance of occurring.
    Armor will have custom model. If needed, fast graphic setting will have regular armor model.

    Kryptonite lamps are same as Red Power lamps.
    When redstone signal is applied, beside producing light, they have ability to reflect mobs.
    Strengths of mob reflection depends on type of the Kryptonite shard used in making of the lamp.
    If lamp is powered on for a long time it will start blink and have opposite effect, that is, it will spawn mobs.

    Mob H'KARA
    This is flying mob.
    It can be tamed to point where you can ride it.
    Ideas for this mob are welcomed.

    This mob is dangerous. It can kill you with two hits.
    If player is wearing Kryptonite armor, brainiac will try to strip it of.
    If successful, it will put it on and shape-shift into person that he stole armor from (Morph integration?)
    Ideas for this mob are welcomed.

    This mob is passive. It can only be crafted with special technology (jet to figure out how)
    It has GUI in which radio stations are stored. Customization will be possible.
    Only player that crafted this mob will be able to hear radio in defined radios (config option).
    If he wants to share music, card with entity ID has to be provided to another player.
    (jet to figure out how to make this work)
    Ideas for this mob are welcomed.

    Will add new ideas as they pop into my head.


    If you are good coder, please contact me on this forum via PM message.
    I am looking for coders, texture artists and model artists.

    Copyright License

    Kryptonia is an open source Minecraft mod released under version 3 of the GNU Lesser General Public License. What this means is that the source of this mod is publicly available and you have certain rights with respective to the code. Feel free to read up more on Open Source Software and what the GPL/LGPL give you in terms of your rights to software released under that license, but the short version for you folks here is;
    -you have the right to have access the source code of the mod,
    -you have the right to be able to edit/use parts (or all) of the source code provided that you provide proper credit to the original authour(s),
    -you have the right to distribute the source code and/or compiled versions of the source code
    -you have the right to use this mod in Lets Plays/YouTube videos however you see fit as long as you provide credit to the original authour(s)(a link back to this thread for example)

    Yet to be added:

    Kryptonite enriched dirt
    Kryptonite enriched gravel
    Kryptonite enriched sand
    Kryptonite planet dimension
    Mob Cyber Phone (With radio stations)
    Mob Kryptonian
    Mob K'Hara
    Mob Brainiac (Shapeshifter)
    Custom potions
    Custom Enchantments
    New Villager house
    New Village trading
    Stronghold boss
    Multiblock for mixing shard effects
    Refined Kryptonite ingots
    Mod API for mod developments
    Intergrated API to work with other mods
    Ideas NEEDED

    Posted in: WIP Mods
  • 0

    posted a message on Moved delete this
    Working on armor and armor effects... Soon new version with new content
    Posted in: Minecraft Mods
  • 1

    posted a message on Shadow Chapter Mod Pack [Hardcore Gregtech]
    I, author of mod "Krypronia", here by give full permission to use "Krypronia" in your modpack.
    Posted in: Mod Packs
  • 0

    posted a message on Moved delete this
    Quote from Crafty101

    Looks cool

    Working on fixing nameing and adding new content
    Posted in: Minecraft Mods
  • 0

    posted a message on Moved delete this
    Quote from Terrivel_World

    Well, you took the good ol' mineral/tool/armor concept and gave it a gentle kick enough to make it relevant. I have yet to explore more of this mod, but the ores effects are driving me crazy in the mines...

    Since I am playing with tons of mods from modjam, I have two questions:

    1- Does any of the ores produces a buzzing sound? I keep hearing a loud bee-like buzz in caves, and the only thing I find near me are Kryptonite ores.
    2- Is this topic version of the mod more updated than the Modjam official download pack?

    1. NO.
    2. It will be updated as soon as i can make my new potions work properly..
    Posted in: Minecraft Mods
  • 0

    posted a message on Moved delete this
    Quote from Dylan4ever

    I kinda like it, seems like a well-balanced mod and the textures look quite good. Suggestion though: a pickaxe with Efficiency I on it? You could easily make it a higher speed by just buffing the base speed, perhaps Fortune I would be better?

    ~ Dylan

    This mod have been made in less than 24H as i didnt have time to code for 3 days.. So i messed up some parts of mod... But in next version more content will be added and fixes to enchants wil be made...

    Thanks for the support
    Posted in: Minecraft Mods
  • 0

    posted a message on Moved delete this
    Quote from blipadouzi

    Interesting mod, but can you explain how it could be used in a practical way? Right now it just seems like youc an get sick from it lol

    Forum updated :D
    Posted in: Minecraft Mods
  • 0

    posted a message on Moved delete this
    Quote from CaiYeda

    interesting mod
    good job! ;)
    Thank you good sir :D
    Posted in: Minecraft Mods
  • 2

    posted a message on Moved delete this
    This mod has been moved to second post :
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.6.2] Forge Minecraft Modding Professional/Pahimar's System. Video and Text! Updated 21-8
    Quote from xMoltenX

    GameRegistry.registerItem(...) is missing, or I missed it?

    Quote from freezzerrr

    Ill take a look. Ill edit when i find anything.

    Edit: You try to give new ID's in the config. But you are not calling the config from main class.
    This way it still uses the empty ID (EG shardKryptonite_White_ID), which is empty


    But my textures wont load
    2013-07-31 01:03:25 [SEVERE] [Minecraft-Client] Using missing texture, unable to load: destrocraft:textures/items/shardKryptonite_Magenta.png
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.6.2] Forge Minecraft Modding Professional/Pahimar's System. Video and Text! Updated 21-8
    I have problem.... I restarted my mod so i can add more stuff in it but now my mod wont load Items ... I have looked for solutions but i cant find any.... So, my code is online and if anybody could look at it i would be very happy.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.5.2] (1.6.X soon) [Forge] Forge Modding Tutorials - Professional System - Updated 24-7
    Quote from artdude_543

    How can I set my custom items to not be able to be enchanted?
    If you dont make it enchaneable it wont allow enchants to be added to it, i think...
    Posted in: Mapping and Modding Tutorials
  • To post a comment, please or register a new account.