56 Commits

Author SHA1 Message Date
Daniel Vidmar
6811ed551c Fixed issues created from bad merge during rebase 2015-02-21 13:25:44 -05:00
Daniel Vidmar
9fa3286ea0 Terrain Generation 2015-02-21 02:42:03 -05:00
Daniel Vidmar
b83ee8383d New terrain generator 2015-02-21 02:37:13 -05:00
Drew DeVault
4012432a0e Implement door blocks 2015-02-11 22:06:59 -07:00
Drew DeVault
4f66305ad9 Partially implement sand, fully implement stairs 2015-02-10 23:15:48 -07:00
Drew DeVault
4dd99e4e93 Refactor the water block provider
This makes the fluid dynamics model much easier to understand and
maintain.
2015-02-10 21:21:24 -07:00
Drew DeVault
d8c2d4c4ce Allow water to destroy blocks with no hardness 2015-02-09 23:01:41 -07:00
Drew DeVault
e9b133a7f8 Mostly implement fluid dynamics with water 2015-02-09 22:41:31 -07:00
Drew DeVault
ae41e163ce Finish implementing reed growth 2015-02-09 17:10:44 -07:00
Drew DeVault
a64c943997 Implement wheat farming
This includes farmland behavior as well as the growth of wheat crops
2015-02-08 17:21:35 -07:00
Drew DeVault
07d6a6a1ca Implement torch placement 2015-02-08 16:20:27 -07:00
Drew DeVault
f687a22531 Implement all crafting recipes (except for wool)
Because I am really, really out of patience
2015-02-08 00:05:00 -07:00
Cuber
ae54e69de6 Implement portion of recipes 2015-02-08 02:53:49 +02:00
Drew DeVault
7c4c2ef5fc Implement crafting benches 2015-02-07 17:14:41 -07:00
Drew DeVault
e5a1ee3439 Implement crafting from the inventory window
This does not include all recipes in the game, and there is no support
for crafting benches yet.
2015-02-07 15:51:38 -07:00
Cuber
e940734b1b Expand vectors structs, separate Coordinates into diff files 2015-02-07 19:56:04 +02:00
Cuber
1dcb357124 Remove colors from log output 2015-02-06 21:18:34 +02:00
Drew DeVault
974b0783e4 Merge branch 'master' of github.com:SirCmpwn/TrueCraft 2015-02-02 15:53:05 -07:00
Drew DeVault
cd20b987d4 Partially implement world persistence
This does not account for entities or tile entities, and the seed is not
saved because there is no level.

TODO: Save levels
2015-02-02 15:52:25 -07:00
Cuber
aa91d23a5c Expand Size struct, modify Vector3
Size:
* Added operators
* Implemented IEquatable<Size>
* Overrode Object.Equals, .ToString and .GetHashcode
Vector3:
* Object.Equals override: The `is` operator is faster than doing (x.GetType() != typeof (y))
2015-02-02 22:13:17 +02:00
Drew DeVault
775adf685a Significant improvements to entity physics
No more jitter! Collisions actually work all the time!
2015-02-02 01:24:43 -07:00
Drew DeVault
079f8b9188 Flesh out EntityManager to sync entities w/clients
This makes sure that you get new entities as you move to chunks that
have them, and that entities are despawned as you move further away from
them.
2015-02-01 21:43:25 -07:00
Drew DeVault
eda5dd2f82 Implement bed placement and supported blocks 2015-02-01 18:53:10 -07:00
Drew DeVault
567ba2aab1 Fix several core networking bugs
This should make the server much more stable over a longer period of
time
2015-02-01 15:59:59 -07:00
Drew DeVault
4df341e7d6 Add item repository and leaves logic 2015-02-01 14:59:02 -07:00
Drew DeVault
e3051a673c Implement special cases for block drops
This does not include things that require certain tools, such as
cobblestone.
2015-02-01 14:30:02 -07:00
Drew DeVault
8feefbbbbf Implement entity physics and item drops 2015-02-01 10:38:55 -07:00
Drew DeVault
d9986e247e Implement client entity tracking
We multiplayer now
2015-01-31 19:22:10 -07:00
Drew DeVault
c0585fc714 Implement mining via block providers 2015-01-26 17:05:26 -07:00
Drew DeVault
61bd2d32d3 Add block repository support code 2015-01-26 16:40:32 -07:00
Daniel Vidmar
04f227f332 Item fixes
Added a new property to ToolItem
- Base Durability
Added a new property to SwordItem
- Damage
Created base classes for Axes, Hoes, Pickaxes, and Shovels
Fixes
- Fixed format issues
2015-01-26 16:25:11 -07:00
Daniel Vidmar
90923522bc Added items 2015-01-26 16:25:11 -07:00
Drew DeVault
c037aef597 Implement world time updates 2015-01-26 07:45:10 -07:00
Daniel Vidmar
e74bdeb7be Forgotten block modifications.
Github left this behind.
2015-01-26 00:25:55 -05:00
Daniel Vidmar
7e608db385 Removed command event code 2015-01-23 15:23:46 -05:00
Daniel Vidmar
1d48d01648 New Command System
- Added a new command system
- Added a help command
- Added a command event
2015-01-23 04:03:28 -05:00
Daniel Vidmar
eb1329e3f9 Added new block properties. 2015-01-22 00:49:50 -05:00
Drew DeVault
c2b7e4b065 Add PlayerJoined event 2015-01-01 19:49:53 -07:00
Drew DeVault
8d3b084d8d Add Craft.Net standard generator 2015-01-01 19:21:46 -07:00
Drew DeVault
99775ef54e Implement block placement properly 2014-12-28 20:13:23 -07:00
Drew DeVault
c623bb68a5 Add event handler for chat messages 2014-12-28 19:18:13 -07:00
Drew DeVault
152c268fbd Add player chat 2014-12-28 19:04:42 -07:00
Drew DeVault
f230ab3345 Generate classes for all blocks 2014-12-28 18:55:46 -07:00
Drew DeVault
2b7d721326 Add block provider interfaces 2014-12-28 15:38:58 -07:00
Drew DeVault
c7a11b320d Give players an inventory and send it to clients
This also gives the player a stack of stone to play with on login, but
that's a temporary change.
2014-12-28 12:09:55 -07:00
Drew DeVault
f02dcd9004 TrueCraft-ify the Craft.Net window implementation 2014-12-28 12:03:54 -07:00
Drew DeVault
a3b8dabc32 Pull in Craft.Net window management
Windows are handled somewhat differently in beta 1.7.3, so this may
eventually have to change a bit.
2014-12-28 11:48:20 -07:00
Drew DeVault
b70cd25556 Fix some errors in the protocol implementation 2014-12-28 11:45:05 -07:00
Drew DeVault
fac5d28935 Implement simple server-side digging logic 2014-12-28 11:17:14 -07:00
Drew DeVault
6f87efd519 Bring in some Craft.Net entity code 2014-12-27 22:53:22 -07:00