public class ItemUpgradeTool
extends org.cyclops.cyclopscore.config.configurable.ConfigurableItem
| Constructor and Description |
|---|
ItemUpgradeTool(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig eConfig)
Make a new item instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.cyclops.cyclopscore.helper.L10NHelpers.UnlocalizedString |
attemptTransform(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player,
TileColossalChest tile,
PropertyMaterial.Type newType,
PropertyMaterial.Type currentType) |
protected boolean |
consumeItems(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack consumeStack,
boolean simulate) |
static ItemUpgradeTool |
getInstance()
Get the unique instance.
|
void |
getSubItems(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> subItems) |
java.lang.String |
getUnlocalizedName(net.minecraft.item.ItemStack itemStack) |
net.minecraft.util.EnumActionResult |
onItemUseFirst(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ,
net.minecraft.util.EnumHand hand) |
protected PropertyMaterial.Type |
transformType(net.minecraft.item.ItemStack itemStack,
PropertyMaterial.Type type) |
addInformation, createDynamicModel, getConfig, getItemColorHandler, hasDynamicModel, onModelBakeEventaddPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDefaultInstance, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isInCreativeTab, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemRightClick, onItemUse, onItemUseFinish, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTpublic ItemUpgradeTool(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig eConfig)
eConfig - Config for this blockState.public static ItemUpgradeTool getInstance()
public java.lang.String getUnlocalizedName(net.minecraft.item.ItemStack itemStack)
getUnlocalizedName in class net.minecraft.item.Itempublic net.minecraft.util.EnumActionResult onItemUseFirst(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ,
net.minecraft.util.EnumHand hand)
onItemUseFirst in class net.minecraft.item.Itemprotected org.cyclops.cyclopscore.helper.L10NHelpers.UnlocalizedString attemptTransform(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player,
TileColossalChest tile,
PropertyMaterial.Type newType,
PropertyMaterial.Type currentType)
protected boolean consumeItems(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack consumeStack,
boolean simulate)
public void getSubItems(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> subItems)
getSubItems in class net.minecraft.item.Itemprotected PropertyMaterial.Type transformType(net.minecraft.item.ItemStack itemStack, PropertyMaterial.Type type)