Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
11
class
ActorDefinitionGroup
;
12
class
EntityContext
;
13
class
Interaction
;
14
class
Player
;
15
class
Vec3
;
16
struct
ActorDefinitionIdentifier
;
17
// clang-format on
18
19
class
Piglin :
public
::HumanoidMonster
{
20
public
:
21
// prevent constructor by default
22
Piglin();
23
24
public
:
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
32
public
:
33
// member functions
34
// NOLINTBEGIN
35
MCNAPI
Piglin
(
36
::ActorDefinitionGroup
* definitions,
37
::ActorDefinitionIdentifier
const
& definitionName,
38
::EntityContext
& entityContext
39
);
40
// NOLINTEND
41
42
public
:
43
// constructor thunks
44
// NOLINTBEGIN
45
MCNAPI
void
*
$ctor
(
46
::ActorDefinitionGroup
* definitions,
47
::ActorDefinitionIdentifier
const
& definitionName,
48
::EntityContext
& entityContext
49
);
50
// NOLINTEND
51
52
public
:
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
};
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:26
EntityContext
Definition
EntityContext.h:15
HumanoidMonster
Definition
HumanoidMonster.h:14
Interaction
Definition
Interaction.h:9
Piglin::Piglin
MCAPI Piglin(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
Piglin::$ctor
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
Piglin::$isDarkEnoughToSpawn
MCAPI bool $isDarkEnoughToSpawn() const
Piglin::$getInteraction
MCAPI::Interaction $getInteraction(::Player &player, ::Vec3 const &location, ::HandSlot handSlot)
Player
Definition
Player.h:131
Vec3
Definition
Vec3.h:10
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src
mc
world
actor
monster
Piglin.h
Generated on
for LeviLamina by
1.16.1