public class NaturalSword extends DerpySword implements IModeItem, ISpecialActionItem
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
modes |
static int[] |
revDir |
static int[] |
xOff |
static int[] |
zOff |
meta, repair| Constructor and Description |
|---|
NaturalSword(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_) |
static boolean |
genLeafBlock(net.minecraft.world.World world,
int x,
int y,
int z,
DerpyRegistry.BasicBlockEntry block) |
static int |
genLeafWall(net.minecraft.world.World world,
int blockX,
int blockY,
int blockZ,
DerpyRegistry.BasicBlockEntry block,
int dir,
int height) |
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) |
static void |
registerLeafTypes() |
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, onUpdate, onUsingTick, registerIcons, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering, showDurabilityBarpublic static final int[] xOff
public static final int[] zOff
public static final int[] revDir
public static final java.lang.String[] modes
public NaturalSword(net.minecraft.item.Item.ToolMaterial material,
net.minecraft.item.Item rep,
int m)
public 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 static int genLeafWall(net.minecraft.world.World world,
int blockX,
int blockY,
int blockZ,
DerpyRegistry.BasicBlockEntry block,
int dir,
int height)
public static boolean genLeafBlock(net.minecraft.world.World world,
int x,
int y,
int z,
DerpyRegistry.BasicBlockEntry block)
public static void registerLeafTypes()
public 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