public class ItemMapLocation extends ItemBuildCraft implements IMapLocation
net.minecraft.item.Item.ToolMaterialIMapLocation.MapLocationTypeicons| Constructor and Description |
|---|
ItemMapLocation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
java.util.List list,
boolean advanced) |
IBox |
getBox(net.minecraft.item.ItemStack item)
This function can be used for SPOT and AREA types.
|
net.minecraft.util.IIcon |
getIconIndex(net.minecraft.item.ItemStack stack) |
java.lang.String[] |
getIconNames() |
int |
getItemStackLimit(net.minecraft.item.ItemStack stack) |
java.lang.String |
getName(net.minecraft.item.ItemStack item) |
java.util.List<BlockIndex> |
getPath(net.minecraft.item.ItemStack item)
This function can be used for SPOT and PATH types.
|
BlockIndex |
getPoint(net.minecraft.item.ItemStack item)
This function can be used for SPOT types.
|
static IBox |
getPointBox(net.minecraft.item.ItemStack item) |
net.minecraftforge.common.util.ForgeDirection |
getPointSide(net.minecraft.item.ItemStack item)
This function can be used for SPOT types only.
|
IMapLocation.MapLocationType |
getType(net.minecraft.item.ItemStack stack) |
IZone |
getZone(net.minecraft.item.ItemStack item)
This function can be used for SPOT, AREA and ZONE types.
|
boolean |
onItemUse(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer par2EntityPlayer,
net.minecraft.world.World world,
int x,
int y,
int z,
int side,
float par8,
float par9,
float par10) |
void |
registerIcons(net.minecraft.client.renderer.texture.IIconRegister par1IconRegister) |
boolean |
setName(net.minecraft.item.ItemStack item,
java.lang.String name) |
static void |
setZone(net.minecraft.item.ItemStack item,
ZonePlan plan) |
doesSneakBypassUse, getIconFromDamage, setPassSneakClick, setUnlocalizedNamecanHarvestBlock, canItemEditBlocks, createEntity, doesContainerItemLeaveCraftingGrid, func_150893_a, func_150897_b, getArmorModel, getArmorTexture, getAttributeModifiers, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDisplayDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIcon, getIcon, getIconFromDamageForRenderPass, getIconString, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getSpriteNumber, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hasEffect, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEaten, onEntityItemUpdate, onEntitySwing, onItemRightClick, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, shouldRotateAroundWhenRendering, showDurabilityBarpublic int getItemStackLimit(net.minecraft.item.ItemStack stack)
getItemStackLimit in class net.minecraft.item.Itempublic void addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
java.util.List list,
boolean advanced)
addInformation in class net.minecraft.item.Itempublic net.minecraft.util.IIcon getIconIndex(net.minecraft.item.ItemStack stack)
getIconIndex in class net.minecraft.item.Itempublic java.lang.String[] getIconNames()
getIconNames in class ItemBuildCraftpublic void registerIcons(net.minecraft.client.renderer.texture.IIconRegister par1IconRegister)
registerIcons in class ItemBuildCraftpublic boolean onItemUse(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer par2EntityPlayer,
net.minecraft.world.World world,
int x,
int y,
int z,
int side,
float par8,
float par9,
float par10)
onItemUse in class net.minecraft.item.Itempublic IBox getBox(net.minecraft.item.ItemStack item)
IMapLocationgetBox in interface IMapLocationpublic static IBox getPointBox(net.minecraft.item.ItemStack item)
public net.minecraftforge.common.util.ForgeDirection getPointSide(net.minecraft.item.ItemStack item)
IMapLocationgetPointSide in interface IMapLocationpublic BlockIndex getPoint(net.minecraft.item.ItemStack item)
IMapLocationgetPoint in interface IMapLocationpublic IZone getZone(net.minecraft.item.ItemStack item)
IMapLocationgetZone in interface IMapLocationpublic java.util.List<BlockIndex> getPath(net.minecraft.item.ItemStack item)
IMapLocationgetPath in interface IMapLocationpublic static void setZone(net.minecraft.item.ItemStack item,
ZonePlan plan)
public java.lang.String getName(net.minecraft.item.ItemStack item)
getName in interface INamedItempublic boolean setName(net.minecraft.item.ItemStack item,
java.lang.String name)
setName in interface INamedItempublic IMapLocation.MapLocationType getType(net.minecraft.item.ItemStack stack)
getType in interface IMapLocation