LeviLamina
Loading...
Searching...
No Matches
BlockUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/ShapeType.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class Block;
12class BlockPos;
13class BlockType;
14// clang-format on
15
16namespace BlockUtils {
17// functions
18// NOLINTBEGIN
19MCAPI bool allowsNetherVegetation(::BlockType const& block);
20
21MCAPI bool canSee(::Actor const& actor, ::BlockPos const& pos, ::ShapeType obstructionType);
22
23MCAPI float getLiquidBlockHeight(::Block const& block, ::BlockPos const& blockPos);
24
25MCAPI bool isFullFlowingLiquid(::Block const& block);
26
27MCAPI bool isLiquidSource(::Block const& block);
28
29MCAPI bool isWaterSource(::Block const& block);
30// NOLINTEND
31
32} // namespace BlockUtils
Definition Actor.h:102
Definition BlockPos.h:17
Definition BlockType.h:84
Definition Block.h:38