Java Code Examples for net.minecraft.item.EnumRarity#UNCOMMON

The following examples show how to use net.minecraft.item.EnumRarity#UNCOMMON . 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: ItemSyringe.java    From Wizardry with GNU Lesser General Public License v3.0 5 votes vote down vote up
@NotNull
@Override
public EnumRarity getRarity(ItemStack stack) {
	switch(stack.getItemDamage()) {
		case 1:
			return EnumRarity.UNCOMMON;

		case 2:
			return EnumRarity.RARE;

		default:
			return EnumRarity.COMMON;
	}
}
 
Example 2
Source File: ItemCapeBauble.java    From Wizardry with GNU Lesser General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 3
Source File: BlockWisdomSapling.java    From Wizardry with GNU Lesser General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public EnumRarity getBlockRarity(@NotNull ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 4
Source File: ItemBook.java    From Wizardry with GNU Lesser General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 5
Source File: ItemUnicornDagger.java    From Wizardry with GNU Lesser General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 6
Source File: ItemFairyImbuedApple.java    From Wizardry with GNU Lesser General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 7
Source File: ItemFakeHaloHead.java    From Wizardry with GNU Lesser General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 8
Source File: ItemFakeHaloBauble.java    From Wizardry with GNU Lesser General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 9
Source File: ItemStaff.java    From Wizardry with GNU Lesser General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 10
Source File: GTItemDuctTape.java    From GT-Classic with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EnumRarity getRarity(ItemStack thisItem) {
	return EnumRarity.UNCOMMON;
}
 
Example 11
Source File: NacrePearlSpell.java    From Wizardry with GNU Lesser General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 12
Source File: ItemPearlBelt.java    From Wizardry with GNU Lesser General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 13
Source File: ItemCapeChest.java    From Wizardry with GNU Lesser General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 14
Source File: ItemBlackenedSpirit.java    From Wizardry with GNU Lesser General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 15
Source File: GTItemSpringBoots.java    From GT-Classic with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}
 
Example 16
Source File: GTItemCreativeScanner.java    From GT-Classic with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EnumRarity getRarity(ItemStack thisItem) {
	return EnumRarity.UNCOMMON;
}
 
Example 17
Source File: GTItemLightHelmet.java    From GT-Classic with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
public EnumRarity getRarity(ItemStack stack) {
	return EnumRarity.UNCOMMON;
}