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 TypeMethodDescriptionvoiddeactivate(PartTarget target) getDynamicRedstoneBlock(org.cyclops.cyclopscore.datastructure.DimPos dimPos, net.minecraft.core.Direction side) getGlobalDynamicRedstone(PartTarget target) intgetLastPulseValue(PartTarget target) voidsetLastPulseValue(PartTarget target, int value) voidsetRedstoneLevel(PartTarget target, int level, boolean strongPower)
-
Constructor Details
-
WriteRedstoneComponent
public WriteRedstoneComponent()
-
-
Method Details
-
getGlobalDynamicRedstone
-
setRedstoneLevel
- Specified by:
setRedstoneLevelin interfaceIWriteRedstoneComponent
-
setLastPulseValue
- Specified by:
setLastPulseValuein interfaceIWriteRedstoneComponent
-
getLastPulseValue
- Specified by:
getLastPulseValuein interfaceIWriteRedstoneComponent
-
deactivate
- Specified by:
deactivatein interfaceIWriteRedstoneComponent
-
getDynamicRedstoneBlock
public Optional<IDynamicRedstone> getDynamicRedstoneBlock(org.cyclops.cyclopscore.datastructure.DimPos dimPos, net.minecraft.core.Direction side) - Specified by:
getDynamicRedstoneBlockin interfaceIWriteRedstoneComponent
-