Java Code Examples for net.minecraft.item.EnumAction#block()
The following examples show how to use
net.minecraft.item.EnumAction#block() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MoCItemWeapon.java From mocreaturesdev with GNU General Public License v3.0 | 4 votes |
/** * returns the action that specifies what animation to play when the items * is being used */ @Override public EnumAction getItemUseAction(ItemStack par1ItemStack) { return EnumAction.block; }
Example 2
Source File: ItemStaffPortal.java From mocreaturesdev with GNU General Public License v3.0 | 4 votes |
/** * returns the action that specifies what animation to play when the items * is being used */ @Override public EnumAction getItemUseAction(ItemStack par1ItemStack) { return EnumAction.block; }
Example 3
Source File: ItemStaffTeleport.java From mocreaturesdev with GNU General Public License v3.0 | 4 votes |
/** * returns the action that specifies what animation to play when the items * is being used */ @Override public EnumAction getItemUseAction(ItemStack par1ItemStack) { return EnumAction.block; }
Example 4
Source File: ItemBuilderHammer.java From mocreaturesdev with GNU General Public License v3.0 | 4 votes |
/** * returns the action that specifies what animation to play when the items * is being used */ @Override public EnumAction getItemUseAction(ItemStack par1ItemStack) { return EnumAction.block; }
Example 5
Source File: ItemOgreHammer.java From mocreaturesdev with GNU General Public License v3.0 | 4 votes |
/** * returns the action that specifies what animation to play when the items * is being used */ @Override public EnumAction getItemUseAction(ItemStack par1ItemStack) { return EnumAction.block; }