-Sand now can fall from and to the direction of gravity
-Registers every FallingBlock block to a different value. It doesnt
quite work though
-Removed unused code
-Added default gravity block check in server
-Some things I had to copy since i didnt merge right
-Adds all gravity blocks to FallingBlock list
-LogTop debug thing to check for good textures
-Some texture rendering(see above)
-Some control changes since I need to get to the edge quickly
These changes were originally implemented by opfromthestart. OLEGSHA
then patched a whole bunch of stuff
- Components can now be disabled
- Added BasicButton
- Added Button, Checkbox and RadioButton (with RadioButtonGroup)
- Added some new colors to Colors
- Pressing Esc in game pops up a menu (WIP)
- Fixed text z-ordering
- Fixed LayoutGrid Y-direction
-Changed as many of the ClientState statements to context as I could.
-Only looks for a sand based update once per block update(I think it was twice before)
-Added Set in TestEntityLogicFallingBlock to keep track of gravity blocks
-Used this set in listener in TestWorldGenerator
-setInvisible and isDone() methods in TestEntityDataFallingBlock
-Used to determine if the entity should be rendered/cared about in TestEntityRenderFallingBlock and TestEntityLogicFallingBlock
-Added more accurate Vec3i mod and div methods in TestEntityLogicFallingBlock
*Change this to a better place
-TestEntityLogicFallingBlock actually places the block when the entity lands
-Better air block detection in TestWorldGenerator
*Still cannot erase the original placed block, not sure why.
-Added TestEntityDataFallingBlock class
-Right now only supports Test:Sand
-Kinda just copied from Statie
-Added TestEntityRenderFallingBlock
-Used BlockRenderTexturedCube and TestEntityRenderStatie for this one
-Has a setTexture method, but it needs improving
-Added TestEntityLogicFallingBlock class
-Allows for a falling block to return to being a block.
-The coordinates of the entity never move, even if it does ingame.
-In TestContent
-Registers Test:FallingBlock
-In TestWorldGenerator
-Adds listener for a sand block being placed
-Listener replaces the block with a FallingBlock entity
-It should also replace the block with air but it hasn't been working for me.