public class LureItem extends PixelmonItem implements RarityTweak
Modifier and Type | Class and Description |
---|---|
static class |
LureItem.LureStrength |
static class |
LureItem.LureType |
Modifier and Type | Field and Description |
---|---|
LureItem.LureStrength |
strength |
LureItem.LureType |
type |
Constructor and Description |
---|
LureItem(LureItem.LureType type,
LureItem.LureStrength strength) |
Modifier and Type | Method and Description |
---|---|
float |
getMultiplier(AbstractSpawner spawner,
SpawnInfo spawnInfo,
float sum,
float rarity) |
java.lang.String |
getTooltipText() |
boolean |
isBookEnchantable(net.minecraft.item.ItemStack stack,
net.minecraft.item.ItemStack book) |
boolean |
isEnchantable(net.minecraft.item.ItemStack stack) |
appendHoverText, causeTempt, fillItemCategory, getLocalizedName, getTooltipText, getUseAnimation, hideFromSearches, isDrink, isEdible, isFoil, isSearchable, setDrink, setHasEffect, setTempt, useFromBag, useFromBag
allowdedIn, 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, interactLivingEntity, inventoryTick, is, isComplex, isCorrectToolForDrops, isFireResistant, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, use, 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, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBar
public LureItem.LureType type
public LureItem.LureStrength strength
public LureItem(LureItem.LureType type, LureItem.LureStrength strength)
public float getMultiplier(AbstractSpawner spawner, SpawnInfo spawnInfo, float sum, float rarity)
getMultiplier
in interface RarityTweak
public boolean isEnchantable(net.minecraft.item.ItemStack stack)
isEnchantable
in class PixelmonItem
public boolean isBookEnchantable(net.minecraft.item.ItemStack stack, net.minecraft.item.ItemStack book)
isBookEnchantable
in interface net.minecraftforge.common.extensions.IForgeItem
isBookEnchantable
in class PixelmonItem
public java.lang.String getTooltipText()
getTooltipText
in class PixelmonItem