3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/application/AppPlatformListener.h"
7#include "mc/deps/core/math/Vec3.h"
8#include "mc/deps/core/string/HashedString.h"
9#include "mc/deps/minecraft_renderer/renderer/MaterialVariants.h"
10#include "mc/world/phys/AABB.h"
35 ::ll::TypedStorage<4, 12, ::Vec3> mLeashOffset;
36 ::ll::TypedStorage<4, 4, float> mAttackTime;
37 ::ll::TypedStorage<1, 1, bool> mYoung;
38 ::ll::TypedStorage<1, 1, bool> mRiding;
39 ::ll::TypedStorage<8, 24, ::std::vector<::ModelPart*>> mAllParts;
40 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::HashedString>> mParticleEffectsMap;
41 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::ModelPartLocator>> mLocators;
42 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::std::shared_ptr<::RenderController>, ::ExpressionNode>>>
44 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::DataDrivenGeometry>>> mGeometries;
45 ::ll::TypedStorage<8, 8, uint64> mQueryableGeometryIndex;
46 ::ll::TypedStorage<4, 24, ::AABB> mAABB;
47 ::ll::TypedStorage<8, 32, ::MaterialVariants> mMaterialVariants;
57 virtual void onAppSuspended() ;
59 virtual void preDraw(::ScreenContext&);
61 virtual void postDraw(::ScreenContext&);
63 virtual void render(::ScreenContext& screenContext);
66 ::ScreenContext& screenContext,
76 virtual void render(::BaseActorRenderContext&);
79 render(::BaseActorRenderContext& baseActorRenderContext, ::Actor&,
float,
float,
float,
float,
float,
float);
81 virtual void setupAnim(
float time,
float r,
float bob,
float yRot,
float xRot,
float scale);
83 virtual void setupAnim();
85 virtual void prepareMobModel(::Mob&,
float,
float,
float);
87 virtual float getHeightAdjustment()
const;
89 virtual ::AABB buildAABB()
const;
97 MCAPI
void assignPartToGroup(
99 bool forceToUniqueGroup,
100 int skinnedMeshGroupIdentifier,
101 ::DataDrivenGeometry* owningGeometry
104 MCAPI
void dataDrivenDraw(
105 ::RenderParams& renderParams,
106 ::dragon::RenderMetadata
const& renderMetadata,
107 ::gsl::not_null<::RenderController const*> renderController,
108 ::DataDrivenGeometry& geo,
109 ::ClientPBRTextureData
const& textureData,
110 ::std::optional<::MERSUniformData>
const& mersUniforms
114 ::ScreenContext& screenContext,
115 ::dragon::RenderMetadata
const& renderMetadata,
116 ::mce::ClientTexture
const& texture
120 ::ScreenContext& screenContext,
121 ::dragon::RenderMetadata
const& renderMetadata,
122 ::ActorTextureInfo
const& textureInfo
126 ::ScreenContext& screenContext,
127 ::dragon::RenderMetadata
const& renderMetadata,
128 ::ClientPBRTextureData
const& textureData,
129 ::std::optional<::MERSUniformData>
const& mersUniforms
133 ::ScreenContext& screenContext,
134 ::dragon::RenderMetadata
const& renderMetadata,
135 ::ClientPBRTextureData
const& textureData,
136 ::MaterialVariants
const& useMaterialVariant,
137 ::std::optional<::MERSUniformData>
const& mersUniforms
140 MCAPI ::AABB getAABB()
const;
142 MCFOLD ::std::vector<::std::shared_ptr<::DataDrivenGeometry>>
const& getGeometries()
const;
144 MCFOLD ::Vec3 getLeashOffsetPosition()
const;
146 MCFOLD ::std::vector<::std::pair<::std::shared_ptr<::RenderController>, ::ExpressionNode>>& getRenderControllers();
148 MCAPI
bool hasBone(::HashedString
const& boneName)
const;
150 MCAPI
void prepareSkinning();
152 MCAPI
void registerParts(::ModelPart& part);
172 MCAPI
void $onAppSuspended();
174 MCFOLD
void $preDraw(::ScreenContext&);
176 MCFOLD
void $postDraw(::ScreenContext&);
178 MCFOLD
void $render(::ScreenContext& screenContext);
181 ::ScreenContext& screenContext,
191 MCFOLD
void $render(::BaseActorRenderContext&);
194 $render(::BaseActorRenderContext& baseActorRenderContext, ::Actor&,
float,
float,
float,
float,
float,
float);
196 MCFOLD
void $setupAnim(
float time,
float r,
float bob,
float yRot,
float xRot,
float scale);
198 MCFOLD
void $setupAnim();
200 MCFOLD
void $prepareMobModel(::Mob&,
float,
float,
float);
202 MCAPI
float $getHeightAdjustment()
const;
204 MCAPI ::AABB $buildAABB()
const;
Definition BaseActorRenderContext.h:5
Definition ClientPBRTextureData.h:5
Definition DataDrivenGeometry.h:5
Definition ExpressionNode.h:36
Definition ModelPartLocator.h:11
static MCAPI void ** $vftable()
Definition RenderController.h:5
Definition RenderParams.h:30
Definition ScreenContext.h:5
Definition ActorTextureInfo.h:5
Definition ClientTexture.h:7