public class ItemWrench extends ItemBuildCraft implements IToolWrench
| Constructor and Description |
|---|
ItemWrench() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canWrench(net.minecraft.entity.player.EntityPlayer player,
int x,
int y,
int z)
Called to ensure that the wrench can be used.
|
boolean |
doesSneakBypassUse(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player) |
boolean |
onItemUseFirst(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
int x,
int y,
int z,
int side,
float hitX,
float hitY,
float hitZ) |
void |
wrenchUsed(net.minecraft.entity.player.EntityPlayer player,
int x,
int y,
int z)
Callback after the wrench has been used.
|
registerIcons, setPassSneakClick, setUnlocalizedNameaddInformation, canHarvestBlock, 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, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIconString, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getSpriteNumber, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hasEffect, hitEntity, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEaten, onEntityItemUpdate, onEntitySwing, onItemRightClick, onItemUse, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, shouldRotateAroundWhenRendering, showDurabilityBarpublic boolean onItemUseFirst(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
int x,
int y,
int z,
int side,
float hitX,
float hitY,
float hitZ)
onItemUseFirst in class net.minecraft.item.Itempublic boolean canWrench(net.minecraft.entity.player.EntityPlayer player,
int x,
int y,
int z)
IToolWrenchcanWrench in interface IToolWrenchplayer - - The player doing the wrenchingx - ,y,z - The coordinates for the block being wrenchedpublic void wrenchUsed(net.minecraft.entity.player.EntityPlayer player,
int x,
int y,
int z)
IToolWrenchwrenchUsed in interface IToolWrenchplayer - - The player doing the wrenchingx - ,y,z - The coordinates of the block being wrenchedpublic boolean doesSneakBypassUse(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player)
doesSneakBypassUse in class ItemBuildCraft