3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/model/models/Model.h"
7#include "mc/world/actor/animation/AttachableSlotIndex.h"
49 MCNAPI
explicit DataDrivenModel(::std::weak_ptr<::ActorResourceDefinition> definitionWeakPtr);
54 ::ItemStack
const& itemInstance,
55 ::std::shared_ptr<::DataDrivenModel> model,
57 ::RenderParams& renderParams,
58 ::RenderParams& childRenderParams
63 MCNAPI ::std::weak_ptr<::DataDrivenRenderer>
68 MCNAPI
bool hasScript(::HashedString
const& name)
const;
71 ::std::shared_ptr<::DataDrivenRenderer> renderer,
73 ::Vec3
const& modelTranslationWithWorldRotation,
74 ::Vec3
const& cameraTargetPos
77 MCNAPI
void renderAsChild(::RenderParams& renderParams, ::AttachableSlotIndex
const& index);
80 ::ItemStack
const& itemInstance,
81 ::AttachableSlotIndex
const& attachableSlotIndex,
82 ::RenderParams& renderParams,
87 ::ItemStack
const& itemInstance,
88 ::AttachableSlotIndex
const& attachableSlotIndex,
89 ::RenderParams& renderParams,
94 ::ItemStack
const& itemInstance,
95 ::AttachableSlotIndex
const& attachableSlotIndex,
96 ::RenderParams& renderParams,
101 ::ItemStack
const& itemInstance,
102 ::AttachableSlotIndex
const& attachableSlotIndex,
103 ::RenderParams& renderParams,
109 MCNAPI
bool tryExecuteScript(::HashedString
const& scriptName, ::RenderParams& renderParams,
float& result);
116 ::ItemStack
const& itemInstance,
117 ::AttachableSlotIndex
const& attachableSlotIndex,
119 bool lessThanOrEqualToVersion_1_16_210,
133 MCNAPI
void*
$ctor(::std::weak_ptr<::ActorResourceDefinition> definitionWeakPtr);
Definition DataDrivenModel.h:5
MCAPI void render(::std::shared_ptr<::DataDrivenRenderer > renderer, ::ActorRenderData &actorRenderData, ::Vec3 const &modelTranslationWithWorldRotation, ::Vec3 const &cameraTargetPos)
MCAPI DataDrivenModel(::std::weak_ptr<::ActorResourceDefinition > definitionWeakPtr)
static MCAPI bool shouldRenderAttachable(::ItemStack const &itemInstance, ::AttachableSlotIndex const &attachableSlotIndex, bool isFirstPerson, bool lessThanOrEqualToVersion_1_16_210, bool hideArmor)
MCAPI void * $ctor(::std::weak_ptr<::ActorResourceDefinition > definitionWeakPtr)
MCAPI void renderAsChild(::RenderParams &renderParams, ::AttachableSlotIndex const &index)
MCAPI bool tryExecuteScript(::HashedString const &scriptName, ::RenderParams &renderParams, float &result)
MCAPI bool hasScript(::HashedString const &name) const
MCAPI bool _setArmorTrim(::ItemStack const &itemInstance, ::std::shared_ptr<::DataDrivenModel > model, ::Actor &actor, ::RenderParams &renderParams, ::RenderParams &childRenderParams)
MCAPI void setupAttachableNoChecks(::ItemStack const &itemInstance, ::AttachableSlotIndex const &attachableSlotIndex, ::RenderParams &renderParams, ::Actor &actor, bool isFirstPerson, bool runParentSetup)
MCAPI void renderAttachable(::ItemStack const &itemInstance, ::AttachableSlotIndex const &attachableSlotIndex, ::RenderParams &renderParams, ::Actor &actor)
MCAPI ::std::weak_ptr<::DataDrivenRenderer > getDataDrivenRenderer(::RenderParams &renderParams, ::ItemStack const &itemInstance)
static MCAPI void ** $vftable()
MCAPI::HashedString _parseRootSkinName(::HashedString const &skinName)
MCAPI::ExpressionNode getCopyOfScript_defaultIfNone(::HashedString const &name) const
MCAPI void renderAttachableNoChecks(::ItemStack const &itemInstance, ::AttachableSlotIndex const &attachableSlotIndex, ::RenderParams &renderParams, ::Actor &actor)
MCAPI::std::string getResourceDefinitionName() const
MCAPI void setupAttachable(::ItemStack const &itemInstance, ::AttachableSlotIndex const &attachableSlotIndex, ::RenderParams &renderParams, ::Actor &actor)
static MCAPI ::GameVersion & Version_1_16_210()
Definition DataDrivenRenderer.h:5
Definition ActorRenderData.h:5
Definition ActorResourceDefinition.h:5