LeviLamina
Loading...
Searching...
No Matches
BlockLiquidDetectionComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/v1_26_0/block/DetectionRule.h"
7#include "mc/deps/shared_types/v1_26_0/block/LiquidType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockPos;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<1, 5, ::SharedTypes::v1_26_0::DetectionRule> mWaterDetectionRule;
20 // NOLINTEND
21
22public:
23 // static functions
24 // NOLINTBEGIN
25 MCAPI static bool canBeDestroyedByLiquidSpread(::Block const& block);
26
27 MCAPI static bool canContainLiquid(::Block const& block);
28
29 MCAPI static bool isLiquidBlocking(::Block const& block);
30
31 MCAPI static bool liquidCanFlowIntoFromDirection(
32 ::Block const& block,
33 uchar flowIntoFacing,
34 ::std::function<::Block const&(::BlockPos const&)> const& getBlock,
35 ::BlockPos const& pos
36 );
37
38 MCAPI static bool liquidClipsAgainstCollider(::Block const& block);
39
40 MCAPI static bool liquidSpreadCausesSpawn(::Block const& block);
41 // NOLINTEND
42
43public:
44 // static variables
45 // NOLINTBEGIN
46 MCAPI static ::std::set<::SharedTypes::v1_26_0::LiquidType> const& supportedLiquids();
47 // NOLINTEND
48};
Definition BlockPos.h:21
Definition Block.h:69
Definition BlockLiquidDetectionComponent.h:15