3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/certificates/identity/PlayerAuthenticationType.h"
7#include "mc/client/world/actor/player/ClientLocatorBar.h"
8#include "mc/common/Brightness.h"
9#include "mc/common/SubClientId.h"
10#include "mc/deps/core/math/Vec3.h"
11#include "mc/deps/core/string/HashedString.h"
12#include "mc/deps/core/utility/CrashDumpLogStringID.h"
13#include "mc/deps/core/utility/NonOwnerPointer.h"
14#include "mc/deps/core/utility/pub_sub/Publisher.h"
15#include "mc/deps/core/utility/pub_sub/Subscription.h"
16#include "mc/deps/shared_types/legacy/ContainerType.h"
17#include "mc/deps/shared_types/legacy/EquipmentSlot.h"
18#include "mc/deps/shared_types/legacy/Side.h"
19#include "mc/deps/shared_types/legacy/actor/ArmorSlot.h"
20#include "mc/events/OpenCodeMethod.h"
21#include "mc/network/packet/PlayerRespawnState.h"
22#include "mc/platform/UUID.h"
23#include "mc/world/actor/ActorEvent.h"
24#include "mc/world/actor/ActorInitializationMethod.h"
25#include "mc/world/actor/ActorResetRule.h"
26#include "mc/world/actor/ActorSwingSource.h"
27#include "mc/world/actor/bhave/BehaviorStatus.h"
28#include "mc/world/actor/player/BedSleepingResult.h"
29#include "mc/world/actor/player/Player.h"
30#include "mc/world/inventory/InventoryMenu.h"
31#include "mc/world/inventory/network/TypedClientNetId.h"
32#include "mc/world/item/HandSlot.h"
33#include "mc/world/item/ItemStack.h"
34#include "mc/world/level/BlockPos.h"
35#include "mc/world/level/GameType.h"
36#include "mc/world/level/chunk/NetworkChunkSubscriber.h"
90 LLAPI
void closeContainerScreen(::SharedTypes::Legacy::ContainerType containerType);
107 virtual ~RegionListener() =
default;
109 virtual void onRegionDestroyed() = 0;
117 ::ll::TypedStorage<8, 8, int64> mEmoteButtonDownStartTime;
118 ::ll::TypedStorage<1, 1, bool> mIsExpediateSelectionActive;
125 enum class FallState : uchar {
127 TickCheckAliveTicks = 1,
135 ::ll::TypedStorage<1, 1, ::LocalPlayer::FellFromWorldHeightAchievementTracker::FallState> mState;
136 ::ll::TypedStorage<4, 4, int> mCheckAliveTicks;
137 ::ll::TypedStorage<1, 1, bool> mHasSentAchievement;
145 ::ll::TypedStorage<1, 1, bool> mIsUndergroundCurrentTick;
146 ::ll::TypedStorage<1, 1, bool> mWasUndergroundPreviousTick;
147 ::ll::TypedStorage<1, 1, bool> mForceInitialEventingPropertyUpdate;
148 ::ll::TypedStorage<4, 12, ::BlockPos> mPreviousBlockPos;
149 ::ll::TypedStorage<1, 1, ::Brightness> mPreviousNaturalLightLevel;
157 ::ll::TypedStorage<1, 1, ::SharedTypes::Legacy::ContainerType> mContainerTypeToClose;
158 ::ll::TypedStorage<1, 1, bool> mShouldCloseContainerScreen;
165 ::ll::TypedStorage<8, 112, ::InventoryMenu> mInventoryMenu;
166 ::ll::TypedStorage<4, 4, float> mPortalEffectTime;
167 ::ll::TypedStorage<4, 4, float> mOPortalEffectTime;
168 ::ll::TypedStorage<8, 16, ::LocalPlayer::EmoteExpediateData> mEmoteExpediateData;
169 ::ll::TypedStorage<4, 20, ::LocalPlayer::UndergroundTelemetryHeuristic> mUndergroundTelemetryHeuristic;
170 ::ll::TypedStorage<4, 12, ::LocalPlayer::FellFromWorldHeightAchievementTracker>
171 mFellFromWorldHeightAchievementTracker;
172 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLowMemorySubscription;
173 ::ll::TypedStorage<8, 8, ::IClientInstance&> mClient;
174 ::ll::TypedStorage<4, 4, int> mCanCloseScreenOnHurtAfterTime;
175 ::ll::TypedStorage<4, 12, ::Vec3> mlastFrameDelta;
176 ::ll::TypedStorage<1, 1, bool> mEnablePortalEffect;
177 ::ll::TypedStorage<8, 152, ::ItemStack> mSentOffhandItem;
178 ::ll::TypedStorage<8, 152, ::ItemStack> mSentInventoryItem;
179 ::ll::TypedStorage<4, 4, int> mSentSelectedSlot;
180 ::ll::TypedStorage<1, 2, ::LocalPlayer::ContainerCloseInfo> mContainerCloseInfo;
181 ::ll::TypedStorage<8, 72, ::ClientLocatorBar> mClientLocatorBar;
182 ::ll::TypedStorage<8, 8, uint64> mSessionTickCount;
183 ::ll::TypedStorage<8, 24, ::std::vector<::LocalPlayer::RegionListener*>> mRegionListeners;
184 ::ll::TypedStorage<1, 1, bool> mDamagedByMobThisFrame;
185 ::ll::TypedStorage<1, 1, bool> mIsTeacher;
186 ::ll::TypedStorage<1, 1, bool> mIsExternalCommunicationAllowed;
187 ::ll::TypedStorage<1, 1, bool> mHasBeenInitialized;
188 ::ll::TypedStorage<1, 1, bool> mPrevTransitionBlocking;
189 ::ll::TypedStorage<8, 32, ::std::string> mInventorySearchString;
190 ::ll::TypedStorage<8, 32, ::std::string> mFurnaceSearchString;
191 ::ll::TypedStorage<8, 32, ::std::string> mBlastFurnaceSearchString;
192 ::ll::TypedStorage<8, 32, ::std::string> mSmokerSearchString;
193 ::ll::TypedStorage<8, 64, ::std::unordered_set<::mce::UUID>> mAllSentEmotePieceIds;
194 ::ll::TypedStorage<8, 48, ::HashedString> mCurrentStructureFeature;
195 ::ll::TypedStorage<8, 152, ::ItemStack> mItemActivationItem;
196 ::ll::TypedStorage<4, 4, int> mItemActivationTicks;
197 ::ll::TypedStorage<4, 4, float> mItemActivationOffsetX;
198 ::ll::TypedStorage<4, 4, float> mItemActivationOffsetY;
199 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlayerAutomationObserver>> mAutomationObserver;
200 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SubChunkRequestSubscriber>> mSubChunkSubscriber;
201 ::ll::TypedStorage<4, 4, uint> mTickingAreaChunkIndexToCheckForRequests;
202 ::ll::TypedStorage<8, 32, ::NetworkChunkSubscriber> mChunkSubscriberView;
203 ::ll::TypedStorage<1, 1, ::PlayerRespawnState> mClientRespawnState;
204 ::ll::TypedStorage<4, 12, ::Vec3> mClientRespawnPotentialPosition;
205 ::ll::TypedStorage<4, 4, int> mRenderChunkRadiusLowMemoryWatermark;
206 ::ll::TypedStorage<8, 32, ::std::string> mLastDeathInfo;
207 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Editor::IEditorPlayer>> mEditorClientPlayer;
208 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Bedrock::DDUI::DataStoreSyncClient>> mDataStoreSync;
209 ::ll::TypedStorage<4, 4, float> mCurrentExpCache;
210 ::ll::TypedStorage<4, 4, int> mCurrentLevelCache;
211 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastLevelChangedTimePoint;
212 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastXPContainerClosedTimePoint;
213 ::ll::TypedStorage<1, 1, bool> mPreparedMainChunkSource;
214 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mVisibleTouchJoystickLockSubscription;
215 ::ll::TypedStorage<8, 48, ::Bedrock::PubSub::Publisher<void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0>>
216 mClientPlayerGameTypePublisher;
217 ::ll::TypedStorage<8, 48, ::Bedrock::PubSub::Publisher<void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0>>
218 mLocalPlayerDeathPublisher;
219 ::ll::TypedStorage<8, 48, ::Bedrock::PubSub::Publisher<void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0>>
220 mLocalPlayerRespawnPublisher;
225 LocalPlayer& operator=(LocalPlayer
const&);
226 LocalPlayer(LocalPlayer
const&);
232 virtual ~LocalPlayer() =
default;
234 virtual void reloadHardcodedClient(::ActorInitializationMethod method) ;
236 virtual void prepareRegion(::ChunkSource& mainChunkSource) ;
238 virtual void suspendRegion() ;
240 virtual void destroyRegion() ;
242 virtual void tickWorld(::Tick
const& currentTick) ;
244 virtual void frameUpdate(::FrameUpdateContextBase& frameUpdateContextBase) ;
246 virtual ::std::vector<::ChunkPos>
const& getTickingOffsets() const ;
248 virtual
void normalTick() ;
250 virtual
bool startRiding(::Actor& vehicle,
bool forceRiding) ;
252 virtual
void aiStep() ;
254 virtual
void addAdditionalSaveData(::CompoundTag& entityTag) const ;
256 virtual
void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) ;
258 virtual
void deleteContainerManager() ;
260 virtual
void openPortfolio() ;
262 virtual
void openBook(
int bookSlot,
bool editable,
int page, ::BlockActor* lectern) ;
264 virtual
void openChalkboard(::ChalkboardBlockActor& chalkboard,
bool showLockToggle) ;
266 virtual
void openNpcInteractScreen(::std::shared_ptr<::INpcDialogueData> data) ;
268 virtual
void openTrading(::ActorUniqueID const& uniqueID,
bool useNewScreen) ;
270 virtual
void openInventory() ;
272 virtual
void setContainerData(::IContainerManager& menu,
int id,
int value) ;
274 virtual
void slotChanged(
275 ::IContainerManager& menu,
276 ::Container& container,
278 ::ItemStack const& oldItem,
279 ::ItemStack const& newItem,
283 virtual
void refreshContainer(::IContainerManager& menu) ;
285 virtual
bool isLoading() const ;
287 virtual
void stopLoading() ;
289 virtual
void respawn() ;
291 virtual
void displayClientMessage(
292 ::std::
string const& message,
293 ::std::optional<::std::
string> const filteredMessage
296 virtual
void displayTextObjectMessage(
297 ::TextObjectRoot const& textObject,
298 ::std::
string const& fromXuid,
299 ::std::
string const& fromPlatformId
302 virtual
void displayWhisperMessage(
303 ::std::
string const& author,
304 ::std::
string const& message,
305 ::std::optional<::std::
string> const filteredMessage,
306 ::std::
string const& xuid,
307 ::std::
string const& platformId
310 virtual ::BedSleepingResult
311 startSleepInBed(::BlockPos const& pos,
bool setsRespawn,
float sleepOffset) ;
313 virtual
void stopSleepInBed(
bool forcefulWakeUp,
bool updateLevelList) ;
315 virtual
bool canStartSleepInBed() ;
317 virtual
void handleInsidePortal(::BlockPos const& portalPos) ;
319 virtual
bool swing(::ActorSwingSource swingSource, ::HandSlot handSlot) ;
321 virtual
void setSneaking(
bool _isSneaking) ;
323 virtual
void setSprinting(
bool _isSprinting) ;
325 virtual
void playEmote(::std::
string const& pieceId,
bool const playChatMessage) ;
327 virtual
void resetRot() ;
329 virtual
void resetUserPos(::ActorResetRule resetRule) ;
331 virtual
void teleportTo(
333 bool shouldStopRiding,
335 int sourceEntityType,
339 virtual
void changeDimension(::DimensionType toId) ;
341 virtual
void changeDimension(::ChangeDimensionPacket const& packet) ;
343 virtual
void setPlayerGameType(::GameType gameType) ;
345 virtual ::ActorUniqueID getControllingPlayer() const ;
347 virtual
void _fireDimensionChanged() ;
349 virtual
bool isAutoJumpEnabled() const ;
351 virtual
bool setItemSlot(::SharedTypes::Legacy::EquipmentSlot slot, ::ItemStack const& item) ;
353 virtual
void setOffhandSlot(::ItemStack const& item) ;
355 virtual
void setArmor(::SharedTypes::Legacy::ArmorSlot slot, ::ItemStack const& item) ;
357 virtual ::IMinecraftEventing* getEventing() const ;
359 virtual uint getUserId() const ;
361 virtual
bool isInTrialMode() ;
363 virtual
void setAbilities(::LayeredAbilities const& newAbilities) ;
365 virtual
void die(::ActorDamageSource const& source) ;
367 virtual
void onEffectRemoved(::MobEffectInstance& effect) ;
369 virtual
void addExperience(
int xp) ;
371 virtual
void addLevels(
int levels) ;
373 virtual
bool isActorRelevant(::Actor const& actor) ;
375 virtual
void handleEntityEvent(::ActorEvent
id,
int data) ;
377 virtual
void checkMovementStats(::Vec3 const& d) ;
379 virtual ::HashedString getCurrentStructureFeature() const ;
381 virtual
bool isTeacher() const ;
383 virtual
bool isExternalCommunicationAllowed() const ;
385 virtual
void sendInventoryTransaction(::InventoryTransaction const& transaction) const ;
387 virtual
void sendComplexInventoryTransaction(::std::unique_ptr<::ComplexInventoryTransaction> transaction) const
390 virtual
void sendNetworkPacket(::Packet& packet) const ;
392 virtual ::PlayerEventCoordinator& getPlayerEventCoordinator() ;
394 virtual
void applySnapshot(
395 ::EntityContext const& snapshotEntity,
396 ::MovementDataExtractionUtility::SnapshotAccessor const& originalSnapshotEntity
399 virtual
void destroyEditorPlayer() ;
401 virtual ::Bedrock::NonOwnerPointer<::Editor::IEditorPlayer> getEditorPlayer() const ;
403 virtual
void requestMissingSubChunk(::SubChunkPos const& scp) ;
405 virtual uchar getMaxChunkBuildRadius() const ;
407 virtual
void setBehaviorCommandStatus(::std::
string const& name, ::BehaviorStatus status) ;
409 virtual ::std::unique_ptr<::ISparseContainerSetListener> createSparseContainerListener() ;
411 virtual
void emitCriticalHitParticles(::Actor const& target,
int particleCount) ;
413 virtual ::ActorHurtResult
414 _hurt(::ActorDamageSource const& source,
float damage, ::HurtParameters const& hurtParameters) ;
423 ::
std::
string const& playerName,
424 ::GameType playerGameType,
425 bool isHostingPlayer,
429 ::
std::
string const& deviceId,
430 ::PlayerAuthenticationType authType,
435 MCAPI
void _applyTurnDelta(::
Vec2 const& turnOffset);
442 ::CrashDumpLogStringID option1,
443 ::CrashDumpLogStringID option2,
444 ::CrashDumpLogStringID option3,
445 ::CrashDumpLogStringID option4
460 MCAPI
float getPickRange() const;
466 MCAPI
void localPlayerTurn(::
Vec2 const& deltaRot);
468 MCAPI
void missedSwing();
472 MCAPI
void pickBlock(::
HitResult const& hitResult,
bool withData);
495 ::ItemStackLegacyRequestId& legacyRequestId,
509 ::
std::
string const& playerName,
510 ::GameType playerGameType,
511 bool isHostingPlayer,
515 ::
std::
string const& deviceId,
516 ::PlayerAuthenticationType authType,
533 MCAPI
void $tickWorld(::
Tick const& currentTick);
539 MCAPI
void $normalTick();
587 ::
std::
string const& fromXuid,
588 ::
std::
string const& fromPlatformId
592 ::
std::
string const& author,
593 ::
std::
string const& message,
594 ::
std::optional<::
std::
string> const filteredMessage,
595 ::
std::
string const& xuid,
596 ::
std::
string const& platformId
607 MCAPI
bool $swing(::ActorSwingSource swingSource, ::HandSlot handSlot);
609 MCAPI
void $setSneaking(
bool _isSneaking);
611 MCAPI
void $setSprinting(
bool _isSprinting);
613 MCNAPI
void $playEmote(::
std::
string const& pieceId,
bool const playChatMessage);
620 $teleportTo(::
Vec3 const& pos,
bool shouldStopRiding,
int cause,
int sourceEntityType,
bool keepVelocity);
630 MCAPI
void $_fireDimensionChanged();
632 MCAPI
bool $isAutoJumpEnabled() const;
658 MCAPI
void $handleEntityEvent(::ActorEvent
id,
int data);
678 ::MovementDataExtractionUtility::SnapshotAccessor const& originalSnapshotEntity
Definition ActorDamageSource.h:18
Definition ActorHurtResult.h:5
Definition DataStoreSyncClient.h:7
Definition BlockActor.h:30
Definition ChalkboardBlockActor.h:25
Definition ChangeDimensionPacket.h:19
Definition ChunkSource.h:37
Definition ComplexInventoryTransaction.h:17
Definition CompoundTag.h:18
Definition Container.h:36
Definition DataLoadHelper.h:20
Definition IEditorManager.h:25
Definition IEditorPlayer.h:17
Definition EntityContext.h:15
Definition FrameUpdateContextBase.h:5
Definition HashedString.h:5
Definition HitResult.h:18
Definition IClientInstance.h:5
Definition IContainerManager.h:16
Definition IMinecraftEventing.h:152
Definition ISparseContainerSetListener.h:11
Definition InventoryTransaction.h:17
Definition ItemStackNetManagerClient.h:37
Definition ItemStack.h:26
Definition LayeredAbilities.h:20
Definition LocalPlayer.h:19
Definition LocalPlayer.h:21
Definition LocalPlayer.h:17
Definition LocalPlayer.h:27
Definition LocalPlayer.h:5
MCAPI bool $canStartSleepInBed()
MCAPI void _forceCameraCut()
MCAPI void $refreshContainer(::IContainerManager &menu)
MCAPI::CrashDumpLogStringID _getCrashDumpLogCategory()
MCAPI void closeNpcInteractScreen(::ActorUniqueID const &npcId)
MCAPI::PlayerEventCoordinator & $getPlayerEventCoordinator()
MCAPI void $displayTextObjectMessage(::TextObjectRoot const &textObject, ::std::string const &fromXuid, ::std::string const &fromPlatformId)
MCAPI void $addAdditionalSaveData(::CompoundTag &entityTag) const
MCAPI void $stopLoading()
MCAPI void $sendNetworkPacket(::Packet &packet) const
MCAPI void $die(::ActorDamageSource const &source)
MCAPI void $setBehaviorCommandStatus(::std::string const &name, ::BehaviorStatus status)
static MCAPI ::LocalPlayer * tryGetFromEntity(::EntityContext &entity, bool includeRemoved)
MCAPI void $displayWhisperMessage(::std::string const &author, ::std::string const &message, ::std::optional<::std::string > const filteredMessage, ::std::string const &xuid, ::std::string const &platformId)
MCAPI void $destroyEditorPlayer()
MCAPI void $setPlayerGameType(::GameType gameType)
MCAPI void $setArmor(::SharedTypes::Legacy::ArmorSlot slot, ::ItemStack const &item)
MCAPI void $openChalkboard(::ChalkboardBlockActor &chalkboard, bool showLockToggle)
MCAPI ::Bedrock::NonOwnerPointer<::Editor::IEditorPlayer > $getEditorPlayer() const
MCAPI void createEditorPlayer(::Bedrock::NonOwnerPointer<::Editor::IEditorManager > editorManager)
MCAPI void $frameUpdate(::FrameUpdateContextBase &frameUpdateContextBase)
MCAPI void $addLevels(int levels)
MCAPI void setAllEmotePlayedTelemetryData(::std::string const &emoteProductId, int emoteSlotNumber)
MCAPI void setCurrentStructureFeature(::HashedString structureFeature)
MCAPI void $applySnapshot(::EntityContext const &snapshotEntity, ::MovementDataExtractionUtility::SnapshotAccessor const &originalSnapshotEntity)
MCAPI void $openPortfolio()
MCAPI void $openBook(int bookSlot, bool editable, int page, ::BlockActor *lectern)
MCAPI void describeBlock()
MCAPI float getFieldOfViewModifier() const
MCAPI void $suspendRegion()
MCAPI void _prepareMainChunkSource(::ChunkPos const ¢er)
MCAPI void $changeDimension(::DimensionType toId)
MCAPI void $onEffectRemoved(::MobEffectInstance &effect)
MCAPI void $destroyRegion()
MCAPI void playEmoteSlot(int slotIndex, bool playChatMessage)
MCAPI void $setAbilities(::LayeredAbilities const &newAbilities)
MCAPI void $reloadHardcodedClient(::ActorInitializationMethod method)
MCAPI uint $getUserId() const
MCAPI bool $isInTrialMode()
MCAPI::IMinecraftEventing * $getEventing() const
MCAPI void $sendInventoryTransaction(::InventoryTransaction const &transaction) const
MCAPI void $openNpcInteractScreen(::std::shared_ptr<::INpcDialogueData > data)
MCAPI void $resetUserPos(::ActorResetRule resetRule)
MCAPI bool $isTeacher() const
MCAPI void $setOffhandSlot(::ItemStack const &item)
MCAPI float checkSecondsSinceLevelChanged()
MCAPI::ActorUniqueID $getControllingPlayer() const
MCAPI uchar $getMaxChunkBuildRadius() const
MCAPI void $displayClientMessage(::std::string const &message, ::std::optional<::std::string > const filteredMessage)
MCAPI void $prepareRegion(::ChunkSource &mainChunkSource)
MCAPI void $teleportTo(::Vec3 const &pos, bool shouldStopRiding, int cause, int sourceEntityType, bool keepVelocity)
MCAPI void $addExperience(int xp)
MCAPI void * $ctor(::IClientInstance &client, ::Level &level, ::std::string const &playerName, ::GameType playerGameType, bool isHostingPlayer, ::NetworkIdentifier const &owner, ::SubClientId subid, ::mce::UUID uuid, ::std::string const &deviceId, ::PlayerAuthenticationType authType, ::PlayerAuthenticationInfo const &authInfo, ::EntityContext &entityContext)
MCAPI void $readAdditionalSaveData(::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
MCAPI void $openTrading(::ActorUniqueID const &uniqueID, bool useNewScreen)
MCAPI bool $isExternalCommunicationAllowed() const
MCAPI void openCodeScreen(::OpenCodeMethod openMethod)
static MCAPI void _populateLegacyTransactionRequest(::ItemStackLegacyRequestId &legacyRequestId, ::std::vector<::LegacySetSlot > &legacySetItemSlots, ::ItemStackNetManagerClient const &itemStackNetManager)
MCAPI void $emitCriticalHitParticles(::Actor const &target, int particleCount)
MCAPI bool $isActorRelevant(::Actor const &actor)
MCAPI void _logCDEvent(::CrashDumpLogStringID option1, ::CrashDumpLogStringID option2, ::CrashDumpLogStringID option3, ::CrashDumpLogStringID option4)
MCAPI void $handleInsidePortal(::BlockPos const &portalPos)
MCAPI void $requestMissingSubChunk(::SubChunkPos const &scp)
MCAPI void pushChangeDimensionLoadingScreen(::DimensionType toId)
MCAPI void $stopSleepInBed(bool forcefulWakeUp, bool updateLevelList)
MCAPI::HashedString $getCurrentStructureFeature() const
MCAPI bool $isLoading() const
MCAPI bool $setItemSlot(::SharedTypes::Legacy::EquipmentSlot slot, ::ItemStack const &item)
MCAPI void handleArmorDamage(::ArmorSlotAndDamagePair const &armorSlotAndDamage)
MCAPI void $checkMovementStats(::Vec3 const &d)
MCAPI::BedSleepingResult $startSleepInBed(::BlockPos const &pos, bool setsRespawn, float sleepOffset)
MCAPI::ActorHurtResult $_hurt(::ActorDamageSource const &source, float damage, ::HurtParameters const &hurtParameters)
MCAPI void $deleteContainerManager()
MCAPI ::std::vector<::ChunkPos > const & $getTickingOffsets() const
MCAPI void $playEmote(::std::string const &pieceId, bool const playChatMessage)
MCAPI void $slotChanged(::IContainerManager &menu, ::Container &container, int slot, ::ItemStack const &oldItem, ::ItemStack const &newItem, bool isResultSlot)
MCAPI bool $startRiding(::Actor &vehicle, bool forceRiding)
MCAPI ::std::unique_ptr<::ISparseContainerSetListener > $createSparseContainerListener()
MCAPI void stopPaddling(::SharedTypes::Side side)
MCAPI void $openInventory()
MCAPI void startPaddling(::SharedTypes::Side side)
MCAPI void $setContainerData(::IContainerManager &menu, int id, int value)
MCAPI void hurtTo(int newHealth)
MCAPI void requestChunkRadius(uint chunkRadius)
Definition MobEffectInstance.h:16
Definition NetworkIdentifier.h:10
Definition PlayerAutomationObserver.h:5
Definition PlayerEventCoordinator.h:20
Definition SubChunkPos.h:5
Definition SubChunkRequestSubscriber.h:13
Definition TextObjectRoot.h:14
Definition ActorUniqueID.h:5
Definition ArmorSlotAndDamagePair.h:8
Definition SingleThreaded.h:7
Definition DimensionType.h:5
Definition HurtParameters.h:8
Definition INpcDialogueData.h:12
Definition ItemStackLegacyRequestIdTag.h:5
Definition LegacySetSlot.h:8
Definition LocalPlayer.h:29
Definition PlayerAuthenticationInfo.h:9