public class UIElementItem extends PixelmonItem
Modifier and Type | Class and Description |
---|---|
static class |
UIElementItem.Builder |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
A |
static java.lang.String |
B |
static java.lang.String |
G |
static java.lang.String |
HA |
static java.lang.String |
HB |
static java.lang.String |
HG |
static java.lang.String |
HOVER |
static java.lang.String |
HOVER_TEXT |
static java.lang.String |
HR |
static java.lang.String |
IMAGE |
static java.lang.String |
IMAGE_HEIGHT |
static java.lang.String |
IMAGE_U |
static java.lang.String |
IMAGE_V |
static java.lang.String |
IMAGE_WIDTH |
static java.lang.String |
R |
static java.lang.String |
ROTATION |
static java.lang.String |
SCALE_X |
static java.lang.String |
SCALE_Y |
static java.lang.String |
TEXT |
static java.lang.String |
TEXT_JUSTIFICATION |
static java.lang.String |
TEXT_SCALE |
static java.lang.String |
X_OFFSET |
static java.lang.String |
X_OVERRIDE |
static java.lang.String |
Y_OFFSET |
static java.lang.String |
Y_OVERRIDE |
static java.lang.String |
Z_LEVEL |
Constructor and Description |
---|
UIElementItem() |
Modifier and Type | Method and Description |
---|---|
static UIElementItem.Builder |
builder() |
static UIElementItem.Builder |
builder(net.minecraft.item.ItemStack stack) |
static java.util.Optional<float[]> |
getColor(net.minecraft.item.ItemStack stack) |
static java.util.Optional<float[]> |
getColor(net.minecraft.item.ItemStack stack,
boolean hover) |
static java.util.Optional<float[]> |
getHoverColor(net.minecraft.item.ItemStack stack) |
static java.util.Optional<net.minecraft.util.ResourceLocation> |
getHoverImage(net.minecraft.item.ItemStack stack) |
static java.util.Optional<java.lang.String> |
getHoverText(net.minecraft.item.ItemStack stack) |
static java.util.Optional<net.minecraft.util.ResourceLocation> |
getImage(net.minecraft.item.ItemStack stack) |
static java.util.Optional<net.minecraft.util.ResourceLocation> |
getImage(net.minecraft.item.ItemStack stack,
boolean hover) |
static java.util.Optional<java.lang.Integer> |
getImageHeight(net.minecraft.item.ItemStack stack) |
static java.util.Optional<java.lang.Float> |
getImageU(net.minecraft.item.ItemStack stack) |
static java.util.Optional<java.lang.Float> |
getImageV(net.minecraft.item.ItemStack stack) |
static java.util.Optional<java.lang.Integer> |
getImageWidth(net.minecraft.item.ItemStack stack) |
static float |
getRotation(net.minecraft.item.ItemStack stack) |
static float[] |
getScale(net.minecraft.item.ItemStack stack) |
static java.util.Optional<java.lang.String> |
getText(net.minecraft.item.ItemStack stack) |
static java.util.Optional<java.lang.String> |
getText(net.minecraft.item.ItemStack stack,
boolean hover) |
static TextJustification |
getTextJustification(net.minecraft.item.ItemStack stack) |
static short |
getTextScale(net.minecraft.item.ItemStack stack) |
static java.util.Optional<java.lang.Integer> |
getXOffset(net.minecraft.item.ItemStack stack) |
static java.util.Optional<java.lang.Integer> |
getXOverride(net.minecraft.item.ItemStack stack) |
static java.util.Optional<java.lang.Integer> |
getYOffset(net.minecraft.item.ItemStack stack) |
static java.util.Optional<java.lang.Integer> |
getYOverride(net.minecraft.item.ItemStack stack) |
static java.util.Optional<java.lang.Integer> |
getZLevel(net.minecraft.item.ItemStack stack) |
appendHoverText, causeTempt, fillItemCategory, getLocalizedName, getTooltipText, getTooltipText, getUseAnimation, hideFromSearches, isBookEnchantable, isDrink, isEdible, isEnchantable, 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 static final java.lang.String IMAGE
public static final java.lang.String HOVER
public static final java.lang.String TEXT
public static final java.lang.String HOVER_TEXT
public static final java.lang.String TEXT_JUSTIFICATION
public static final java.lang.String TEXT_SCALE
public static final java.lang.String X_OFFSET
public static final java.lang.String Y_OFFSET
public static final java.lang.String X_OVERRIDE
public static final java.lang.String Y_OVERRIDE
public static final java.lang.String Z_LEVEL
public static final java.lang.String IMAGE_WIDTH
public static final java.lang.String IMAGE_HEIGHT
public static final java.lang.String IMAGE_U
public static final java.lang.String IMAGE_V
public static final java.lang.String SCALE_X
public static final java.lang.String SCALE_Y
public static final java.lang.String ROTATION
public static final java.lang.String R
public static final java.lang.String G
public static final java.lang.String B
public static final java.lang.String A
public static final java.lang.String HR
public static final java.lang.String HG
public static final java.lang.String HB
public static final java.lang.String HA
public static UIElementItem.Builder builder()
public static UIElementItem.Builder builder(net.minecraft.item.ItemStack stack)
public static java.util.Optional<net.minecraft.util.ResourceLocation> getImage(net.minecraft.item.ItemStack stack, boolean hover)
public static java.util.Optional<net.minecraft.util.ResourceLocation> getImage(net.minecraft.item.ItemStack stack)
public static java.util.Optional<net.minecraft.util.ResourceLocation> getHoverImage(net.minecraft.item.ItemStack stack)
public static java.util.Optional<java.lang.Integer> getXOffset(net.minecraft.item.ItemStack stack)
public static java.util.Optional<java.lang.Integer> getYOffset(net.minecraft.item.ItemStack stack)
public static java.util.Optional<java.lang.Integer> getXOverride(net.minecraft.item.ItemStack stack)
public static java.util.Optional<java.lang.Integer> getYOverride(net.minecraft.item.ItemStack stack)
public static java.util.Optional<java.lang.Integer> getZLevel(net.minecraft.item.ItemStack stack)
public static java.util.Optional<java.lang.Integer> getImageWidth(net.minecraft.item.ItemStack stack)
public static java.util.Optional<java.lang.Integer> getImageHeight(net.minecraft.item.ItemStack stack)
public static java.util.Optional<java.lang.Float> getImageU(net.minecraft.item.ItemStack stack)
public static java.util.Optional<java.lang.Float> getImageV(net.minecraft.item.ItemStack stack)
public static java.util.Optional<float[]> getColor(net.minecraft.item.ItemStack stack, boolean hover)
public static java.util.Optional<float[]> getColor(net.minecraft.item.ItemStack stack)
public static java.util.Optional<float[]> getHoverColor(net.minecraft.item.ItemStack stack)
public static java.util.Optional<java.lang.String> getText(net.minecraft.item.ItemStack stack)
public static java.util.Optional<java.lang.String> getHoverText(net.minecraft.item.ItemStack stack)
public static java.util.Optional<java.lang.String> getText(net.minecraft.item.ItemStack stack, boolean hover)
public static TextJustification getTextJustification(net.minecraft.item.ItemStack stack)
public static short getTextScale(net.minecraft.item.ItemStack stack)
public static float[] getScale(net.minecraft.item.ItemStack stack)
public static float getRotation(net.minecraft.item.ItemStack stack)