Package net.minecraft.item
Class EndCrystalItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.EndCrystalItem
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official askintermediary net/minecraft/class_2685named net/minecraft/item/EndCrystalItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings -
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, BLOCK_ITEMS, itemGroup, RANDOM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.useOnBlock(ItemUsageContext itemUsageContext) Methods inherited from class net.minecraft.item.Item
addProperty, appendToItemGroup, appendTooltips, beforeBlockBreak, byRawId, canAddTo, canRepair, computeTranslationKey, fromBlock, getBlockBreakingSpeed, getDefaultStack, getEnchantability, getItem, getItemGroup, getMaxCount, getMaxDamage, getMaxUseTime, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasProperties, inventoryTick, isDamageable, isEnchantable, isFood, isNetworkSynced, method_13649, method_16075, method_16080, method_3346, method_3353, method_3356, method_3359, method_3367, method_3383, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setup, shouldSyncNbtToClient
-
Constructor Details
-
EndCrystalItem
- Mappings:
Namespace Name Mixin selector official <init>Lata;<init>(Lata$a;)Vintermediary <init>Lnet/minecraft/class_1069;<init>(Lnet/minecraft/class_1069$class_3555;)Vnamed <init>Lnet/minecraft/item/Item;<init>(Lnet/minecraft/item/Item$Settings;)V
-
-
Method Details
-
useOnBlock
- Overrides:
useOnBlockin classItem- Mappings:
Namespace Name Mixin selector official aLata;a(Laup;)Ladm;intermediary method_16071Lnet/minecraft/class_1069;method_16071(Lnet/minecraft/class_3565;)Lnet/minecraft/class_2962;named useOnBlockLnet/minecraft/item/Item;useOnBlock(Lnet/minecraft/item/ItemUsageContext;)Lnet/minecraft/util/ActionResult;
-
hasEnchantmentGlint
Returns whether the current item has an enchantment glint. Used by enchanted golden apples and enchanted items.- Overrides:
hasEnchantmentGlintin classItem- See Also:
-
net.minecraft.item.GoldenAppleItem
- Mappings:
Namespace Name Mixin selector official bLata;b(Late;)Zintermediary method_3374Lnet/minecraft/class_1069;method_3374(Lnet/minecraft/class_1071;)Znamed hasEnchantmentGlintLnet/minecraft/item/Item;hasEnchantmentGlint(Lnet/minecraft/item/ItemStack;)Z
-