public class TechnicalMoveItem extends PixelmonItem
| Modifier and Type | Class and Description |
|---|---|
static class |
TechnicalMoveItem.TMPropertyGetter |
| Constructor and Description |
|---|
TechnicalMoveItem(TMType prefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillItemCategory(net.minecraft.item.ItemGroup p_150895_1_,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> items) |
java.lang.String |
getDescriptionId(net.minecraft.item.ItemStack stack) |
static ITechnicalMove |
getInstanceOf(net.minecraft.item.ItemStack stack) |
static ITechnicalMove |
getMove(net.minecraft.item.ItemStack stack) |
net.minecraft.nbt.CompoundNBT |
getShareTag(net.minecraft.item.ItemStack stack)
Override this method to change the NBT data being sent to the client.
|
java.lang.String |
getTooltipText(net.minecraft.item.ItemStack stack) |
void |
inventoryTick(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
net.minecraft.entity.Entity entityIn,
int itemSlot,
boolean isSelected) |
static net.minecraft.item.ItemStack |
of(TMType type,
ITechnicalMove move) |
java.lang.String |
type() |
appendHoverText, causeTempt, 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, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTags, getToolTypes, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, 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, 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 TechnicalMoveItem(TMType prefix)
public void inventoryTick(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
net.minecraft.entity.Entity entityIn,
int itemSlot,
boolean isSelected)
inventoryTick in class net.minecraft.item.Itempublic java.lang.String getDescriptionId(net.minecraft.item.ItemStack stack)
getDescriptionId in class net.minecraft.item.Itempublic java.lang.String getTooltipText(net.minecraft.item.ItemStack stack)
getTooltipText in class PixelmonItem@Nullable public net.minecraft.nbt.CompoundNBT getShareTag(net.minecraft.item.ItemStack stack)
Note that this will sometimes be applied multiple times, the following MUST be supported: Item item = stack.getItem(); NBTTagCompound nbtShare1 = item.getNBTShareTag(stack); stack.setTagCompound(nbtShare1); NBTTagCompound nbtShare2 = item.getNBTShareTag(stack); assert nbtShare1.equals(nbtShare2);
stack - The stack to send the NBT tag forpublic java.lang.String type()
@Nullable public static ITechnicalMove getMove(net.minecraft.item.ItemStack stack)
@Nullable public static ITechnicalMove getInstanceOf(net.minecraft.item.ItemStack stack)
public static net.minecraft.item.ItemStack of(TMType type, ITechnicalMove move)
public void fillItemCategory(net.minecraft.item.ItemGroup p_150895_1_,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> items)
fillItemCategory in class PixelmonItem