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
10
class
Actor
;
11
class
Block
;
12
class
BlockPos
;
13
class
BlockType
;
14
// clang-format on
15
16
namespace
BlockUtils {
17
// functions
18
// NOLINTBEGIN
19
MCAPI
bool
allowsNetherVegetation(
::BlockType
const
& block);
20
21
MCAPI
bool
canSee(
::Actor
const
& actor,
::BlockPos
const
& pos, ::ShapeType obstructionType);
22
23
MCAPI
float
getLiquidBlockHeight(
::Block
const
& block,
::BlockPos
const
& blockPos);
24
25
MCAPI
bool
isFullFlowingLiquid(
::Block
const
& block);
26
27
MCAPI
bool
isLiquidSource(
::Block
const
& block);
28
29
MCAPI
bool
isWaterSource(
::Block
const
& block);
30
// NOLINTEND
31
32
}
// namespace BlockUtils
Actor
Definition
Actor.h:102
BlockPos
Definition
BlockPos.h:17
BlockType
Definition
BlockType.h:84
Block
Definition
Block.h:38
src-server
mc
util
BlockUtils.h
Generated on Tue Nov 25 2025 04:01:32 for LeviLamina by
1.12.0