redstone relay as peripheral

This commit is contained in:
Karotte128 2025-02-05 16:31:58 +01:00
parent f80abdb507
commit 578262e67b
2 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,7 @@ archive_base_name=MoreRed-CCT-Compat
## Mod Dependencies Properties
# CC:Tweaked version
cctweaked_version=1.113.0
cctweaked_version=1.114.4
cctweaked_version_range=[1.113.0,)
# More Red version
morered_version=6.0.0.2

View File

@ -35,6 +35,7 @@ public class MoreRedCCCompatMod {
registry.put(ModRegistry.Blocks.COMPUTER_COMMAND.get(), connector);
registry.put(ModRegistry.Blocks.TURTLE_NORMAL.get(), connector);
registry.put(ModRegistry.Blocks.TURTLE_ADVANCED.get(), connector);
registry.put(ModRegistry.Blocks.REDSTONE_RELAY.get(), connector);
}
private void registerCapabilities(RegisterCapabilitiesEvent event) {
@ -43,5 +44,6 @@ public class MoreRedCCCompatMod {
event.registerBlockEntity(MoreRedAPI.CHANNELED_POWER_CAPABILITY, ModRegistry.BlockEntities.COMPUTER_COMMAND.get(), (be, side) -> new ComputerChanneledPowerCapability(side));
event.registerBlockEntity(MoreRedAPI.CHANNELED_POWER_CAPABILITY, ModRegistry.BlockEntities.TURTLE_NORMAL.get(), (be, side) -> new ComputerChanneledPowerCapability(side));
event.registerBlockEntity(MoreRedAPI.CHANNELED_POWER_CAPABILITY, ModRegistry.BlockEntities.TURTLE_ADVANCED.get(), (be, side) -> new ComputerChanneledPowerCapability(side));
event.registerBlockEntity(MoreRedAPI.CHANNELED_POWER_CAPABILITY, ModRegistry.BlockEntities.REDSTONE_RELAY.get(), (be, side) -> new ComputerChanneledPowerCapability(side));
}
}