Java Code Examples for net.minecraft.item.EnumRarity#epic()
The following examples show how to use
net.minecraft.item.EnumRarity#epic() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BW_Util.java From bartworks with MIT License | 5 votes |
public static EnumRarity getRarityFromByte(byte b) { switch (b) { case 1: return EnumRarity.uncommon; case 2: return EnumRarity.rare; case 3: return EnumRarity.epic; default: return EnumRarity.common; } }
Example 2
Source File: ItemElement.java From Gadomancy with GNU Lesser General Public License v3.0 | 4 votes |
@Override public EnumRarity getRarity(ItemStack p_77613_1_) { return EnumRarity.epic; }
Example 3
Source File: Packs.java From SimplyJetpacks with MIT License | 4 votes |
public static void preInit() { jetpackPotato = new JetpackPotato(0, EnumRarity.common, "jetpackPotato"); jetpackCreative = (Jetpack) new JetPlate(9001, EnumRarity.epic, "jetpackCreative").setDefaultParticleType(ParticleType.RAINBOW_SMOKE).setUsesFuel(false).setHasFuelIndicator(false).setShowEmptyInCreativeTab(false); fluxPackCreative = (FluxPack) new FluxPack(9001, EnumRarity.epic, "fluxPackCreative").setUsesFuel(false).setHasFuelIndicator(false).setShowEmptyInCreativeTab(false).setIsArmored(true).setShowArmored(false); if (ModType.THERMAL_EXPANSION.loaded) { jetpackTE1 = new Jetpack(1, EnumRarity.common, "jetpackTE1"); jetpackTE1Armored = (Jetpack) new Jetpack(1, EnumRarity.common, "jetpackTE1").setIsArmored(true).setPlatingMeta(1); jetpackTE2 = new Jetpack(2, EnumRarity.common, "jetpackTE2"); jetpackTE2Armored = (Jetpack) new Jetpack(2, EnumRarity.common, "jetpackTE2").setIsArmored(true).setPlatingMeta(2); jetpackTE3 = new Jetpack(3, EnumRarity.uncommon, "jetpackTE3"); jetpackTE3Armored = (Jetpack) new Jetpack(3, EnumRarity.uncommon, "jetpackTE3").setIsArmored(true).setPlatingMeta(3); jetpackTE4 = new Jetpack(4, EnumRarity.rare, "jetpackTE4"); jetpackTE4Armored = (Jetpack) new Jetpack(4, EnumRarity.rare, "jetpackTE4").setIsArmored(true).setPlatingMeta(4); jetpackTE5 = (Jetpack) new JetPlate(5, EnumRarity.epic, "jetpackTE5").setFluxBased(true); fluxPackTE1 = new FluxPack(1, EnumRarity.common, "fluxPackTE1"); fluxPackTE2 = new FluxPack(2, EnumRarity.common, "fluxPackTE2"); fluxPackTE2Armored = (FluxPack) new FluxPack(2, EnumRarity.common, "fluxPackTE2").setIsArmored(true).setPlatingMeta(1); fluxPackTE3 = new FluxPack(3, EnumRarity.uncommon, "fluxPackTE3"); fluxPackTE3Armored = (FluxPack) new FluxPack(3, EnumRarity.uncommon, "fluxPackTE3").setIsArmored(true).setPlatingMeta(2); fluxPackTE4 = new FluxPack(4, EnumRarity.rare, "fluxPackTE4"); fluxPackTE4Armored = (FluxPack) new FluxPack(4, EnumRarity.rare, "fluxPackTE4").setIsArmored(true).setPlatingMeta(3); } if (ModType.ENDER_IO.loaded) { jetpackEIO1 = new Jetpack(1, EnumRarity.common, "jetpackEIO1"); jetpackEIO1Armored = (Jetpack) new Jetpack(1, EnumRarity.common, "jetpackEIO1").setIsArmored(true).setPlatingMeta(11); jetpackEIO2 = new Jetpack(2, EnumRarity.common, "jetpackEIO2"); jetpackEIO2Armored = (Jetpack) new Jetpack(2, EnumRarity.common, "jetpackEIO2").setIsArmored(true).setPlatingMeta(12); jetpackEIO3 = new Jetpack(3, EnumRarity.uncommon, "jetpackEIO3"); jetpackEIO3Armored = (Jetpack) new Jetpack(3, EnumRarity.uncommon, "jetpackEIO3").setIsArmored(true).setPlatingMeta(13); jetpackEIO4 = new Jetpack(4, EnumRarity.rare, "jetpackEIO4"); jetpackEIO4Armored = (Jetpack) new Jetpack(4, EnumRarity.rare, "jetpackEIO4").setIsArmored(true).setPlatingMeta(14); jetpackEIO5 = new JetPlate(5, EnumRarity.epic, "jetpackEIO5"); fluxPackEIO1 = new FluxPack(1, EnumRarity.common, "fluxPackEIO1"); fluxPackEIO2 = new FluxPack(2, EnumRarity.common, "fluxPackEIO2"); fluxPackEIO2Armored = (FluxPack) new FluxPack(2, EnumRarity.common, "fluxPackEIO2").setIsArmored(true).setPlatingMeta(11); fluxPackEIO3 = new FluxPack(3, EnumRarity.uncommon, "fluxPackEIO3"); fluxPackEIO3Armored = (FluxPack) new FluxPack(3, EnumRarity.uncommon, "fluxPackEIO3").setIsArmored(true).setPlatingMeta(12); fluxPackEIO4 = new FluxPack(4, EnumRarity.rare, "fluxPackEIO4"); fluxPackEIO4Armored = (FluxPack) new FluxPack(4, EnumRarity.rare, "fluxPackEIO4").setIsArmored(true).setPlatingMeta(13); } if (ModType.BUILDCRAFT.loaded) { boolean energyFactoryLoaded = Loader.isModLoaded("BuildCraft|Energy") && Loader.isModLoaded("BuildCraft|Factory"); if (energyFactoryLoaded) { jetpackBC1 = (Jetpack) new Jetpack(1, EnumRarity.common, "jetpackBC1").setFuelFluid("fuel"); jetpackBC1Armored = (Jetpack) new Jetpack(1, EnumRarity.common, "jetpackBC1").setFuelFluid("fuel").setIsArmored(true).setPlatingMeta(21); } jetpackBC2 = (Jetpack) new Jetpack(2, EnumRarity.uncommon, "jetpackBC2").setShowTier(energyFactoryLoaded); jetpackBC2Armored = (Jetpack) new Jetpack(2, EnumRarity.uncommon, "jetpackBC2").setIsArmored(true).setPlatingMeta(22).setShowTier(energyFactoryLoaded); } }
Example 4
Source File: ItemMysteriousPotato.java From SimplyJetpacks with MIT License | 4 votes |
@Override public EnumRarity getRarity(ItemStack itemStack) { return EnumRarity.epic; }
Example 5
Source File: ItemPrimewell.java From ForbiddenMagic with Do What The F*ck You Want To Public License | 4 votes |
@Override public EnumRarity getRarity(ItemStack stack){ return EnumRarity.epic; }
Example 6
Source File: ItemDivineOrb.java From ForbiddenMagic with Do What The F*ck You Want To Public License | 4 votes |
@Override public EnumRarity getRarity(ItemStack itemstack) { return EnumRarity.epic; }
Example 7
Source File: ItemMorphShovel.java From ForbiddenMagic with Do What The F*ck You Want To Public License | 4 votes |
public EnumRarity getRarity(ItemStack itemstack) { return EnumRarity.epic; }
Example 8
Source File: ItemMorphPickaxe.java From ForbiddenMagic with Do What The F*ck You Want To Public License | 4 votes |
@Override public EnumRarity getRarity(ItemStack itemstack) { return EnumRarity.epic; }
Example 9
Source File: ItemMorphAxe.java From ForbiddenMagic with Do What The F*ck You Want To Public License | 4 votes |
public EnumRarity getRarity(ItemStack itemstack) { return EnumRarity.epic; }
Example 10
Source File: ItemMorphSword.java From ForbiddenMagic with Do What The F*ck You Want To Public License | 4 votes |
@Override public EnumRarity getRarity(ItemStack itemstack) { return EnumRarity.epic; }
Example 11
Source File: ItemStorageComponent.java From ExtraCells1 with MIT License | 4 votes |
public EnumRarity getRarity(ItemStack par1) { return EnumRarity.epic; }
Example 12
Source File: ItemStorageFluid.java From ExtraCells1 with MIT License | 4 votes |
public EnumRarity getRarity(ItemStack par1) { return EnumRarity.epic; }
Example 13
Source File: ItemSecureStoragePhysicalDecrypted.java From ExtraCells1 with MIT License | 4 votes |
public EnumRarity getRarity(ItemStack par1) { return EnumRarity.epic; }
Example 14
Source File: ItemSecureStoragePhysicalEncrypted.java From ExtraCells1 with MIT License | 4 votes |
public EnumRarity getRarity(ItemStack par1) { return EnumRarity.epic; }
Example 15
Source File: ItemStoragePhysical.java From ExtraCells1 with MIT License | 4 votes |
public EnumRarity getRarity(ItemStack par1) { return EnumRarity.epic; }