3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/redstone/circuit/components/BaseCircuitComponent.h"
7#include "mc/world/redstone/circuit/components/CircuitComponentType.h"
21 ::ll::TypedStorage<1, 1, bool> mPromotedToProducer;
22 ::ll::TypedStorage<1, 1, bool> mAllowAsPowerSource;
23 ::ll::TypedStorage<8, 8, ::CircuitComponentType const> mCircuitComponentType;
34 virtual bool addSource(
38 bool& bDirectlyPowered
45 virtual bool canConsumerPower()
const ;
48 virtual bool hasChildrenSource()
const ;
51 virtual int getStrength()
const ;
54 virtual ::CircuitComponentType getCircuitComponentType()
const ;
Definition BaseCircuitComponent.h:19
Definition CircuitSceneGraph.h:19
Definition CircuitSystem.h:15
Definition CircuitTrackingInfo.h:14
Definition PoweredBlockComponent.h:17
MCAPI bool $addSource(::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, int &dampening, bool &bDirectlyPowered)
static MCAPI void ** $vftable()
MCAPI bool $evaluate(::CircuitSystem &system, ::BlockPos const &pos)
MCAPI int $getStrength() const
MCAPI bool $hasChildrenSource() const
MCAPI bool $canConsumerPower() const
MCAPI::CircuitComponentType $getCircuitComponentType() const
MCAPI bool $allowConnection(::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, bool &bDirectlyPowered)