public class ItemSnapshot extends ItemBC_Neptune
Modifier and Type | Class and Description |
---|---|
static class |
ItemSnapshot.EnumItemSnapshotType |
id
Constructor and Description |
---|
ItemSnapshot(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
java.util.List<java.lang.String> tooltip,
net.minecraft.client.util.ITooltipFlag flag) |
void |
addModelVariants(gnu.trove.map.hash.TIntObjectHashMap<net.minecraft.client.renderer.block.model.ModelResourceLocation> variants)
Sets up all of the model information for this item.
|
protected void |
addSubItems(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> subItems)
Identical to
ItemBC_Neptune.getSubItems(CreativeTabs, NonNullList) in every way, EXCEPT that this is only called if
this is actually in the given creative tab. |
net.minecraft.item.ItemStack |
getClean(EnumSnapshotType snapshotType) |
Snapshot.Header |
getHeader(net.minecraft.item.ItemStack stack) |
int |
getItemStackLimit(net.minecraft.item.ItemStack stack) |
java.lang.String |
getUnlocalizedName(net.minecraft.item.ItemStack stack) |
net.minecraft.item.ItemStack |
getUsed(EnumSnapshotType snapshotType,
Snapshot.Header header) |
getSubItems, id
addPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canDisableShield, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getCreatorModId, getDamage, getDefaultInstance, getDestroySpeed, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemBurnTime, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getToolClasses, getUnlocalizedName, getUnlocalizedNameInefficiently, 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, onItemRightClick, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addVariant, init, registerVariants
public net.minecraft.item.ItemStack getClean(EnumSnapshotType snapshotType)
public net.minecraft.item.ItemStack getUsed(EnumSnapshotType snapshotType, Snapshot.Header header)
public Snapshot.Header getHeader(net.minecraft.item.ItemStack stack)
public int getItemStackLimit(net.minecraft.item.ItemStack stack)
getItemStackLimit
in class net.minecraft.item.Item
protected void addSubItems(net.minecraft.creativetab.CreativeTabs tab, net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> subItems)
ItemBC_Neptune
ItemBC_Neptune.getSubItems(CreativeTabs, NonNullList)
in every way, EXCEPT that this is only called if
this is actually in the given creative tab.addSubItems
in class ItemBC_Neptune
tab
- The CreativeTabs
to display the items in. This is provided just in case an item has multiple
subtypes, split across different tabspublic void addModelVariants(gnu.trove.map.hash.TIntObjectHashMap<net.minecraft.client.renderer.block.model.ModelResourceLocation> variants)
IItemBuildCraft
IItemBuildCraft.addVariant(TIntObjectHashMap, int, String)
to help get
everything correct.public java.lang.String getUnlocalizedName(net.minecraft.item.ItemStack stack)
getUnlocalizedName
in class net.minecraft.item.Item
public void addInformation(net.minecraft.item.ItemStack stack, net.minecraft.world.World world, java.util.List<java.lang.String> tooltip, net.minecraft.client.util.ITooltipFlag flag)
addInformation
in class net.minecraft.item.Item