public class ItemUpgradeTool
extends net.minecraft.item.Item
| Constructor and Description |
|---|
ItemUpgradeTool(net.minecraft.item.Item.Properties properties,
boolean upgrade) |
| 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.PlayerEntity player,
TileColossalChest tile,
ChestMaterial newType,
ChestMaterial currentType,
net.minecraft.util.Hand hand) |
protected boolean |
consumeItems(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.item.ItemStack consumeStack,
boolean simulate) |
net.minecraft.util.ActionResultType |
onItemUseFirst(net.minecraft.item.ItemStack itemStack,
net.minecraft.item.ItemUseContext context) |
protected ChestMaterial |
transformType(net.minecraft.item.ItemStack itemStack,
ChestMaterial type) |
addInformation, addPropertyOverride, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, fillItemGroup, func_219972_a, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getMaxDamage, getMaxStackSize, getName, getPropertyGetter, getRarity, getTags, getTileEntityItemStackRenderer, getToolTypes, getTranslationKey, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hasCustomProperties, hasEffect, hitEntity, inventoryTick, isComplex, isCrossbow, isDamageable, isEnchantable, isFood, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemRightClick, onItemUse, onItemUseFinish, onPlayerStoppedUsing, rayTrace, shouldSyncTag, toString, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamaged, isShield, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic ItemUpgradeTool(net.minecraft.item.Item.Properties properties,
boolean upgrade)
public net.minecraft.util.ActionResultType onItemUseFirst(net.minecraft.item.ItemStack itemStack,
net.minecraft.item.ItemUseContext context)
protected org.cyclops.cyclopscore.helper.L10NHelpers.UnlocalizedString attemptTransform(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
TileColossalChest tile,
ChestMaterial newType,
ChestMaterial currentType,
net.minecraft.util.Hand hand)
protected boolean consumeItems(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.item.ItemStack consumeStack,
boolean simulate)
protected ChestMaterial transformType(net.minecraft.item.ItemStack itemStack, ChestMaterial type)