public class RasLensItem extends PixelmonItem
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.util.SoundEvent |
sound |
EnumCheatItemType |
type |
| Constructor and Description |
|---|
RasLensItem(EnumCheatItemType type) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.ActionResultType |
interactLivingEntity(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.entity.LivingEntity target,
net.minecraft.util.Hand hand)
Returns true if the item can be used on the given entity, e.g.
|
boolean |
isEnchantable(net.minecraft.item.ItemStack stack) |
appendHoverText, causeTempt, fillItemCategory, getLocalizedName, getTooltipText, getTooltipText, getUseAnimation, hideFromSearches, isBookEnchantable, isDrink, isEdible, isFoil, isSearchable, setDrink, setHasEffect, setTempt, useFromBag, useFromBagallowdedIn, asItem, byBlock, byId, canAttackBlock, 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, inventoryTick, is, isComplex, isCorrectToolForDrops, isFireResistant, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, use, useOn, useOnRelease, verifyTagAfterLoadgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, 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, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic static net.minecraft.util.SoundEvent sound
public EnumCheatItemType type
public RasLensItem(EnumCheatItemType type)
public net.minecraft.util.ActionResultType interactLivingEntity(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.entity.LivingEntity target,
net.minecraft.util.Hand hand)
interactLivingEntity in class net.minecraft.item.Itempublic boolean isEnchantable(net.minecraft.item.ItemStack stack)
isEnchantable in class PixelmonItem