Class WallHangableItem

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

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

    • decorationClass

      private final Class<? extends AbstractDecorationEntity> decorationClass
      Mappings:
      Namespace Name Mixin selector
      official a Laff;a:Ljava/lang/Class;
      intermediary field_5429 Lnet/minecraft/class_1431;field_5429:Ljava/lang/Class;
      named decorationClass Lnet/minecraft/item/WallHangableItem;decorationClass:Ljava/lang/Class;
  • Constructor Details

    • WallHangableItem

      public WallHangableItem(Class<? extends AbstractDecorationEntity> clazz)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laff;<init>(Ljava/lang/Class;)V
      intermediary <init> Lnet/minecraft/class_1431;<init>(Ljava/lang/Class;)V
      named <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:
      use in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Laay;Lajs;Lco;Lri;Lcv;FFF)Lrk;
      intermediary method_3355 Lnet/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 use Lnet/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

      @Nullable private AbstractDecorationEntity createEntity(World world, BlockPos pos, Direction dir)
      Mappings:
      Namespace Name Mixin selector
      official a Laff;a(Lajs;Lco;Lcv;)Lyy;
      intermediary method_11282 Lnet/minecraft/class_1431;method_11282(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_1396;
      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/AbstractDecorationEntity;