LeviLamina
Loading...
Searching...
No Matches
EntityType.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/world/actor/spawn_category/Type.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Block;
13// clang-format on
14
15namespace br::spawn {
16
17struct EntityType {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, ::SpawnCategory::Type> mType;
22 ::ll::TypedStorage<8, 48, ::HashedString> mId;
23 ::ll::TypedStorage<1, 1, bool> mIsSummonable;
24 ::ll::TypedStorage<1, 1, bool> mImmuneFire;
25 ::ll::TypedStorage<4, 4, float> mHeight;
26 ::ll::TypedStorage<4, 4, float> mWidth;
27 // NOLINTEND
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI bool isBlockDangerous(::Block const& block) const;
33
34 MCAPI ::AABB spawnAabb(float x, float y, float z) const;
35
36 MCAPI ~EntityType();
37 // NOLINTEND
38
39public:
40 // destructor thunk
41 // NOLINTBEGIN
42 MCFOLD void $dtor();
43 // NOLINTEND
44};
45
46} // namespace br::spawn
Definition AABB.h:18
Definition Block.h:69
Definition EntityType.h:17