public class Promise
extends org.cyclops.cyclopscore.config.configurable.ConfigurableItem
| Modifier and Type | Class and Description |
|---|---|
static class |
Promise.ItemColor |
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<Upgrades.Upgrade,java.lang.Integer> |
MAIN_COLORS |
static java.util.Map<Upgrades.Upgrade,java.lang.Integer> |
SECONDARY_COLORS |
static Upgrades.Upgrade[] |
UPGRADES |
| Constructor and Description |
|---|
Promise(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4) |
static Promise |
getInstance()
Get the unique instance.
|
net.minecraft.client.renderer.color.IItemColor |
getItemColorHandler() |
int |
getItemStackLimit(net.minecraft.item.ItemStack itemStack) |
net.minecraft.item.EnumRarity |
getRarity(net.minecraft.item.ItemStack itemStack) |
void |
getSubItems(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list) |
java.lang.String |
getUnlocalizedName(net.minecraft.item.ItemStack itemStack) |
Upgrades.Upgrade |
getUpgrade(net.minecraft.item.ItemStack itemStack)
Get the upgrade for given damage.
|
boolean |
isTierUpgrade(net.minecraft.item.ItemStack itemStack) |
createDynamicModel, getConfig, hasDynamicModel, onModelBakeEventaddPropertyOverride, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getMovingObjectPositionFromPlayer, getPropertyGetter, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemRightClick, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTpublic static final Upgrades.Upgrade[] UPGRADES
public static final java.util.Map<Upgrades.Upgrade,java.lang.Integer> MAIN_COLORS
public static final java.util.Map<Upgrades.Upgrade,java.lang.Integer> SECONDARY_COLORS
public Promise(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig)
public static Promise getInstance()
public int getItemStackLimit(net.minecraft.item.ItemStack itemStack)
getItemStackLimit in class net.minecraft.item.Itempublic void addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4)
addInformation in class org.cyclops.cyclopscore.config.configurable.ConfigurableItempublic void getSubItems(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list)
getSubItems in class net.minecraft.item.Itempublic java.lang.String getUnlocalizedName(net.minecraft.item.ItemStack itemStack)
getUnlocalizedName in class net.minecraft.item.Itempublic Upgrades.Upgrade getUpgrade(net.minecraft.item.ItemStack itemStack)
itemStack - The item.public boolean isTierUpgrade(net.minecraft.item.ItemStack itemStack)
itemStack - The item.public net.minecraft.item.EnumRarity getRarity(net.minecraft.item.ItemStack itemStack)
getRarity in class net.minecraft.item.Item@Nullable public net.minecraft.client.renderer.color.IItemColor getItemColorHandler()
getItemColorHandler in interface org.cyclops.cyclopscore.config.configurable.IConfigurableItemgetItemColorHandler in class org.cyclops.cyclopscore.config.configurable.ConfigurableItem