public class ItemTrident extends Item
Item.PropertiesATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, BLOCK_TO_ITEM, canRepair, group, properties, randomdelegate| Constructor and Description |
|---|
ItemTrident(Item.Properties builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPlayerBreakBlockWhileHolding(IBlockState state,
World worldIn,
BlockPos pos,
EntityPlayer player) |
com.google.common.collect.Multimap<java.lang.String,AttributeModifier> |
getAttributeModifiers(EntityEquipmentSlot equipmentSlot) |
int |
getItemEnchantability() |
EnumAction |
getUseAction(ItemStack stack) |
int |
getUseDuration(ItemStack stack) |
boolean |
hasEffect(ItemStack stack) |
boolean |
hitEntity(ItemStack stack,
EntityLivingBase target,
EntityLivingBase attacker) |
boolean |
onBlockDestroyed(ItemStack stack,
World worldIn,
IBlockState state,
BlockPos pos,
EntityLivingBase entityLiving) |
ActionResult<ItemStack> |
onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
void |
onPlayerStoppedUsing(ItemStack stack,
World worldIn,
EntityLivingBase entityLiving,
int timeLeft) |
addInformation, addPropertyOverride, asItem, canHarvestBlock, fillItemGroup, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemFromBlock, getMaxDamage, getMaxStackSize, getName, getPropertyGetter, getRarity, getShareTag, getTileEntityItemStackRenderer, getToolTypes, getTranslationKey, getTranslationKey, hasContainerItem, hasCustomProperties, inventoryTick, isComplex, isDamageable, isEnchantable, isIn, isInGroup, isRepairable, itemInteractionForEntity, onCreated, onItemUse, onItemUseFinish, rayTrace, register, registerItems, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canEquip, canHarvestBlock, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getHorseArmorType, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamaged, isShield, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic ItemTrident(Item.Properties builder)
public boolean canPlayerBreakBlockWhileHolding(IBlockState state, World worldIn, BlockPos pos, EntityPlayer player)
canPlayerBreakBlockWhileHolding in class Itempublic EnumAction getUseAction(ItemStack stack)
getUseAction in class Itempublic int getUseDuration(ItemStack stack)
getUseDuration in class Itempublic void onPlayerStoppedUsing(ItemStack stack, World worldIn, EntityLivingBase entityLiving, int timeLeft)
onPlayerStoppedUsing in class Itempublic ActionResult<ItemStack> onItemRightClick(World worldIn, EntityPlayer playerIn, EnumHand handIn)
onItemRightClick in class Itempublic boolean hitEntity(ItemStack stack, EntityLivingBase target, EntityLivingBase attacker)
public boolean onBlockDestroyed(ItemStack stack, World worldIn, IBlockState state, BlockPos pos, EntityLivingBase entityLiving)
onBlockDestroyed in class Itempublic com.google.common.collect.Multimap<java.lang.String,AttributeModifier> getAttributeModifiers(EntityEquipmentSlot equipmentSlot)
getAttributeModifiers in class Itempublic int getItemEnchantability()
getItemEnchantability in class Item