Skip to content
LeviMC
English
AutoLightDark
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#include "mc/world/item/HandSlot.h"
8
9// auto generated forward declare list
10// clang-format off
12class EntityContext;
13class Interaction;
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 ::Interaction getInteraction(::Player& player, ::Vec3 const& location, ::HandSlot handSlot) /*override*/;
28
29 virtual bool isDarkEnoughToSpawn() const /*override*/;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCNAPI Piglin(
36 ::ActorDefinitionGroup* definitions,
37 ::ActorDefinitionIdentifier const& definitionName,
38 ::EntityContext& entityContext
39 );
40 // NOLINTEND
41
42public:
43 // constructor thunks
44 // NOLINTBEGIN
45 MCNAPI void* $ctor(
46 ::ActorDefinitionGroup* definitions,
47 ::ActorDefinitionIdentifier const& definitionName,
48 ::EntityContext& entityContext
49 );
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCNAPI ::Interaction $getInteraction(::Player& player, ::Vec3 const& location, ::HandSlot handSlot);
56
57 MCNAPI bool $isDarkEnoughToSpawn() const;
58
59
60 // NOLINTEND
61};
Definition ActorDefinitionGroup.h:26
Definition EntityContext.h:15
Definition HumanoidMonster.h:14
Definition Interaction.h:9
MCAPI Piglin(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI bool $isDarkEnoughToSpawn() const
MCAPI::Interaction $getInteraction(::Player &player, ::Vec3 const &location, ::HandSlot handSlot)
Definition Player.h:131
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:15