Package net.minecraft.item
Class WallHangableItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.WallHangableItem
- Mappings:
Namespace Name official affintermediary 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, ATTACK_SPEED_MODIFIER, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate AbstractDecorationEntitycreateEntity(World world, BlockPos pos, Direction dir) Methods inherited from class net.minecraft.item.Item
addProperty, appendTooltip, byRawId, canRepair, fromBlock, getBlockBreakingSpeed, getDefaultStack, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasProperties, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, method_13648, method_13649, method_3346, method_3353, method_3356, method_3359, method_3367, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
decorationClass
- Mappings:
Namespace Name Mixin selector official aLaff;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>Laff;<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 ActionResult use(PlayerEntity player, World world, BlockPos pos, Hand hand, Direction direction, float x, float y, float z) - Overrides:
usein classItem- Mappings:
Namespace Name Mixin selector official aLafh;a(Laay;Lajs;Lco;Lri;Lcv;FFF)Lrk;intermediary method_3355Lnet/minecraft/class_1069;method_3355(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Lnet/minecraft/class_2962;named useLnet/minecraft/item/Item;use(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Lnet/minecraft/util/ActionResult;
-
createEntity
- Mappings:
Namespace Name Mixin selector official aLaff;a(Lajs;Lco;Lcv;)Lyy;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;
-