Class TILBasicItem1_12_2
java.lang.Object
net.minecraftforge.registries.IForgeRegistryEntry.Impl<net.minecraft.item.Item>
net.minecraft.item.Item
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.registry.item.TILBasicItem1_12_2
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.registry.item.WithItemProperties,net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.item.Item>
@MethodsReturnNonnullByDefault
@ParametersAreNonnullByDefault
public class TILBasicItem1_12_2
extends net.minecraft.item.Item
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
FieldsModifier and TypeFieldDescriptionprotected final mods.thecomputerizer.theimpossiblelibrary.api.registry.item.ItemPropertiesFields 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
ConstructorsConstructorDescriptionTILBasicItem1_12_2(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.Item
addPropertyOverride, canApplyAtEnchantingTable, canContinueUsing, canDestroyBlockInCreative, canDisableShield, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getCreatorModId, getDamage, getDefaultInstance, getDestroySpeed, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getForgeRarity, getHarvestLevel, getHasSubtypes, getHighlightTip, getHorseArmorTexture, getHorseArmorType, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemBurnTime, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getSubItems, getTileEntityItemStackRenderer, getToolClasses, getTranslationKey, getTranslationKey, getUnlocalizedNameInefficiently, getXpRepairRatio, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isInCreativeTab, isMap, isRepairable, isShield, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, 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
-
Field Details
-
properties
protected final mods.thecomputerizer.theimpossiblelibrary.api.registry.item.ItemProperties properties
-
-
Constructor Details
-
TILBasicItem1_12_2
public TILBasicItem1_12_2(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
-