Skip to content
LeviMC
English
AutoLightDark
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 MCNAPI void _cleanUp(::Mob& mob);
33
34 MCNAPI bool canMobBreakDoor(::Mob& mob, ::Path const& path) const;
35
36 MCNAPI void clearProgress(::Mob& mob);
37
38 MCNAPI void obstructionCheck(::Mob& mob);
39
40 MCNAPI void onComponentRemoved(::EntityContext& entity);
41 // NOLINTEND
42};
Definition BreakDoorAnnotationComponent.h:17
MCAPI void clearProgress(::Mob &mob)
MCAPI bool canMobBreakDoor(::Mob &mob, ::Path const &path) const
MCAPI void _cleanUp(::Mob &mob)
MCAPI void obstructionCheck(::Mob &mob)
MCAPI void onComponentRemoved(::EntityContext &entity)
Definition EntityContext.h:15
Definition Mob.h:58
Definition Path.h:16