mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftConsoles-141217.git
synced 2026-10-22 13:22:18 +01:00
Initial commit
This commit is contained in:
commit
2dfcaaa842
5375 files changed
+978475
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include "EntityRenderer.h"
|
||||
|
||||
class ItemFrameRenderer : public EntityRenderer
|
||||
{
|
||||
private:
|
||||
static ResourceLocation MAP_BACKGROUND_LOCATION;
|
||||
Icon *backTexture;
|
||||
|
||||
public:
|
||||
void registerTerrainTextures(IconRegister *iconRegister);
|
||||
virtual void render(shared_ptr<Entity> _itemframe, double x, double y, double z, float rot, float a);
|
||||
|
||||
private:
|
||||
void drawFrame(shared_ptr<ItemFrame> itemFrame);
|
||||
void drawItem(shared_ptr<ItemFrame> entity);
|
||||
};
|
||||
Reference in new issue
Block a user