NorbiPeti
4e16f251ee
Don't use the intended method to create a CubeListData
It adds it with its ID as key but the ID hasn't been set at that point
It works until the second simulation start now
4 years ago
NorbiPeti
78f0ea0162
Use the intended method to create a CubeListData
The block can be selected but not placed
4 years ago
NorbiPeti
5dfb01ef0b
Use the console block's material again - IT WORKS
It shows up in the inventory but crashes when selected
4 years ago
NorbiPeti
432d6bcf96
Use the same (physics) componentts and attempt to use custom material
4 years ago
NorbiPeti
56a64daa18
Merge branch 'master' into customblocks
# Conflicts:
# GamecraftModdingAPI/Tests/GamecraftModdingAPIPluginTest.cs
4 years ago
NorbiPeti
ab1ae51ece
Update to Gamecraft 2020.11.30.16.02
4 years ago
NorbiPeti
fad3b5cbf4
Fix picking block groups...
4 years ago
NorbiPeti
1f911b1d32
Fix move/rotate during init, add blueprint properties
4 years ago
NorbiPeti
f30dcd251f
Displaying blueprint before placing, enums, ToString()s
Added support for getting the player's current building mode (build, color, config, blueprint)
Added support for getting the current game's mode (building, playing, prefab etc.)
4 years ago
NorbiPeti
680721256c
Add support for copying wires, some fixes and additions
Removing blocks from groups when they are removed from the game
Attempted to update graphics when changing blocks
Disallowing changing the block group after creation, now that we can copy blocks
4 years ago
NorbiPeti
64b42830a3
Blueprint fixes, bump version, add block copy support
Fixed getting the selected blueprint
Fixed block groups not being assigned to first block
4 years ago
NorbiPeti
d744aaab79
Add ability to create & move block groups & other stuff
Added a way to store block groups as blueprints
Blocks can be added/removed from block groups, although it doesn't work well atm
Added some patches to the test class in an attempt to debug an unrelated issue
Added a command to test placing a block group
Added a SelectedBlueprint property to the Player class
4 years ago
NorbiPeti
3dd61b5e4f
Replace ToManagedArray() and fix getting blocks from group
4 years ago
NorbiPeti
1c4e2a0db2
Add support for setting and placing blueprints
4 years ago
NorbiPeti
4f8feaa24b
Add new blocks and some blueprint/block group support
4 years ago
NGnius (Graham)
8eec1358e9
Fix harmony patch error due to fixed name
4 years ago
NGnius (Graham)
08138e3589
Fix build errors from beta hotfix 1
4 years ago
NorbiPeti
987fbe673a
Fix initial issues and add error on patch fail
Fixed compilation and loading issues for 2020.10.27.17.13
4 years ago
NGnius (Graham)
c6a1ea35cc
Add damped spring
4 years ago
NorbiPeti
b0b496f22f
Fix ConcurrentModificationException and some attempts
4 years ago
NorbiPeti
4701b3577d
Make BlockColor.Index a property and other fixes
4 years ago
NorbiPeti
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
4 years ago
NorbiPeti
64aace3bde
Remove ScalingEngine.Setup() and add object ID to dict
4 years ago
NorbiPeti
9e9f56881f
Add hotfix blocks and Player.LocalPlayer
4 years ago
NorbiPeti
c9e71d84b4
Add support for getting the RGB of block colors
Only works if the constructors are used
4 years ago
NGnius (Graham)
4dfa7b0f4e
Implement SFX block API and bump version
4 years ago
NorbiPeti
1a0c98dd67
Add the rest of the blocks
4 years ago
NorbiPeti
f2ce037564
Fix TextBlock.Text=null, most new blocks and others
4 years ago
NorbiPeti
c06ed340a2
Using the console block's material
Progressed a lot
4 years ago
NorbiPeti
f295f712b6
Merge branch 'master' into customblocks
# Conflicts:
# GamecraftModdingAPI/Tests/GamecraftModdingAPIPluginTest.cs
4 years ago
NGnius (Graham)
aae2057972
Convert relevant blocks to wireable blocks and fix wire connect during block init
4 years ago
NGnius (Graham)
daf4a24bc9
Fix namespace build error from unused using statement (I deleted it)
4 years ago
NGnius (Graham)
11b94e384e
Update refs
4 years ago
NorbiPeti
cfdc5e8c26
Fixes, block IDs, cluster & chunk health support
4 years ago
NGnius (Graham)
fd97194903
Fix build issues for latest Gamecraft preview version
4 years ago
NGnius (Graham)
89f354b647
Fix Game Over detection
4 years ago
NGnius (Graham)
8354123169
Cache additional info to avoid entity queries
4 years ago
NGnius (Graham)
7f5a36cb62
Automate version bumping because I keep forgetting doxygen.conf
4 years ago
NGnius (Graham)
e56871f5ef
Fix wire entity queries when its not submitted yet
4 years ago
NGnius (Graham)
708dbdd81d
Add wiring API and improve signal support
4 years ago
NGnius (Graham)
ca0e6e089d
Mark old event system as deprecated
4 years ago
NGnius (Graham)
b81562ea58
Fix sfx block test default value
4 years ago
NorbiPeti
057a030c20
Update music block and attempt to fix test
4 years ago
NorbiPeti
15485481a2
Add some info and prev. value for setters
4 years ago
NorbiPeti
b53dff5d12
Remove initializer data once the block is placed
4 years ago
NorbiPeti
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
4 years ago
NorbiPeti
5e335e78ff
Implement init for position and rotation
4 years ago
NorbiPeti
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
4 years ago
NorbiPeti
89d32956d9
Automatically invoke the correct block constructor
And store delegates of dynamic methods invoking constructors
Tested with the automated tests
4 years ago
NGnius (Graham)
ea8a9184bc
Add popup UI method to Client
4 years ago