LeviLamina
Loading...
Searching...
No Matches
TransporterComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/redstone/circuit/components/BaseCircuitComponent.h"
7#include "mc/world/redstone/circuit/components/CircuitComponentType.h"
8#include "mc/world/redstone/circuit/components/RedstoneLogicExecutionFlags.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
14class CircuitSystem;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, int> mNextStrength;
23 ::ll::TypedStorage<8, 8, ::CircuitComponentType const> mCircuitComponentType;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 15
30 virtual void cacheValues(::CircuitSystem& system, ::BlockPos const& pos) /*override*/;
31
32 // vIndex: 11
33 virtual bool addSource(
35 ::CircuitTrackingInfo const& info,
36 int& dampening,
37 bool& bDirectlyPowered
38 ) /*override*/;
39
40 // vIndex: 12
41 virtual bool
42 allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered) /*override*/;
43
44 // vIndex: 7
45 virtual bool canConsumerPower() const /*override*/;
46
47 // vIndex: 17
48 virtual ::RedstoneLogicExecutionFlags getLogicExecutionFlags() const /*override*/;
49
50 // vIndex: 14
51 virtual bool evaluate(::CircuitSystem& system, ::BlockPos const& pos) /*override*/;
52
53 // vIndex: 24
54 virtual ::CircuitComponentType getCircuitComponentType() const /*override*/;
55
56 // vIndex: 0
57 virtual ~TransporterComponent() /*override*/ = default;
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCNAPI void $cacheValues(::CircuitSystem& system, ::BlockPos const& pos);
64
65 MCNAPI bool
66 $addSource(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, int& dampening, bool& bDirectlyPowered);
67
68 MCNAPI bool $allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered);
69
70 MCNAPI bool $canConsumerPower() const;
71
72 MCNAPI ::RedstoneLogicExecutionFlags $getLogicExecutionFlags() const;
73
74 MCNAPI bool $evaluate(::CircuitSystem& system, ::BlockPos const& pos);
75
76 MCNAPI ::CircuitComponentType $getCircuitComponentType() const;
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition BaseCircuitComponent.h:19
Definition BlockPos.h:18
Definition CircuitSceneGraph.h:19
Definition CircuitSystem.h:15
Definition CircuitTrackingInfo.h:14
Definition TransporterComponent.h:18
MCAPI bool $canConsumerPower() const
MCAPI::CircuitComponentType $getCircuitComponentType() const
MCAPI::RedstoneLogicExecutionFlags $getLogicExecutionFlags() const
MCAPI bool $evaluate(::CircuitSystem &system, ::BlockPos const &pos)
static MCAPI void ** $vftable()
MCAPI void $cacheValues(::CircuitSystem &system, ::BlockPos const &pos)
MCAPI bool $allowConnection(::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, bool &bDirectlyPowered)
MCAPI bool $addSource(::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, int &dampening, bool &bDirectlyPowered)