You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create setters and getters for block state + More Player access
- Create a method for getting a block state
- Create a method for setting a block state with a JS Object
- Add more methods for getting Player information to JSPlayer
The state getting and setting system is groundbreaking, as it allows for states to be defined in simple JS Objects and to be requested in simple JS Objects consisting only of ints, bools and strings. This is a layer of abstraction on top of the java / minecraft codebase and allows for more concise code to be written and can greatly reduce the development time