Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
18 lines
455 B
C++
18 lines
455 B
C++
#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);
|
|
};
|