LeviLamina
Loading...
Searching...
No Matches
LeashKnotUtility.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
Actor
;
8
class
BlockPos
;
9
class
BlockSource
;
10
class
ItemInstance
;
11
class
LeashKnot
;
12
// clang-format on
13
14
namespace
LeashKnotUtility {
15
// functions
16
// NOLINTBEGIN
17
MCNAPI
bool
canSurviveAtPos(
::BlockSource
const
& region,
::BlockPos
const
& pos);
18
19
MCNAPI ::LeashKnot* findAt(
::BlockSource
& region,
::BlockPos
const
& pos);
20
21
MCNAPI ::LeashKnot* trySpawn(
::BlockSource
& region,
::BlockPos
const
& pos,
::ItemInstance
const
* itemUsed);
22
23
MCNAPI
bool
tryTranferLeashedActors(
::Actor
& holderActor,
::BlockPos
const
& pos,
::ItemInstance
* itemUsed);
24
// NOLINTEND
25
26
}
// namespace LeashKnotUtility
Actor
Definition
Actor.h:102
BlockPos
Definition
BlockPos.h:17
BlockSource
Definition
BlockSource.h:66
ItemInstance
Definition
ItemInstance.h:15
LeashKnot
Definition
LeashKnot.h:20
src-server
mc
util
LeashKnotUtility.h
Generated on Sun Oct 12 2025 06:32:11 for LeviLamina by
1.12.0