Package net.minecraft.item
Class WallHangableItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.WallHangableItem
- All Implemented Interfaces:
Itemable
- Direct Known Subclasses:
class_3556
- Mappings:
Namespace Name official asyintermediary net/minecraft/class_1431named net/minecraft/item/WallHangableItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings -
Field Summary
FieldsFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, BLOCK_ITEMS, itemGroup, RANDOM -
Constructor Summary
ConstructorsConstructorDescriptionWallHangableItem(Class<? extends AbstractDecorationEntity> class2, Item.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionprivate AbstractDecorationEntitycreateEntity(World world, BlockPos pos, Direction dir) protected booleanmethod_16066(PlayerEntity playerEntity, Direction direction, ItemStack itemStack, BlockPos blockPos) 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, hasEnchantmentGlint, 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
-
Field Details
-
decorationClass
- Mappings:
Namespace Name Mixin selector official aLasy;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
-
-
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;
-
method_16066
protected boolean method_16066(PlayerEntity playerEntity, Direction direction, ItemStack itemStack, BlockPos blockPos) - Mappings:
Namespace Name Mixin selector official aLasy;a(Laog;Leq;Late;Lel;)Zintermediary method_16066Lnet/minecraft/class_1431;method_16066(Lnet/minecraft/class_988;Lnet/minecraft/class_1354;Lnet/minecraft/class_1071;Lnet/minecraft/class_2552;)Znamed method_16066Lnet/minecraft/item/WallHangableItem;method_16066(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Direction;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/BlockPos;)Z
-
createEntity
- Mappings:
Namespace Name Mixin selector official aLasy;a(Laxy;Lel;Leq;)Lama;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;
-