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;
12class Vec3;
13// clang-format on
14
15namespace LeashKnotUtility {
16// functions
17// NOLINTBEGIN
18MCNAPI bool canSurviveAtPos(::BlockSource const& region, ::BlockPos const& pos);
19
20MCNAPI_C bool canTransferLeashedActors(::Actor const& holderActor, ::BlockPos const& pos);
21
22MCNAPI ::LeashKnot* findAt(::BlockSource& region, ::BlockPos const& pos);
23
24MCNAPI ::LeashKnot*
25trySpawn(::BlockSource& region, ::BlockPos const& pos, ::ItemInstance const* itemUsed, ::Vec3 knotOffset);
26
27MCNAPI bool
28tryTransferLeashedActors(::Actor& holderActor, ::BlockPos const& pos, ::ItemInstance* itemUsed, ::Vec3 knotOffset);
29// NOLINTEND
30
31} // namespace LeashKnotUtility
Definition Actor.h:105
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition ItemInstance.h:15
Definition LeashKnot.h:20
Definition Vec3.h:10