This mod adds custom blocks to Jump King, each with its own unique switching-its-state themed mechanic.
- Texture of the levers and platforms
- Sounds played when a lever is touched
- When applicable the duration of timed gimmick
The general logic is that a block is solid when it matches the current state, as such an OFF block will be solid/function when the state currently is OFF as well.
Automatically switches state after a set amount of time.
Is solid if the kind of platform is equal to the state of the lever. Switches its state when touching a lever.
Switches its state when touching a lever, automatically switches back after a set amount of time.
Switches once a player has left the platform or if a duration is specified after that duration starting from the moment a player has touched the platform, consists of 4 colours which if next to eachother on the hitbox file group together as long as they are of the same colour.
Switches its state when the player jumps.
Behaves like the vanilla sand block sinking the player and slowing them down. When state has been switched, it instead pushes the player up. Switches its state when touching a lever.
Switches the next platform on, and the previous platform off once a player touches the platform, consists of 4 colours which if next to eachother on the hitbox file group together as long as they are of the same colour.
Sure, make an issue and I'll have a look at it.
I would really like for it to use a cleaner method of reading and writing XML, but when I check its performance against something like the XmlSerializer it is A LOT faster. And yes, I am caching the XmlSerializer, and not only that, I create the serializer even before I even measure the time it takes to read the XML file. So it gets all the benefit I can muster to give it.