Class WallHangableItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.WallHangableItem

public class WallHangableItem
extends Item
Mappings:
Namespace Name
official zu
intermediary net/minecraft/class_2052
named net/minecraft/item/WallHangableItem
  • Field Details

    • decorationClass

      private final Class<? extends DecorationEntity> decorationClass
      Mappings:
      Namespace Name Mixin selector
      official a Lzu;a:Ljava/lang/Class;
      intermediary field_8626 Lnet/minecraft/class_2052;field_8626:Ljava/lang/Class;
      named decorationClass Lnet/minecraft/item/WallHangableItem;decorationClass:Ljava/lang/Class;
  • Constructor Details

    • WallHangableItem

      public WallHangableItem​(Class<? extends DecorationEntity> clazz)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzu;<init>(Ljava/lang/Class;)V
      intermediary <init> Lnet/minecraft/class_2052;<init>(Ljava/lang/Class;)V
      named <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:
      use in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lzw;a(Lzx;Lwn;Ladm;Lcj;Lcq;FFF)Z
      intermediary method_8264 Lnet/minecraft/class_2054;method_8264(Lnet/minecraft/class_2056;Lnet/minecraft/class_1963;Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;FFF)Z
      named use Lnet/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

      private DecorationEntity createEntity​(World world, BlockPos pos, Direction dir)
      Mappings:
      Namespace Name Mixin selector
      official a Lzu;a(Ladm;Lcj;Lcq;)Lun;
      intermediary method_8243 Lnet/minecraft/class_2052;method_8243(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;)Lnet/minecraft/class_1882;
      named createEntity Lnet/minecraft/item/WallHangableItem;createEntity(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/entity/decoration/DecorationEntity;