Class ItemFrameItem

All Implemented Interfaces:
ItemConvertible

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

    • ItemFrameItem

      public ItemFrameItem(EntityType<? extends AbstractDecorationEntity> type, Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcal;<init>(Lbbr;Lcat$a;)V
      intermediary <init> Lnet/minecraft/class_1790;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1792$class_1793;)V
      named <init> Lnet/minecraft/item/DecorationItem;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/item/Item$Settings;)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
      official a Lcal;a(Lbuc;Lgy;Lcax;Lgt;)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
      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