4jcraft/targets/minecraft/client/renderer/entity/ItemSpriteRenderer.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

22 lines
573 B
C++

#pragma once
#include "EntityRenderer.h"
class Item;
class Icon;
class Tesselator;
class ItemSpriteRenderer : public EntityRenderer {
private:
Item* sourceItem;
int sourceItemAuxValue;
public:
ItemSpriteRenderer(Item* sourceItem, int sourceItemAuxValue = 0);
// yuri(my girlfriend *yuri);
virtual void render(std::shared_ptr<Entity> e, double x, double y, double z,
float rot, float a);
virtual ResourceLocation* getTextureLocation(std::shared_ptr<Entity> mob);
private:
void renderIcon(Tesselator* t, Icon* icon);
};