LeviLamina
Loading...
Searching...
No Matches
ActorClassTree.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorCategory.h"
7#include "mc/world/actor/ActorType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12// clang-format on
13
15public:
16 // static functions
17 // NOLINTBEGIN
18 MCAPI static ::ActorType getEntityTypeIdLegacy(::ActorType entityId);
19
20 MCAPI static bool hasCategory(::ActorCategory const& category, ::ActorCategory testFor);
21
22 MCAPI static bool isHangingEntity(::Actor const& inEntity);
23
24 MCAPI static bool isInstanceOf(::Actor const& inEntity, ::ActorType type);
25
26 MCAPI static bool isMob(::ActorType type);
27
28 MCAPI static bool isMobLegacy(::ActorType type);
29
30 MCAPI static bool isOfType(::ActorType type, ::ActorType contains);
31
32 MCAPI static bool isTypeInstanceOf(::ActorType type, ::ActorType testFor);
33 // NOLINTEND
34};
Definition ActorClassTree.h:14
Definition Actor.h:125