public class WindSword extends DerpySword implements IModeItem, ISpecialActionItem
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
modes |
meta, repair| Constructor and Description |
|---|
WindSword(net.minecraft.item.Item.ToolMaterial material,
net.minecraft.item.Item rep,
int m) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer p_77624_2_,
java.util.List list,
boolean p_77624_4_) |
java.lang.String |
getModeName(int index) |
int |
getNumModes() |
boolean |
onLeftClickEntity(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.entity.Entity entity) |
void |
onUpdate(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int lawl,
boolean inHand) |
void |
specialAction(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
boolean isClient) |
getIsRepairablefunc_150893_a, func_150897_b, func_150931_i, getItemAttributeModifiers, getItemEnchantability, getItemUseAction, getMaxItemUseDuration, getToolMaterialName, hitEntity, isFull3D, onBlockDestroyed, onItemRightClickcanHarvestBlock, canItemEditBlocks, createEntity, doesContainerItemLeaveCraftingGrid, doesSneakBypassUse, getArmorModel, getArmorTexture, getAttributeModifiers, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDisplayDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIcon, getIcon, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIconString, getIdFromItem, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getMaxDamage, getMaxDamage, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getSpriteNumber, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hasEffect, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockStartBreak, onCreated, onDroppedByPlayer, onEaten, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFirst, onPlayerStoppedUsing, onUsingTick, registerIcons, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering, showDurabilityBarpublic WindSword(net.minecraft.item.Item.ToolMaterial material,
net.minecraft.item.Item rep,
int m)
public void onUpdate(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int lawl,
boolean inHand)
onUpdate in class net.minecraft.item.Itempublic boolean onLeftClickEntity(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.entity.Entity entity)
onLeftClickEntity in class net.minecraft.item.Itempublic void specialAction(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
boolean isClient)
specialAction in interface ISpecialActionItempublic void addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer p_77624_2_,
java.util.List list,
boolean p_77624_4_)
addInformation in class net.minecraft.item.Itempublic int getNumModes()
getNumModes in interface IModeItempublic java.lang.String getModeName(int index)
getModeName in interface IModeItem