Commit graph

24 commits

Author SHA1 Message Date
NGnius (Graham)
08138e3589 Fix build errors from beta hotfix 1 2020-11-13 17:02:27 +01:00
987fbe673a Fix initial issues and add error on patch fail
Fixed compilation and loading issues for 2020.10.27.17.13
2020-11-13 17:01:46 +01:00
abbb83da26 Chunk and cluster fixes and improvements & bump version
Added Cluster.GetSimBodies() and SimBody.GetBlocks()
Fixed some issues with IDs and bad handling of them
2020-10-02 16:40:06 +02:00
c9e71d84b4 Add support for getting the RGB of block colors
Only works if the constructors are used
2020-10-02 14:52:37 +02:00
cfdc5e8c26 Fixes, block IDs, cluster & chunk health support 2020-08-22 09:24:18 -04:00
NGnius (Graham)
fd97194903 Fix build issues for latest Gamecraft preview version 2020-08-22 09:23:59 -04:00
15485481a2 Add some info and prev. value for setters 2020-07-24 11:11:53 -04:00
5264d98ce7 Test fixes, block event Block property
Fixed Assert.Equal()
Changed tests to reflect changes
Added Block property to the block event args
Completely removed sync things
2020-07-24 11:11:53 -04:00
7336fe8353 Add support for initializing blocks with properties
Newly created blocks use the initializer to set properties, allowing the user to set per-block properties
2020-07-24 11:11:52 -04:00
aa0aefd41b Find block when group is unknown 2020-07-11 02:26:36 +02:00
f403feb298 Update to Gamecraft 2020.06.17.08.41 (preview)
Removed BlockIdentifiers.OWNED_BLOCKS as the original got replaced with an array
Added the correct group for each supported functional block
Removed EntityFactory property from IEntitySerializer as it is provided on deserialization
2020-07-11 00:30:58 +02:00
448cf3af48 Expose the simulation-time object IDs
They are useful
2020-06-05 00:57:22 +02:00
NGnius (Graham)
6a137472c1 Fix Block type exception on unsynced Specialize<T>() 2020-06-02 20:38:35 -04:00
5660bfc28d
Fix connected blocks not being detected in prefabs
Apparently they're processed, unlike in my save
2020-06-03 01:49:54 +02:00
0b8491cecf Move Sync() to properties and improve Block doc 2020-05-27 17:20:53 +02:00
269d30b0db Add support for connected bodies
Added center of mass
Removed delta velocities
2020-05-24 21:55:49 +02:00
ab7c5805fe Add object ID block and label support 2020-05-24 19:29:02 +02:00
084cbb40c4 Added AsyncUtils and Block.PlaceNewAsync() 2020-05-22 03:00:33 +02:00
NGnius (Graham)
8326d70cbf Integrate tweak and signal functionality into Blocks 2020-05-21 15:04:55 -04:00
3ff98f29bb Improve GetBlockInfo(), block colors
Made GetBlockInfo() always return a reference without needing it as a parameter
Fixed Color property
Added CustomColor property for temporarily setting any color
2020-05-20 00:08:02 +02:00
NGnius (Graham)
97de5e606b Add first block children ConsoleBlock and TextBlock, I hope they're not bullied at school for those names 2020-05-17 23:36:11 -04:00
1c5ce37fce Add debug interface API and improve block API
Added API for adding more information on the debug display (not object-oriented yet)
Removed the setter for block type to ensure stability
Made the block API return defaults if the block no longer exists
Added property to check if the block exists
Made a struct for the block's color property
Added missing block IDs
2020-05-17 23:46:31 +02:00
6f8241554d Add block type and color properties 2020-05-15 17:42:04 -04:00
ff57a16565 Create Block class with existing functionality
Placement, movement, rotation, removal
Block looked at (in Player class), connected blocks
2020-05-15 17:42:04 -04:00