4jcraft/targets/minecraft/client/renderer/entity/ItemFrameRenderer.h
JuiceyDev b3017f5948
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
Revert "yuri: second yuri batch"
This reverts commit 1acb679804.
2026-04-07 13:06:37 +02:00

24 lines
581 B
C++

#pragma once
#include <memory>
#include "EntityRenderer.h"
class Icon;
class ItemFrame;
class ResourceLocation;
class ItemFrameRenderer : public EntityRenderer {
private:
static ResourceLocation MAP_BACKGROUND_LOCATION;
Icon* backTexture;
public:
void registerTerrainTextures(IconRegister* iconRegister);
virtual void render(std::shared_ptr<Entity> _itemframe, double x, double y,
double z, float rot, float a);
private:
void drawFrame(std::shared_ptr<ItemFrame> itemFrame);
void drawItem(std::shared_ptr<ItemFrame> entity);
};