Package net.minecraft.item
Class WallHangableItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.WallHangableItem
- Mappings:
Namespace Name official zuintermediary net/minecraft/class_1431named net/minecraft/item/WallHangableItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
FieldsFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate AbstractDecorationEntitycreateEntity(World world, BlockPos pos, Direction dir) booleanMethods inherited from class net.minecraft.item.Item
appendItemStacks, appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayColor, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, onBlockBroken, onCraft, onEntityHit, onFinishUse, onHit, onStartUse, onUseStopped, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
decorationClass
- Mappings:
Namespace Name Mixin selector official aLzu;a:Ljava/lang/Class;intermediary field_5429Lnet/minecraft/class_1431;field_5429:Ljava/lang/Class;named decorationClassLnet/minecraft/item/WallHangableItem;decorationClass:Ljava/lang/Class;
-
-
Constructor Details
-
WallHangableItem
- Mappings:
Namespace Name Mixin selector official <init>Lzu;<init>(Ljava/lang/Class;)Vintermediary <init>Lnet/minecraft/class_1431;<init>(Ljava/lang/Class;)Vnamed <init>Lnet/minecraft/item/WallHangableItem;<init>(Ljava/lang/Class;)V
-
-
Method Details
-
use
public boolean use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) - Overrides:
usein classItem- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;Lwn;Ladm;Lcj;Lcq;FFF)Zintermediary method_3355Lnet/minecraft/class_1069;method_3355(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;FFF)Znamed useLnet/minecraft/item/Item;use(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;FFF)Z
-
createEntity
- Mappings:
Namespace Name Mixin selector official aLzu;a(Ladm;Lcj;Lcq;)Lun;intermediary method_11282Lnet/minecraft/class_1431;method_11282(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_1396;named createEntityLnet/minecraft/item/WallHangableItem;createEntity(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/entity/decoration/AbstractDecorationEntity;
-