3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/renderer/actor/ActorRenderer.h"
7#include "mc/client/renderer/actor/IconBlitGlint.h"
8#include "mc/client/renderer/actor/ItemRenderChunkType.h"
9#include "mc/deps/minecraft_renderer/renderer/MaterialPtr.h"
44 ::ll::UntypedStorage<4, 12> mUnkcd7850;
45 ::ll::UntypedStorage<4, 4> mUnkf1067b;
46 ::ll::UntypedStorage<4, 4> mUnk5e0da4;
51 GuiItemPopTransform& operator=(GuiItemPopTransform
const&);
52 GuiItemPopTransform(GuiItemPopTransform
const&);
53 GuiItemPopTransform();
61 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockTessellator>> mBlockTessellator;
62 ::ll::TypedStorage<4, 64, float[16]> mRandomFloats;
63 ::ll::TypedStorage<8, 64, ::std::unordered_map<short, ::ItemGraphics>> mItemGraphics;
64 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mUIBlitMaterial;
65 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mUIIconBlitMaterial;
66 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mUIIconBlitMaterialMultiColorTint;
67 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mUIIconUnblitMaterial;
68 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mUIIconBlitGlintMaterial;
69 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mEntityAlphatestChangeColorMaterial;
70 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mEntityAlphatestChangeColorGlintMaterial;
71 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mEntityAlphatestMultiColorTintMaterial;
72 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BannerBlockActor>> mBannerEntity;
73 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DecoratedPotBlockActor>> mDecoratedPotBlockEntity;
74 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SkullBlockActor>> mSkullEntity;
75 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ConduitBlockActor>> mConduitEntity;
76 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ShulkerBoxBlockActor>> mShulkerBoxEntity;
77 ::ll::TypedStorage<1, 1, bool> mSupportsNewVertexFormat;
87 virtual ~ItemRenderer() =
default;
89 virtual void render(::BaseActorRenderContext& renderContext, ::ActorRenderData& entityRenderData) ;
95 MCNAPI
ItemRenderer(::std::shared_ptr<::mce::TextureGroup> textureGroup,
bool supportsNewVertexFormat);
102 float actorFrameAlpha
119 float lightMultiplier,
120 float alphaMultiplier,
122 float const pickupPopPercentage,
132 float const squeezeAmount,
142 bool const useMatrixAsIs
158 float lightMultiplier,
159 float alphaMultiplier,
161 int secondaryColorMultiplier,
164 ::IconBlitGlint
const iconBlitGlint,
165 bool const useMultiColorTextureTinting
168 MCAPI
void renderGuiItemInChunk(
170 ::ItemRenderChunkType itemRenderChunkType,
174 float lightMultiplier,
175 float alphaMultiplier,
180 ::std::optional<::TextureUVCoordinateSet>
const& customIconUVCoords
183 MCAPI
void renderGuiItemNew(
189 bool renderEnchantmentFoil,
191 float lightMultiplier,
204 float actorFrameAlpha
211 MCNAPI
void*
$ctor(::std::shared_ptr<::mce::TextureGroup> textureGroup,
bool supportsNewVertexFormat);
Definition ActorRenderData.h:5
Definition ActorRenderer.h:5
Definition BannerBlockActor.h:21
Definition BaseActorRenderContext.h:5
Definition BlockGraphics.h:5
Definition BlockTessellator.h:5
Definition ConduitBlockActor.h:20
Definition DecoratedPotBlockActor.h:23
Definition ItemActor.h:30
Definition ItemGraphics.h:5
Definition ItemRenderer.h:5
MCAPI void forceGraphicsLoad()
MCAPI void _renderGuiDataDrivenBlockItem(::BaseActorRenderContext &renderContext, ::Block const *block, float x, float y, float scale, float const squeezeAmount, int const zOrder)
static MCAPI void _renderShieldItem(::BaseActorRenderContext &renderContext, ::ItemStack const &item, ::ItemActor &itemEntity, float actorFrameAlpha)
MCAPI ItemRenderer(::std::shared_ptr<::mce::TextureGroup > textureGroup, bool supportsNewVertexFormat)
MCAPI void _renderDecoratedPotItem(::BaseActorRenderContext &renderContext, ::ItemStack const &item, ::ItemActor &itemEntity, bool isItem)
MCAPI void _renderGuiBlockTypeItem(::BaseActorRenderContext &renderContext, ::ItemStack const &item, ::BlockGraphics const *blockGraphics, ::mce::TexturePtr const &texture, float x, float y, float lightMultiplier, float alphaMultiplier, float scale, float const pickupPopPercentage, int const zOrder)
MCAPI void _renderItemGroup(::BaseActorRenderContext &renderContext, ::ItemActor &itemEntity, int itemCount, float scaleValue, float frameAlpha, bool const useMatrixAsIs) const
MCAPI void * $ctor(::std::shared_ptr<::mce::TextureGroup > textureGroup, bool supportsNewVertexFormat)
MCAPI::ItemGraphics & getGraphics(::ItemStack const &item)
MCAPI void _renderBannerItem(::BaseActorRenderContext &renderContext, ::ItemStack const &item, ::ItemActor &itemEntity, bool isItem, float actorFrameAlpha)
Definition ItemStack.h:26
Definition ShulkerBoxBlockActor.h:24
Definition SkullBlockActor.h:19
Definition TextureGroup.h:7
Definition TexturePtr.h:7
Definition TextureUVCoordinateSet.h:5