Package net.minecraft
Class class_3547
java.lang.Object
net.minecraft.item.Item
net.minecraft.class_3547
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official arzintermediary net/minecraft/class_3547named net/minecraft/class_3547
-
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 TypeMethodDescriptionbooleanbeforeBlockBreak(BlockState state, World world, BlockPos pos, PlayerEntity player) booleanhasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.private voidmethod_16035(PlayerEntity playerEntity, BlockState blockState, IWorld iWorld, BlockPos blockPos, boolean bool, ItemStack itemStack) private static voidmethod_16036(PlayerEntity playerEntity, Text text) private static <T extends Comparable<T>>
Stringmethod_16037(BlockState blockState, Property<T> property) private static <T extends Comparable<T>>
BlockStatemethod_16038(BlockState blockState, Property<T> property, boolean bool) private static <T> Tmethod_16039(Iterable<T> iterable, T t, boolean bool) useOnBlock(ItemUsageContext itemUsageContext) Methods inherited from class net.minecraft.item.Item
addProperty, appendToItemGroup, appendTooltips, 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
-
class_3547
- 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
-
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
-
beforeBlockBreak
- Overrides:
beforeBlockBreakin classItem- Mappings:
Namespace Name Mixin selector official aLata;a(Lblc;Laxy;Lel;Laog;)Zintermediary method_16073Lnet/minecraft/class_1069;method_16073(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;)Znamed beforeBlockBreakLnet/minecraft/item/Item;beforeBlockBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)Z
-
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;
-
method_16035
private void method_16035(PlayerEntity playerEntity, BlockState blockState, IWorld iWorld, BlockPos blockPos, boolean bool, ItemStack itemStack) - Mappings:
Namespace Name Mixin selector official aLarz;a(Laog;Lblc;Laxz;Lel;ZLate;)Vintermediary method_16035Lnet/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;)Vnamed method_16035Lnet/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 aLarz;a(Lblc;Lbmm;Z)Lblc;intermediary method_16038Lnet/minecraft/class_3547;method_16038(Lnet/minecraft/class_2232;Lnet/minecraft/class_2247;Z)Lnet/minecraft/class_2232;named method_16038Lnet/minecraft/class_3547;method_16038(Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/Property;Z)Lnet/minecraft/block/BlockState;
-
method_16039
- Mappings:
Namespace Name Mixin selector official aLarz;a(Ljava/lang/Iterable;Ljava/lang/Object;Z)Ljava/lang/Object;intermediary method_16039Lnet/minecraft/class_3547;method_16039(Ljava/lang/Iterable;Ljava/lang/Object;Z)Ljava/lang/Object;named method_16039Lnet/minecraft/class_3547;method_16039(Ljava/lang/Iterable;Ljava/lang/Object;Z)Ljava/lang/Object;
-
method_16036
- Mappings:
Namespace Name Mixin selector official aLarz;a(Laog;Lij;)Vintermediary method_16036Lnet/minecraft/class_3547;method_16036(Lnet/minecraft/class_988;Lnet/minecraft/class_1982;)Vnamed method_16036Lnet/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 aLarz;a(Lblc;Lbmm;)Ljava/lang/String;intermediary method_16037Lnet/minecraft/class_3547;method_16037(Lnet/minecraft/class_2232;Lnet/minecraft/class_2247;)Ljava/lang/String;named method_16037Lnet/minecraft/class_3547;method_16037(Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/Property;)Ljava/lang/String;
-