Class FlugelTiaraItem

java.lang.Object
net.minecraft.world.item.Item
vazkii.botania.common.item.equipment.bauble.BaubleItem
vazkii.botania.common.item.equipment.bauble.FlugelTiaraItem
All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, CosmeticAttachable, PhantomInkable, CustomCreativeTabContents

public class FlugelTiaraItem extends BaubleItem implements CustomCreativeTabContents
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class net.minecraft.world.item.Item

    net.minecraft.world.item.Item.Properties, net.minecraft.world.item.Item.TooltipContext
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
     
    static final int
     

    Fields inherited from class net.minecraft.world.item.Item

    ABSOLUTE_MAX_STACK_SIZE, BASE_ATTACK_DAMAGE_ID, BASE_ATTACK_SPEED_ID, BY_BLOCK, DEFAULT_MAX_STACK_SIZE, MAX_BAR_WIDTH

    Fields inherited from interface net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • Constructor Summary

    Constructors
    Constructor
    Description
    FlugelTiaraItem(net.minecraft.world.item.Item.Properties props)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addToCreativeTab(net.minecraft.world.item.Item me, net.minecraft.world.item.CreativeModeTab.Output output)
    Add this item and any variants to the creative tab
    void
    appendHoverText(net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.Item.TooltipContext context, List<net.minecraft.network.chat.Component> tooltip, net.minecraft.world.item.TooltipFlag flags)
     
    static int
    getCost(net.minecraft.world.item.ItemStack stack, int timeLeft)
     
    static int
    getMaxFlightTime(net.minecraft.world.item.ItemStack stack)
     
    static int
    getVariant(net.minecraft.world.item.ItemStack stack)
     
    boolean
    hasRender(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.LivingEntity living)
     
    void
    onEquipped(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.LivingEntity living)
     
    void
    onWornTick(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.LivingEntity living)
     
    static void
    playerLoggedOut(net.minecraft.server.level.ServerPlayer player)
     
    static void
    setVariant(net.minecraft.world.item.ItemStack stack, int variant)
     
    static void
    updatePlayerFlyStatus(net.minecraft.world.entity.player.Player player)
     

    Methods inherited from class vazkii.botania.common.item.equipment.bauble.BaubleItem

    canEquip, getBaubleUUID, getCosmeticItem, getEquippedAttributeModifiers, hasPhantomInk, onUnequipped, setCosmeticItem, setPhantomInk

    Methods inherited from class net.minecraft.world.item.Item

    asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canFitInsideContainerItems, components, finishUsingItem, getAttackDamageBonus, getBarColor, getBarWidth, getBreakingSound, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDefaultMaxStackSize, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getId, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEnchantable, isFoil, isValidRepairItem, mineBlock, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, postHurtEnemy, releaseUsing, requiredFeatures, toString, use, useOn, useOnRelease, verifyComponentsAfterLoad

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.world.flag.FeatureElement

    isEnabled
  • Field Details

    • textureHalo

      public static final net.minecraft.resources.ResourceLocation textureHalo
    • WING_TYPES

      public static final int WING_TYPES
      See Also:
  • Constructor Details

    • FlugelTiaraItem

      public FlugelTiaraItem(net.minecraft.world.item.Item.Properties props)
  • Method Details

    • addToCreativeTab

      public void addToCreativeTab(net.minecraft.world.item.Item me, net.minecraft.world.item.CreativeModeTab.Output output)
      Description copied from interface: CustomCreativeTabContents
      Add this item and any variants to the creative tab
      Specified by:
      addToCreativeTab in interface CustomCreativeTabContents
      Parameters:
      me - The item itself, for convenience when implementing this on a Block
    • appendHoverText

      public void appendHoverText(net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.Item.TooltipContext context, List<net.minecraft.network.chat.Component> tooltip, net.minecraft.world.item.TooltipFlag flags)
      Overrides:
      appendHoverText in class BaubleItem
    • getMaxFlightTime

      public static int getMaxFlightTime(net.minecraft.world.item.ItemStack stack)
    • updatePlayerFlyStatus

      public static void updatePlayerFlyStatus(net.minecraft.world.entity.player.Player player)
    • playerLoggedOut

      public static void playerLoggedOut(net.minecraft.server.level.ServerPlayer player)
    • getCost

      public static int getCost(net.minecraft.world.item.ItemStack stack, int timeLeft)
    • onEquipped

      public void onEquipped(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.LivingEntity living)
      Overrides:
      onEquipped in class BaubleItem
    • onWornTick

      public void onWornTick(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.LivingEntity living)
      Overrides:
      onWornTick in class BaubleItem
    • hasRender

      public boolean hasRender(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.LivingEntity living)
      Overrides:
      hasRender in class BaubleItem
    • getVariant

      public static int getVariant(net.minecraft.world.item.ItemStack stack)
    • setVariant

      public static void setVariant(net.minecraft.world.item.ItemStack stack, int variant)