Class ItemFrameItem

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class ItemFrameItem extends DecorationItem
Mappings:
Namespace Name
named net/minecraft/item/ItemFrameItem
intermediary net/minecraft/class_1795
official cxn
  • Constructor Details

    • ItemFrameItem

      public ItemFrameItem(EntityType<? extends AbstractDecorationEntity> type, Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/item/DecorationItem;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/item/Item$Settings;)V
      intermediary <init> Lnet/minecraft/class_1790;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1792$class_1793;)V
      official <init> Lcxc;<init>(Lbvq;Lcxk$a;)V
  • Method Details

    • canPlaceOn

      protected boolean canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos)
      Overrides:
      canPlaceOn in class DecorationItem
      Mappings:
      Namespace Name Mixin selector
      named canPlaceOn Lnet/minecraft/item/DecorationItem;canPlaceOn(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Direction;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_7834 Lnet/minecraft/class_1790;method_7834(Lnet/minecraft/class_1657;Lnet/minecraft/class_2350;Lnet/minecraft/class_1799;Lnet/minecraft/class_2338;)Z
      official a Lcxc;a(Lcpw;Ljm;Lcxo;Ljh;)Z