ramou / ChessMod

Adding Pippin Barr's Chesses to minecraft.
MIT License
3 stars 3 forks source link

Make Bound Boards #66

Open ramou opened 3 years ago

ramou commented 3 years ago

This should be unshaped crafting with one ender pearl and any chessboard. The result will be a quantum entangled chessboard of the same type as was used in crafting.

A quantum entangled chessboard in hand may be sneak right-clicked on another quantum entangled chessboard of the same type that has been placed. This links the held chessboard to the state of the placed chessboard. After placement, the held chessboard will play and interact using the state of the originally placed chessboard. If either placed chessboard is broken, the entanglement is broken and must be repeated, as we all know how finicky quantum entanglement can be.

Sneak right-clicking a quantum entangled chessboard on the chessboard it is already entangled to removes the entanglement. Otherwise, sneak right-clicking on a board that is already entangled or with a board that is already entangled will give a message to that effect and nothing will happen. Take care with placement!

ramou commented 3 years ago

Can we forward all the events here? Can we normalize the GUI code for the board interface to do that so we call something like getActualBoard() or should we do an internal delegation to do so? I like the idea of delegation, but do we have to load the chunk of the actual board if we're remote? What happens if we don't? How will that affect things? Can this be used to keep many remote chunks loaded by cycling through chessboards? Is all the weirdness of multiple people looking at the remote board taken care of by either method? What happens if someone is looking at a GUI when the chessboard block is broken? What happens when we do that with a furnace? What happens if it's a remote block that's broken?