LeviLamina
Loading...
Searching...
No Matches
PlayerUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
9class BlockSource;
10class ItemStack;
11class Player;
12class Vec3;
13// clang-format on
14
15namespace PlayerUtils {
16// functions
17// NOLINTBEGIN
18#ifdef LL_PLAT_C
19MCAPI bool areMonstersNearby(::BlockSource& region, ::Vec3 const& position);
20#endif
21
22MCAPI bool canAttackActor(::Player const& player, ::Actor const& actor);
23
24MCAPI bool canUseItemToIgnite(::ItemStack const& item, ::BaseGameVersion const& baseGameVersion);
25
26MCAPI void onAttackAwardAchievements(::Player& player, float damage);
27// NOLINTEND
28
29} // namespace PlayerUtils
Definition Actor.h:106
Definition BaseGameVersion.h:8
Definition BlockSource.h:71
Definition ItemStack.h:26
Definition Player.h:129
Definition Vec3.h:10