public class PokeBagItem extends PixelmonItem implements IEquippable
| Modifier and Type | Class and Description |
|---|---|
static class |
PokeBagItem.PokeBag |
| Constructor and Description |
|---|
PokeBagItem(net.minecraft.item.DyeColor color) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEquip(net.minecraft.item.ItemStack stack,
net.minecraft.inventory.EquipmentSlotType armorType,
net.minecraft.entity.Entity entity) |
net.minecraft.inventory.EquipmentSlotType |
getEquipmentSlot(net.minecraft.item.ItemStack stack) |
net.minecraft.item.Item |
getEquippableItem() |
java.lang.String |
getEquippableModelKey() |
net.minecraft.util.ResourceLocation |
getEquippableTexture() |
java.lang.String |
getTooltipText() |
boolean |
onDroppedByPlayer(net.minecraft.item.ItemStack item,
net.minecraft.entity.player.PlayerEntity player) |
static void |
openPokeBag(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.ServerPlayerEntity player) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
use(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand) |
appendHoverText, causeTempt, fillItemCategory, getLocalizedName, getTooltipText, getUseAnimation, hideFromSearches, isBookEnchantable, isDrink, isEdible, isEnchantable, 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, interactLivingEntity, inventoryTick, is, isComplex, isCorrectToolForDrops, isFireResistant, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, useOn, useOnRelease, verifyTagAfterLoadgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> use(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand)
use in class net.minecraft.item.Itempublic boolean onDroppedByPlayer(net.minecraft.item.ItemStack item,
net.minecraft.entity.player.PlayerEntity player)
onDroppedByPlayer in interface net.minecraftforge.common.extensions.IForgeItempublic java.lang.String getTooltipText()
getTooltipText in class PixelmonItempublic net.minecraft.inventory.EquipmentSlotType getEquipmentSlot(net.minecraft.item.ItemStack stack)
getEquipmentSlot in interface IEquippablegetEquipmentSlot in interface net.minecraftforge.common.extensions.IForgeItempublic java.lang.String getEquippableModelKey()
getEquippableModelKey in interface IEquippablepublic net.minecraft.util.ResourceLocation getEquippableTexture()
getEquippableTexture in interface IEquippablepublic net.minecraft.item.Item getEquippableItem()
getEquippableItem in interface IEquippablepublic static void openPokeBag(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.ServerPlayerEntity player)
public boolean canEquip(net.minecraft.item.ItemStack stack,
net.minecraft.inventory.EquipmentSlotType armorType,
net.minecraft.entity.Entity entity)
canEquip in interface net.minecraftforge.common.extensions.IForgeItem