1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-10 01:10:30 +00:00
CC-Tweaked/projects/web
Jonathan Coates 4f66ac79d3
Add redstone relay block (#2002)
- Move redstone methods out of the IAPIEnvironment, and into a new
   RedstoneAccess. We similarly move the implementation from Environment
   into a new RedstoneState class.

   The interface is possibly a little redundant (interfaces with a
   single implementation are always a little suspect), but it's nice to
   keep the consumer/producer interfaces separate.

 - Abstract most redstone API methods into a separate shared class, that
   can be used by both the rs API and the new redstone relay.

 - Add the new redstone relay block.

The docs are probably a little lacking here, but I really struggled to
write anything which wasn't just "look, it's the same as the redstone
API".
2024-11-12 09:05:27 +00:00
..
src Add redstone relay block (#2002) 2024-11-12 09:05:27 +00:00
ARCHITECTURE.md Bump CC:T to 1.109.1 2023-12-16 19:09:39 +00:00
build.gradle.kts Publish docs via an artifact instead 2024-06-19 09:57:56 +01:00
rollup.config.js Small cleanup to our web build scripts 2023-10-08 13:14:02 +01:00
tsconfig.json Small cleanup to our web build scripts 2023-10-08 13:14:02 +01:00