LeviLamina
Loading...
Searching...
No Matches
BreakDoorAnnotationComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/Difficulty.h"
7#include "mc/legacy/ActorUniqueID.h"
8#include "mc/world/level/BlockPos.h"
9
10// auto generated forward declare list
11// clang-format off
12class EntityContext;
13class Mob;
14class Path;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, int> mBreakTicks;
22 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::Difficulty> mMinDifficulty;
23 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mTargetID;
24 ::ll::TypedStorage<4, 4, int> mBreakingTime;
25 ::ll::TypedStorage<4, 16, ::std::optional<::BlockPos>> mObstructionPos;
26 ::ll::TypedStorage<8, 8, uint64> mLastPathIndex;
27 // NOLINTEND
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI void _cleanUp(::Mob& mob);
33
34 MCAPI bool canMobBreakDoor(::Mob& mob, ::Path const& path) const;
35
36 MCAPI void clearProgress(::Mob& mob);
37
38 MCAPI void obstructionCheck(::Mob& mob);
39
40 MCAPI void onComponentRemoved(::EntityContext& entity);
41 // NOLINTEND
42};
Definition BreakDoorAnnotationComponent.h:17
Definition EntityContext.h:15
Definition Mob.h:56
Definition Path.h:16