23 ::ll::TypedStorage<8, 24, ::CircuitComponentList> mSources;
24 ::ll::TypedStorage<8, 16, ::Core::RefCountedSet<::BaseCircuitComponent*>> mDestinations;
25 ::ll::TypedStorage<1, 1, bool> mIgnoreFirstUpdate;
26 ::ll::TypedStorage<1, 1, bool> mIsFirstTime;
27 ::ll::TypedStorage<1, 1, bool> mNeedsUpdate;
28 ::ll::TypedStorage<4, 12, ::BlockPos> mPos;
29 ::ll::TypedStorage<4, 12, ::BlockPos> mChunkPosition;
30 ::ll::TypedStorage<1, 1, bool> mShouldEvaluate;
31 ::ll::TypedStorage<2, 2, short> mStrength;
32 ::ll::TypedStorage<2, 2, short> mOldStrength;
33 ::ll::TypedStorage<1, 1, uchar> mDirection;
34 ::ll::TypedStorage<1, 1, bool> mAllowPowerUp;
35 ::ll::TypedStorage<1, 1, bool> mAllowPowerDown;
36 ::ll::TypedStorage<1, 1, bool> mRemoved;
37 ::ll::TypedStorage<1, 1, bool> mConsumePowerAnyDirection;
38 ::ll::TypedStorage<8, 8, ::CircuitComponentType> mCircuitComponentType;
46 virtual int getStrength()
const;
48 virtual int getDirection()
const;
50 virtual void setOldStrength(
short strength);
52 virtual void setStrength(
int strength);
54 virtual void setDirection(uchar direction);
56 virtual void setConsumePowerAnyDirection(
bool canConsumePowerAnyDirection);
58 virtual bool canConsumePowerAnyDirection()
const;
60 virtual bool canConsumerPower()
const;
62 virtual bool canStopPower()
const;
64 virtual void setStopPower(
bool bPower);
66 virtual bool needsUpdate();
83 virtual ::RedstoneLogicExecutionFlags getLogicExecutionFlags()
const;
85 virtual bool allowIndirect()
const;
87 virtual bool isHalfPulse()
const;
91 virtual bool hasChildrenSource()
const;
93 virtual bool isSecondaryPowered()
const;
97 virtual ::CircuitComponentType getCircuitComponentType()
const;
99 virtual ::CircuitComponentType getCircuitComponentGroupType()
const;
107 MCAPI
bool trackPowerSource(
110 bool directlyPowered,
125 MCFOLD
int $getStrength()
const;
127 MCAPI
int $getDirection()
const;
129 MCAPI
void $setOldStrength(
short strength);
131 MCAPI
void $setStrength(
int strength);
133 MCAPI
void $setDirection(uchar direction);
135 MCAPI
void $setConsumePowerAnyDirection(
bool canConsumePowerAnyDirection);
137 MCAPI
bool $canConsumePowerAnyDirection()
const;
139 MCFOLD
bool $canConsumerPower()
const;
141 MCFOLD
bool $canStopPower()
const;
143 MCFOLD
void $setStopPower(
bool bPower);
145 MCAPI
bool $needsUpdate();
162 MCFOLD ::RedstoneLogicExecutionFlags $getLogicExecutionFlags()
const;
164 MCFOLD
bool $allowIndirect()
const;
166 MCFOLD
bool $isHalfPulse()
const;
170 MCFOLD
bool $hasChildrenSource()
const;
172 MCFOLD
bool $isSecondaryPowered()
const;
176 MCFOLD ::CircuitComponentType $getCircuitComponentType()
const;
178 MCAPI ::CircuitComponentType $getCircuitComponentGroupType()
const;
186 MCAPI
static void** $vftable();