BlakeBr0 / IronJetpacks

Adds fully customizable FE powered jetpacks!
https://blakesmods.com/iron-jetpacks
MIT License
13 stars 21 forks source link

ELITE and ULTIMATE Coils #32

Closed Tomatoh closed 3 years ago

Tomatoh commented 3 years ago

I do not see a use for these should you perhaps change

public Item getCoilForTier(int tier) in src/main/java/com/blakebr0/ironjetpacks/registry/jetpackregistry.java

from

public Item getCoilForTier(int tier) {
    return this.tiers.indexOf(tier) >= this.tiers.size() / 2 ? ModItems.ADVANCED_COIL.get() : ModItems.BASIC_COIL.get();
}

to

public Item getCoilForTier(int tier) {
    if this.tiers.indexOf(tier) == 3 {
        return ModItems.ADVANCED_COIL.get();
    }
    else if this.tiers.indexOf(tier) == 4  {
        return ModItems.ELITE_COIL.get();   
    }
    else if this.tiers.indexOf(tier) == 5 {
        return ModItems.ULTIMATE_COIL.get();    
    }
    else {
        return ModItems.BASIC_COIL.get();   
    }
}