├── .gitignore ├── .idea ├── .gitignore ├── MCBERedstoneSystem.iml ├── deployment.xml ├── misc.xml ├── modules.xml └── vcs.xml ├── CMakeLists.txt ├── README.md ├── docs ├── consumers.md ├── producers.md └── types.md ├── main.cpp └── src ├── CircuitSceneGraph.cpp ├── CircuitSceneGraph.h ├── CircuitSystem.cpp ├── CircuitSystem.h ├── component ├── BaseCircuitComponent.cpp ├── BaseCircuitComponent.h ├── CircuitComponentList.cpp ├── CircuitComponentList.h ├── CircuitTrackingInfo.cpp ├── CircuitTrackingInfo.h ├── bcc.txt ├── consumer │ ├── ConsumerComponent.cpp │ ├── ConsumerComponent.h │ ├── PistonConsumer.cpp │ └── PistonConsumer.h ├── powered_block │ ├── PoweredBlockComponent.cpp │ └── PoweredBlockComponent.h ├── producer │ ├── ProducerComponent.cpp │ ├── ProducerComponent.h │ └── capacitor │ │ ├── ComparatorCapacitor.cpp │ │ ├── ComparatorCapacitor.h │ │ ├── PulseCapacitor.cpp │ │ ├── PulseCapacitor.h │ │ ├── RedstoneTorchCapacitor.cpp │ │ ├── RedstoneTorchCapacitor.h │ │ ├── RepeaterCapacitor.cpp │ │ └── RepeaterCapacitor.h └── transporter │ ├── TransporterComponent.cpp │ └── TransporterComponent.h └── mc ├── BlockPos.cpp ├── BlockPos.h ├── BlockSource.cpp └── BlockSource.h /.gitignore: -------------------------------------------------------------------------------- 1 | # Project exclude paths 2 | /cmake-build-debug/ -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/MCBERedstoneSystem.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/.idea/MCBERedstoneSystem.iml -------------------------------------------------------------------------------- /.idea/deployment.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/.idea/deployment.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/README.md -------------------------------------------------------------------------------- /docs/consumers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/docs/consumers.md -------------------------------------------------------------------------------- /docs/producers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/docs/producers.md -------------------------------------------------------------------------------- /docs/types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/docs/types.md -------------------------------------------------------------------------------- /main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/main.cpp -------------------------------------------------------------------------------- /src/CircuitSceneGraph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/CircuitSceneGraph.cpp -------------------------------------------------------------------------------- /src/CircuitSceneGraph.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/CircuitSceneGraph.h -------------------------------------------------------------------------------- /src/CircuitSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/CircuitSystem.cpp -------------------------------------------------------------------------------- /src/CircuitSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/CircuitSystem.h -------------------------------------------------------------------------------- /src/component/BaseCircuitComponent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/BaseCircuitComponent.cpp -------------------------------------------------------------------------------- /src/component/BaseCircuitComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/BaseCircuitComponent.h -------------------------------------------------------------------------------- /src/component/CircuitComponentList.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by xhy on 2021/2/23. 3 | // 4 | 5 | #include "CircuitComponentList.h" 6 | -------------------------------------------------------------------------------- /src/component/CircuitComponentList.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/CircuitComponentList.h -------------------------------------------------------------------------------- /src/component/CircuitTrackingInfo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/CircuitTrackingInfo.cpp -------------------------------------------------------------------------------- /src/component/CircuitTrackingInfo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/CircuitTrackingInfo.h -------------------------------------------------------------------------------- /src/component/bcc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/bcc.txt -------------------------------------------------------------------------------- /src/component/consumer/ConsumerComponent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/consumer/ConsumerComponent.cpp -------------------------------------------------------------------------------- /src/component/consumer/ConsumerComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/consumer/ConsumerComponent.h -------------------------------------------------------------------------------- /src/component/consumer/PistonConsumer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/consumer/PistonConsumer.cpp -------------------------------------------------------------------------------- /src/component/consumer/PistonConsumer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/consumer/PistonConsumer.h -------------------------------------------------------------------------------- /src/component/powered_block/PoweredBlockComponent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/powered_block/PoweredBlockComponent.cpp -------------------------------------------------------------------------------- /src/component/powered_block/PoweredBlockComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/powered_block/PoweredBlockComponent.h -------------------------------------------------------------------------------- /src/component/producer/ProducerComponent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/producer/ProducerComponent.cpp -------------------------------------------------------------------------------- /src/component/producer/ProducerComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/producer/ProducerComponent.h -------------------------------------------------------------------------------- /src/component/producer/capacitor/ComparatorCapacitor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/producer/capacitor/ComparatorCapacitor.cpp -------------------------------------------------------------------------------- /src/component/producer/capacitor/ComparatorCapacitor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/producer/capacitor/ComparatorCapacitor.h -------------------------------------------------------------------------------- /src/component/producer/capacitor/PulseCapacitor.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by xhy on 2021/4/4. 3 | // 4 | 5 | #include "PulseCapacitor.h" 6 | -------------------------------------------------------------------------------- /src/component/producer/capacitor/PulseCapacitor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/producer/capacitor/PulseCapacitor.h -------------------------------------------------------------------------------- /src/component/producer/capacitor/RedstoneTorchCapacitor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/producer/capacitor/RedstoneTorchCapacitor.cpp -------------------------------------------------------------------------------- /src/component/producer/capacitor/RedstoneTorchCapacitor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/producer/capacitor/RedstoneTorchCapacitor.h -------------------------------------------------------------------------------- /src/component/producer/capacitor/RepeaterCapacitor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/producer/capacitor/RepeaterCapacitor.cpp -------------------------------------------------------------------------------- /src/component/producer/capacitor/RepeaterCapacitor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/producer/capacitor/RepeaterCapacitor.h -------------------------------------------------------------------------------- /src/component/transporter/TransporterComponent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/transporter/TransporterComponent.cpp -------------------------------------------------------------------------------- /src/component/transporter/TransporterComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/component/transporter/TransporterComponent.h -------------------------------------------------------------------------------- /src/mc/BlockPos.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/mc/BlockPos.cpp -------------------------------------------------------------------------------- /src/mc/BlockPos.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/mc/BlockPos.h -------------------------------------------------------------------------------- /src/mc/BlockSource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/mc/BlockSource.cpp -------------------------------------------------------------------------------- /src/mc/BlockSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bedrock-dev/MCBERedstoneSystem/HEAD/src/mc/BlockSource.h --------------------------------------------------------------------------------