public class ItemMapLocation extends ItemBC_Neptune implements IMapLocation
net.minecraft.item.Item.ToolMaterialIMapLocation.MapLocationTypeid| Constructor and Description |
|---|
ItemMapLocation(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> strings,
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.
|
static IBox |
getAreaBox(net.minecraft.item.ItemStack item) |
IBox |
getBox(net.minecraft.item.ItemStack item)
This function can be used for SPOT and AREA types.
|
int |
getItemStackLimit(net.minecraft.item.ItemStack stack) |
java.lang.String |
getName(net.minecraft.item.ItemStack item) |
java.util.List<net.minecraft.util.math.BlockPos> |
getPath(net.minecraft.item.ItemStack item)
This function can be used for SPOT and PATH types.
|
net.minecraft.util.math.BlockPos |
getPoint(net.minecraft.item.ItemStack item)
This function can be used for SPOT types.
|
static IBox |
getPointBox(net.minecraft.item.ItemStack item) |
static net.minecraft.util.EnumFacing |
getPointFace(net.minecraft.item.ItemStack stack) |
net.minecraft.util.EnumFacing |
getPointSide(net.minecraft.item.ItemStack item)
This function can be used for SPOT types only.
|
IZone |
getZone(net.minecraft.item.ItemStack item)
This function can be used for SPOT, AREA and ZONE types.
|
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand) |
net.minecraft.util.EnumActionResult |
onItemUseFirst(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ,
net.minecraft.util.EnumHand hand) |
boolean |
setName(net.minecraft.item.ItemStack item,
java.lang.String name) |
static void |
setZone(net.minecraft.item.ItemStack item,
ZonePlan plan) |
addSubItems, getSubItems, idaddPropertyOverride, 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, 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, onItemUse, onItemUseFinish, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddVariant, init, registerVariantspublic int getItemStackLimit(net.minecraft.item.ItemStack stack)
getItemStackLimit in class net.minecraft.item.Itempublic 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.addModelVariants in interface IItemBuildCraftpublic void addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
java.util.List<java.lang.String> strings,
net.minecraft.client.util.ITooltipFlag flag)
addInformation in class net.minecraft.item.Itempublic net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
onItemRightClick in class net.minecraft.item.Itempublic net.minecraft.util.EnumActionResult onItemUseFirst(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ,
net.minecraft.util.EnumHand hand)
onItemUseFirst in class net.minecraft.item.Itempublic static IBox getAreaBox(@Nonnull net.minecraft.item.ItemStack item)
public static IBox getPointBox(@Nonnull net.minecraft.item.ItemStack item)
public static net.minecraft.util.EnumFacing getPointFace(@Nonnull
net.minecraft.item.ItemStack stack)
public IBox getBox(@Nonnull net.minecraft.item.ItemStack item)
IMapLocationgetBox in interface IMapLocationpublic net.minecraft.util.EnumFacing getPointSide(@Nonnull
net.minecraft.item.ItemStack item)
IMapLocationgetPointSide in interface IMapLocationpublic net.minecraft.util.math.BlockPos getPoint(@Nonnull
net.minecraft.item.ItemStack item)
IMapLocationgetPoint in interface IMapLocationpublic IZone getZone(@Nonnull net.minecraft.item.ItemStack item)
IMapLocationgetZone in interface IMapLocationpublic java.util.List<net.minecraft.util.math.BlockPos> getPath(@Nonnull
net.minecraft.item.ItemStack item)
IMapLocationgetPath in interface IMapLocationpublic static void setZone(@Nonnull
net.minecraft.item.ItemStack item,
ZonePlan plan)
public java.lang.String getName(@Nonnull
net.minecraft.item.ItemStack item)
getName in interface INamedItempublic boolean setName(@Nonnull
net.minecraft.item.ItemStack item,
java.lang.String name)
setName in interface INamedItem