public final class ItemSketch
extends net.minecraft.item.Item
| Constructor and Description |
|---|
ItemSketch() |
| 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) |
static SketchData |
getData(net.minecraft.item.ItemStack stack) |
int |
getMaxItemUseDuration(net.minecraft.item.ItemStack stack) |
static net.minecraft.util.math.AxisAlignedBB |
getRangeSelection(net.minecraft.item.ItemStack stack,
net.minecraft.util.math.BlockPos pos) |
static boolean |
hasRangeSelection(net.minecraft.item.ItemStack stack) |
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 |
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) |
net.minecraft.item.ItemStack |
onItemUseFinish(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
net.minecraft.entity.EntityLivingBase entity) |
void |
onUsingTick(net.minecraft.item.ItemStack stack,
net.minecraft.entity.EntityLivingBase player,
int count) |
boolean |
shouldCauseReequipAnimation(net.minecraft.item.ItemStack oldStack,
net.minecraft.item.ItemStack newStack,
boolean slotChanged) |
addPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDefaultInstance, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getStrVsBlock, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isInCreativeTab, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTpublic static SketchData getData(net.minecraft.item.ItemStack stack)
public static boolean hasRangeSelection(net.minecraft.item.ItemStack stack)
@Nullable
public static net.minecraft.util.math.AxisAlignedBB getRangeSelection(net.minecraft.item.ItemStack stack,
net.minecraft.util.math.BlockPos pos)
public void addInformation(net.minecraft.item.ItemStack stack,
@Nullable
net.minecraft.world.World world,
java.util.List<java.lang.String> tooltip,
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 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 int getMaxItemUseDuration(net.minecraft.item.ItemStack stack)
getMaxItemUseDuration in class net.minecraft.item.Itempublic void onUsingTick(net.minecraft.item.ItemStack stack,
net.minecraft.entity.EntityLivingBase player,
int count)
onUsingTick in class net.minecraft.item.Itempublic net.minecraft.item.ItemStack onItemUseFinish(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
net.minecraft.entity.EntityLivingBase entity)
onItemUseFinish in class net.minecraft.item.Itempublic boolean shouldCauseReequipAnimation(net.minecraft.item.ItemStack oldStack,
net.minecraft.item.ItemStack newStack,
boolean slotChanged)
shouldCauseReequipAnimation in class net.minecraft.item.Item