public class ItemPaintbrush_BC8 extends ItemBC_Neptune
| Modifier and Type | Class and Description |
|---|---|
class |
ItemPaintbrush_BC8.Brush
Delegate class for handling
|
id| Constructor and Description |
|---|
ItemPaintbrush_BC8(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
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. |
ItemPaintbrush_BC8.Brush |
getBrushFromStack(net.minecraft.item.ItemStack stack) |
int |
getDamage(net.minecraft.item.ItemStack stack) |
double |
getDurabilityForDisplay(net.minecraft.item.ItemStack stack) |
net.minecraft.client.gui.FontRenderer |
getFontRenderer(net.minecraft.item.ItemStack stack) |
java.lang.String |
getItemStackDisplayName(net.minecraft.item.ItemStack stack) |
int |
getMetadata(net.minecraft.item.ItemStack stack) |
boolean |
isDamaged(net.minecraft.item.ItemStack stack) |
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) |
void |
setDamage(net.minecraft.item.ItemStack stack,
int damage) |
boolean |
showDurabilityBar(net.minecraft.item.ItemStack stack) |
getSubItems, idaddInformation, addPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canDisableShield, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getCreatorModId, getDefaultInstance, getDestroySpeed, getEntityLifespan, getEquipmentSlot, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemBurnTime, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isEnchantable, isFull3D, isInCreativeTab, isMap, isRepairable, isShield, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemRightClick, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddVariant, init, registerVariantsprotected void addSubItems(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> subItems)
ItemBC_NeptuneItemBC_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_Neptunetab - 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)
IItemBuildCraftIItemBuildCraft.addVariant(TIntObjectHashMap, int, String) to help get
everything correct.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)
onItemUse in class net.minecraft.item.Itempublic ItemPaintbrush_BC8.Brush getBrushFromStack(net.minecraft.item.ItemStack stack)
public java.lang.String getItemStackDisplayName(net.minecraft.item.ItemStack stack)
getItemStackDisplayName in class net.minecraft.item.Itempublic net.minecraft.client.gui.FontRenderer getFontRenderer(net.minecraft.item.ItemStack stack)
getFontRenderer in class net.minecraft.item.Itempublic int getDamage(net.minecraft.item.ItemStack stack)
getDamage in class net.minecraft.item.Itempublic void setDamage(net.minecraft.item.ItemStack stack,
int damage)
setDamage in class net.minecraft.item.Itempublic boolean isDamaged(net.minecraft.item.ItemStack stack)
isDamaged in class net.minecraft.item.Itempublic boolean showDurabilityBar(net.minecraft.item.ItemStack stack)
showDurabilityBar in class net.minecraft.item.Itempublic double getDurabilityForDisplay(net.minecraft.item.ItemStack stack)
getDurabilityForDisplay in class net.minecraft.item.Itempublic int getMetadata(net.minecraft.item.ItemStack stack)
getMetadata in class net.minecraft.item.Item