LeviLamina
Loading...
Searching...
No Matches
CircuitSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8class BlockPos;
9class BlockSource;
11// clang-format on
12
14public:
15 // CircuitSystem inner types declare
16 // clang-format off
18 // clang-format on
19
20 // CircuitSystem inner types define
22 public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<4, 12, ::BlockPos> mChunkPos;
26 // NOLINTEND
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<1, 1, bool> mLockGraph;
33 ::ll::TypedStorage<8, 408, ::CircuitSceneGraph> mSceneGraph;
34 ::ll::TypedStorage<8, 24, ::std::vector<::CircuitSystem::LevelChunkTracking>> mAddedLevelChunk;
35 ::ll::TypedStorage<1, 1, bool> mHasBeenEvaluated;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI ::BaseCircuitComponent*
42 createComponent(::BlockPos const& pos, uchar direction, ::std::unique_ptr<::BaseCircuitComponent> newComponent);
43
44 MCAPI void evaluate(::BlockSource* region);
45
46 MCAPI void evaluateComponents(bool bOnlyProducers);
47
48 MCAPI int getStrength(::BlockPos const& pos);
49
50 MCAPI bool isAvailableAt(::BlockPos const& pos);
51
52 MCAPI void removeComponents(::BlockPos const& pos);
53
54 MCAPI void setStrength(::BlockPos const& pos, int strength);
55
56 MCAPI void updateBlocks(::BlockSource& region, ::BlockPos const& chunkPos);
57 // NOLINTEND
58};
Definition BaseCircuitComponent.h:20
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition CircuitSceneGraph.h:19
Definition CircuitSystem.h:21
Definition CircuitSystem.h:13