LeviLamina
Loading...
Searching...
No Matches
Piglin.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/monster/HumanoidMonster.h"
7
8// auto generated forward declare list
9// clang-format off
12class EntityContext;
14class Player;
15class Vec3;
17// clang-format on
18
19class Piglin : public ::HumanoidMonster {
20public:
21 // prevent constructor by default
22 Piglin();
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::InteractionResult
28 getInteraction(::Player& player, ::ActorInteraction& interaction, ::Vec3 const& location) /*override*/;
29
30 virtual bool isDarkEnoughToSpawn() const /*override*/;
31 // NOLINTEND
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI Piglin(
37 ::ActorDefinitionGroup* definitions,
38 ::ActorDefinitionIdentifier const& definitionName,
39 ::EntityContext& entityContext
40 );
41 // NOLINTEND
42
43public:
44 // constructor thunks
45 // NOLINTBEGIN
46 MCAPI void* $ctor(
47 ::ActorDefinitionGroup* definitions,
48 ::ActorDefinitionIdentifier const& definitionName,
49 ::EntityContext& entityContext
50 );
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI ::InteractionResult
57 $getInteraction(::Player& player, ::ActorInteraction& interaction, ::Vec3 const& location);
58
59 MCFOLD bool $isDarkEnoughToSpawn() const;
60
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCAPI static void** $vftable();
68 // NOLINTEND
69};
Definition ActorDefinitionGroup.h:37
Definition ActorInteraction.h:8
Definition EntityContext.h:17
Definition InteractionResult.h:5
Definition Player.h:137
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:15