public class CameraItem extends PixelmonItem
Constructor and Description |
---|
CameraItem()
Initializes the item.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canAttackBlock(net.minecraft.block.BlockState p_195938_1_,
net.minecraft.world.World p_195938_2_,
net.minecraft.util.math.BlockPos p_195938_3_,
net.minecraft.entity.player.PlayerEntity p_195938_4_) |
boolean |
onEntitySwing(net.minecraft.item.ItemStack stack,
net.minecraft.entity.LivingEntity entity) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
use(net.minecraft.world.World worldIn,
net.minecraft.entity.player.PlayerEntity playerIn,
net.minecraft.util.Hand hand)
Right-click.
|
appendHoverText, causeTempt, fillItemCategory, getLocalizedName, getTooltipText, getTooltipText, getUseAnimation, hideFromSearches, isBookEnchantable, isDrink, isEdible, isEnchantable, isFoil, isSearchable, setDrink, setHasEffect, setTempt, useFromBag, useFromBag
allowdedIn, asItem, byBlock, byId, canBeDepleted, canBeHurtBy, finishUsingItem, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTags, getToolTypes, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, is, isComplex, isCorrectToolForDrops, isFireResistant, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, useOn, useOnRelease, verifyTagAfterLoad
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBar
public boolean onEntitySwing(net.minecraft.item.ItemStack stack, net.minecraft.entity.LivingEntity entity)
public boolean canAttackBlock(net.minecraft.block.BlockState p_195938_1_, net.minecraft.world.World p_195938_2_, net.minecraft.util.math.BlockPos p_195938_3_, net.minecraft.entity.player.PlayerEntity p_195938_4_)
canAttackBlock
in class net.minecraft.item.Item
public net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> use(net.minecraft.world.World worldIn, net.minecraft.entity.player.PlayerEntity playerIn, net.minecraft.util.Hand hand)
use
in class net.minecraft.item.Item