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
7class Actor;
8class BlockPos;
9class BlockSource;
10class ItemInstance;
11class LeashKnot;
12// clang-format on
13
14namespace LeashKnotUtility {
15// functions
16// NOLINTBEGIN
17MCNAPI bool canSurviveAtPos(::BlockSource const& region, ::BlockPos const& pos);
18
19MCNAPI ::LeashKnot* findAt(::BlockSource& region, ::BlockPos const& pos);
20
21MCNAPI ::LeashKnot* trySpawn(::BlockSource& region, ::BlockPos const& pos, ::ItemInstance const* itemUsed);
22
23MCNAPI bool tryTranferLeashedActors(::Actor& holderActor, ::BlockPos const& pos, ::ItemInstance* itemUsed);
24// NOLINTEND
25
26} // namespace LeashKnotUtility
Definition Actor.h:102
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition ItemInstance.h:15
Definition LeashKnot.h:20