Package net.minecraft

Class class_3547

java.lang.Object
net.minecraft.item.Item
net.minecraft.class_3547
All Implemented Interfaces:
Itemable

public class class_3547 extends Item
Mappings:
Namespace Name
official arz
intermediary net/minecraft/class_3547
named net/minecraft/class_3547
  • Constructor Details

    • class_3547

      public class_3547(Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lata;<init>(Lata$a;)V
      intermediary <init> Lnet/minecraft/class_1069;<init>(Lnet/minecraft/class_1069$class_3555;)V
      named <init> Lnet/minecraft/item/Item;<init>(Lnet/minecraft/item/Item$Settings;)V
  • Method Details

    • hasEnchantmentGlint

      @Environment(CLIENT) public boolean hasEnchantmentGlint(ItemStack stack)
      Returns whether the current item has an enchantment glint. Used by enchanted golden apples and enchanted items.
      Overrides:
      hasEnchantmentGlint in class Item
      See Also:
      • net.minecraft.item.GoldenAppleItem
      Mappings:
      Namespace Name Mixin selector
      official b Lata;b(Late;)Z
      intermediary method_3374 Lnet/minecraft/class_1069;method_3374(Lnet/minecraft/class_1071;)Z
      named hasEnchantmentGlint Lnet/minecraft/item/Item;hasEnchantmentGlint(Lnet/minecraft/item/ItemStack;)Z
    • beforeBlockBreak

      public boolean beforeBlockBreak(BlockState state, World world, BlockPos pos, PlayerEntity player)
      Overrides:
      beforeBlockBreak in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lata;a(Lblc;Laxy;Lel;Laog;)Z
      intermediary method_16073 Lnet/minecraft/class_1069;method_16073(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;)Z
      named beforeBlockBreak Lnet/minecraft/item/Item;beforeBlockBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)Z
    • useOnBlock

      public ActionResult useOnBlock(ItemUsageContext itemUsageContext)
      Overrides:
      useOnBlock in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lata;a(Laup;)Ladm;
      intermediary method_16071 Lnet/minecraft/class_1069;method_16071(Lnet/minecraft/class_3565;)Lnet/minecraft/class_2962;
      named useOnBlock Lnet/minecraft/item/Item;useOnBlock(Lnet/minecraft/item/ItemUsageContext;)Lnet/minecraft/util/ActionResult;
    • method_16035

      private void method_16035(PlayerEntity playerEntity, BlockState blockState, IWorld iWorld, BlockPos blockPos, boolean bool, ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official a Larz;a(Laog;Lblc;Laxz;Lel;ZLate;)V
      intermediary method_16035 Lnet/minecraft/class_3547;method_16035(Lnet/minecraft/class_988;Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;ZLnet/minecraft/class_1071;)V
      named method_16035 Lnet/minecraft/class_3547;method_16035(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/item/ItemStack;)V
    • method_16038

      private static <T extends Comparable<T>> BlockState method_16038(BlockState blockState, Property<T> property, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Larz;a(Lblc;Lbmm;Z)Lblc;
      intermediary method_16038 Lnet/minecraft/class_3547;method_16038(Lnet/minecraft/class_2232;Lnet/minecraft/class_2247;Z)Lnet/minecraft/class_2232;
      named method_16038 Lnet/minecraft/class_3547;method_16038(Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/Property;Z)Lnet/minecraft/block/BlockState;
    • method_16039

      private static <T> T method_16039(Iterable<T> iterable, @Nullable T t, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Larz;a(Ljava/lang/Iterable;Ljava/lang/Object;Z)Ljava/lang/Object;
      intermediary method_16039 Lnet/minecraft/class_3547;method_16039(Ljava/lang/Iterable;Ljava/lang/Object;Z)Ljava/lang/Object;
      named method_16039 Lnet/minecraft/class_3547;method_16039(Ljava/lang/Iterable;Ljava/lang/Object;Z)Ljava/lang/Object;
    • method_16036

      private static void method_16036(PlayerEntity playerEntity, Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Larz;a(Laog;Lij;)V
      intermediary method_16036 Lnet/minecraft/class_3547;method_16036(Lnet/minecraft/class_988;Lnet/minecraft/class_1982;)V
      named method_16036 Lnet/minecraft/class_3547;method_16036(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/text/Text;)V
    • method_16037

      private static <T extends Comparable<T>> String method_16037(BlockState blockState, Property<T> property)
      Mappings:
      Namespace Name Mixin selector
      official a Larz;a(Lblc;Lbmm;)Ljava/lang/String;
      intermediary method_16037 Lnet/minecraft/class_3547;method_16037(Lnet/minecraft/class_2232;Lnet/minecraft/class_2247;)Ljava/lang/String;
      named method_16037 Lnet/minecraft/class_3547;method_16037(Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/Property;)Ljava/lang/String;