public abstract class ItemAbstractFocus
extends net.minecraft.item.Item
| Constructor and Description |
|---|
ItemAbstractFocus(net.minecraft.item.Item.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.UseAction |
getUseAction(net.minecraft.item.ItemStack itemStack) |
int |
getUseDuration(net.minecraft.item.ItemStack itemStack) |
protected abstract net.minecraft.entity.projectile.ThrowableEntity |
newBeamEntity(net.minecraft.entity.LivingEntity player) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand) |
void |
onPlayerStoppedUsing(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.LivingEntity player,
int duration) |
void |
onUsingTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.LivingEntity player,
int remaining) |
addInformation, addPropertyOverride, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, fillItemGroup, func_219972_a, func_225519_S__, func_225520_U__, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getPropertyGetter, getRarity, getTags, getToolTypes, getTranslationKey, getTranslationKey, hasContainerItem, hasCustomProperties, hasEffect, hitEntity, inventoryTick, isComplex, isCrossbow, isDamageable, isEnchantable, isFood, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemUse, onItemUseFinish, rayTrace, shouldSyncTag, toString, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamaged, isShield, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic ItemAbstractFocus(net.minecraft.item.Item.Properties properties)
public net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand)
onItemRightClick in class net.minecraft.item.Itempublic net.minecraft.item.UseAction getUseAction(net.minecraft.item.ItemStack itemStack)
getUseAction in class net.minecraft.item.Itempublic int getUseDuration(net.minecraft.item.ItemStack itemStack)
getUseDuration in class net.minecraft.item.Itempublic void onPlayerStoppedUsing(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.LivingEntity player,
int duration)
onPlayerStoppedUsing in class net.minecraft.item.Itemprotected abstract net.minecraft.entity.projectile.ThrowableEntity newBeamEntity(net.minecraft.entity.LivingEntity player)
public void onUsingTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.LivingEntity player,
int remaining)