Class WriteRedstoneComponent
java.lang.Object
org.cyclops.integrateddynamics.part.aspect.write.redstone.WriteRedstoneComponent
- All Implemented Interfaces:
IWriteRedstoneComponent
Default component for writing redstone levels.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deactivate
(PartTarget target) net.minecraftforge.common.util.LazyOptional<IDynamicRedstone>
getDynamicRedstoneBlock
(org.cyclops.cyclopscore.datastructure.DimPos dimPos, net.minecraft.core.Direction side) getGlobalDynamicRedstone
(PartTarget target) int
getLastPulseValue
(PartTarget target) void
setLastPulseValue
(PartTarget target, int value) void
setRedstoneLevel
(PartTarget target, int level, boolean strongPower)
-
Constructor Details
-
WriteRedstoneComponent
public WriteRedstoneComponent()
-
-
Method Details
-
getGlobalDynamicRedstone
-
setRedstoneLevel
- Specified by:
setRedstoneLevel
in interfaceIWriteRedstoneComponent
-
setLastPulseValue
- Specified by:
setLastPulseValue
in interfaceIWriteRedstoneComponent
-
getLastPulseValue
- Specified by:
getLastPulseValue
in interfaceIWriteRedstoneComponent
-
deactivate
- Specified by:
deactivate
in interfaceIWriteRedstoneComponent
-
getDynamicRedstoneBlock
public net.minecraftforge.common.util.LazyOptional<IDynamicRedstone> getDynamicRedstoneBlock(org.cyclops.cyclopscore.datastructure.DimPos dimPos, net.minecraft.core.Direction side) - Specified by:
getDynamicRedstoneBlock
in interfaceIWriteRedstoneComponent
-