Class NetherStarItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.NetherStarItem
All Implemented Interfaces:
ItemConvertible

public class NetherStarItem
extends Item
Mappings:
Namespace Name
official bot
intermediary net/minecraft/class_1824
named net/minecraft/item/NetherStarItem
  • Constructor Details

    • NetherStarItem

      public NetherStarItem​(Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbnr;<init>(Lbnr$a;)V
      intermediary <init> Lnet/minecraft/class_1792;<init>(Lnet/minecraft/class_1792$class_1793;)V
      named <init> Lnet/minecraft/item/Item;<init>(Lnet/minecraft/item/Item$Settings;)V
  • Method Details

    • hasGlint

      public boolean hasGlint​(ItemStack stack)
      Checks if the glint effect should be applied when the item is rendered.

      By default, returns true if the item has enchantments.

      Overrides:
      hasGlint in class Item
      Mappings:
      Namespace Name Mixin selector
      official i Lbnr;i(Lbnv;)Z
      intermediary method_7886 Lnet/minecraft/class_1792;method_7886(Lnet/minecraft/class_1799;)Z
      named hasGlint Lnet/minecraft/item/Item;hasGlint(Lnet/minecraft/item/ItemStack;)Z