Interface ItemFrameEntityKJS

All Superinterfaces:
EntityKJS, MessageSenderKJS, ScriptTypeHolder, WithPersistentData
All Known Implementing Classes:
ItemFrameEntityMixin

@RemapPrefixForJS("kjs$") public interface ItemFrameEntityKJS extends EntityKJS
  • Method Details

    • kjs$self

      @HideFromJS default net.minecraft.world.entity.decoration.ItemFrame kjs$self()
      Specified by:
      kjs$self in interface EntityKJS
    • kjs$isFrame

      @ThisIs(net.minecraft.world.entity.decoration.ItemFrame.class) @Info("Checks if the entity is an item frame entity.") default boolean kjs$isFrame()
      Specified by:
      kjs$isFrame in interface EntityKJS
    • kjs$getItem

      @Nullable @Info("Gets the item stack corresponding to the item in the item frame.\nWill be `null` if the contained stack is empty.\n") default @Nullable net.minecraft.world.item.ItemStack kjs$getItem()
      Specified by:
      kjs$getItem in interface EntityKJS