Class TILCustomTool1_12_2
java.lang.Object
net.minecraftforge.registries.IForgeRegistryEntry.Impl<net.minecraft.item.Item>
net.minecraft.item.Item
net.minecraft.item.ItemTool
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.registry.item.TILCustomTool1_12_2
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.registry.item.WithItemProperties,net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.item.Item>
@MethodsReturnNonnullByDefault
@ParametersAreNonnullByDefault
public class TILCustomTool1_12_2
extends net.minecraft.item.ItemTool
implements mods.thecomputerizer.theimpossiblelibrary.api.registry.item.WithItemProperties
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
net.minecraft.item.Item.ToolMaterialNested classes/interfaces inherited from interface net.minecraftforge.registries.IForgeRegistryEntry
net.minecraftforge.registries.IForgeRegistryEntry.Impl<T extends net.minecraftforge.registries.IForgeRegistryEntry<T>> -
Field Summary
Fields inherited from class net.minecraft.item.ItemTool
attackDamage, attackSpeed, efficiency, toolMaterialFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRYFields inherited from class net.minecraftforge.registries.IForgeRegistryEntry.Impl
delegateFields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.registry.item.WithItemProperties
VERSION -
Constructor Summary
ConstructorsConstructorDescriptionTILCustomTool1_12_2(float damage, float speed, net.minecraft.item.Item.ToolMaterial material, Set<net.minecraft.block.Block> blocks, mods.thecomputerizer.theimpossiblelibrary.api.registry.item.ItemProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInformation(net.minecraft.item.ItemStack stack, net.minecraft.world.World world, List<String> tooltip, net.minecraft.client.util.ITooltipFlag flag) mods.thecomputerizer.theimpossiblelibrary.api.registry.item.ItemPropertiesnet.minecraft.util.EnumActionResultonItemUse(net.minecraft.entity.player.EntityPlayer player, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumHand hand, net.minecraft.util.EnumFacing facing, float hitX, float hitY, float hitZ) Methods inherited from class net.minecraft.item.ItemTool
getDestroySpeed, getHarvestLevel, getIsRepairable, getItemAttributeModifiers, getItemEnchantability, getToolClasses, getToolMaterialName, hitEntity, isFull3D, onBlockDestroyedMethods inherited from class net.minecraft.item.Item
addPropertyOverride, canApplyAtEnchantingTable, canContinueUsing, canDestroyBlockInCreative, canDisableShield, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getCreatorModId, getDamage, getDefaultInstance, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getForgeRarity, getHasSubtypes, getHighlightTip, getHorseArmorTexture, getHorseArmorType, getIdFromItem, getItemBurnTime, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getSubItems, getTileEntityItemStackRenderer, getTranslationKey, getTranslationKey, getUnlocalizedNameInefficiently, getXpRepairRatio, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isInCreativeTab, isMap, isRepairable, isShield, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemRightClick, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, readNBTShareTag, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setTileEntityItemStackRenderer, setTranslationKey, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTMethods inherited from class net.minecraftforge.registries.IForgeRegistryEntry.Impl
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.registry.item.WithItemProperties
getTooltipLines, getUseResult
-
Constructor Details
-
TILCustomTool1_12_2
public TILCustomTool1_12_2(float damage, float speed, net.minecraft.item.Item.ToolMaterial material, Set<net.minecraft.block.Block> blocks, mods.thecomputerizer.theimpossiblelibrary.api.registry.item.ItemProperties properties)
-
-
Method Details
-
addInformation
-
onItemUse
public net.minecraft.util.EnumActionResult onItemUse(net.minecraft.entity.player.EntityPlayer player, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumHand hand, net.minecraft.util.EnumFacing facing, float hitX, float hitY, float hitZ) - Overrides:
onItemUsein classnet.minecraft.item.Item
-
getProperties
@Nonnull public mods.thecomputerizer.theimpossiblelibrary.api.registry.item.ItemProperties getProperties()- Specified by:
getPropertiesin interfacemods.thecomputerizer.theimpossiblelibrary.api.registry.item.WithItemProperties
-