36 Commits

Author SHA1 Message Date
UnknownShadow200
30937e92f5 little bit less hardcoding 2018-03-20 16:54:48 +11:00
UnknownShadow200
345438d913 Fix spamming G (without having changed held block index) causing arm to constantly move down again and again (Thanks Kingoscargames1) 2017-12-23 22:08:43 +11:00
UnknownShadow200
846ba75d3a Fix being able to duplicate held block under rare circumstances. (Thanks Cybertoon)
Could be accomplished by (with default inventory), scroll to log, press G, scroll to dirt, middle click grass, grass will now be put in the empty slot. Hence it now appears twice in the inventory.
2017-10-28 14:21:05 +11:00
UnknownShadow200
f84c96ad28 Port GameMode to C. 2017-10-25 09:56:15 +11:00
UnknownShadow200
39aa37a83d Port more of Entity to C. 2017-09-16 20:14:20 +10:00
UnknownShadow200
20d7ea6dfc Implement missing methods in IModel 2017-09-04 09:32:35 +10:00
UnknownShadow200
ba34b5e8ac Survival mode: Implement food eating. 2017-09-04 08:59:02 +10:00
UnknownShadow200
f7fd855838 X 2017-08-22 10:28:35 +10:00
UnknownShadow200
0de32793c0 Fix some things in survival mode.
Not showing actual score at death screen, being able to pick entities past reach distance, and make 'score' earned by killing an entity configurable.
2017-08-22 10:22:04 +10:00
UnknownShadow200
a64cd21880 Fix case under which you can add two of same block to hotbar. (Thanks goodlyay) 2017-08-17 12:18:20 +10:00
UnknownShadow200
8f0ba399cd Implement pressing G to replace selected block in inventory with air. Partially addresses #465. (Thanks hellosammu / goodlyay) 2017-08-15 13:27:55 +10:00
UnknownShadow200
5a03fda9bd Get rid of InventoryPermissions and just use bool array instead 2017-08-14 09:54:42 +10:00
UnknownShadow200
c23ba90c1f Make BlockInfo class static and break all plugins in the process. 2017-08-14 09:33:21 +10:00
UnknownShadow200
dc27dccaec Fix being able to press B to open inventory, during map load or generation. 2017-08-11 23:03:04 +10:00
UnknownShadow200
566cfdd7cb x 2017-07-25 14:51:48 +10:00
UnknownShadow200
86c6cc3921 Survival: Implement basic game-over screen 2017-07-25 13:44:27 +10:00
UnknownShadow200
22a14a0f5a Survival: Implement rudimentary fall damage 2017-07-25 13:39:20 +10:00
UnknownShadow200
a89485a960 Survival: Add BeginFrame/EndFrame methods 2017-07-25 13:25:17 +10:00
UnknownShadow200
9536fa2483 Use single sIndex instead of array variable.
Also don't remove sapling block in singleplayer if tree fails to grow
2017-05-28 16:21:34 +10:00
UnknownShadow200
d0257015a8 survival: lame death scoring 2017-04-28 23:32:12 +10:00
UnknownShadow200
079428042c survival: add fail knockback 2017-04-28 23:19:11 +10:00
UnknownShadow200
220d0a9132 fix last commit 2017-03-01 18:41:05 +11:00
UnknownShadow200
dd0b497136 Initial work on inventory that supports multiple hotbars. 2017-03-01 15:54:52 +11:00
UnknownShadow200
89e4b91a67 remove 'playing single player' message 2017-02-25 12:30:30 +11:00
UnknownShadow200
005d0cebe2 For the 0-1 people who bother, make 12 bit block ids as easy as a compile time switch. 2017-02-19 22:29:07 +11:00
UnknownShadow200
cf06302e33 Fix leftover issues 2017-02-16 16:42:50 +11:00
UnknownShadow200
c92ebcac6c Use BlockID typedef instead of hardcoding byte everywhere.
In the 0.00001% chance someone changes blockid to be 16 bits
2017-02-16 16:31:17 +11:00
Goodlyay
d0006628ec Make mobs collide with each other and improve their jumping. 2017-02-11 04:46:50 -08:00
UnknownShadow200
d798322db4 fix survival mode 2017-02-11 21:15:19 +11:00
UnknownShadow200
132967bf9d Now hold air instead of 255 in survival, fixes invalid block type 255 2017-02-10 23:54:08 +11:00
UnknownShadow200
9aa8809e78 hud now displays blocks count 2017-01-20 13:55:51 +11:00
UnknownShadow200
fd454c0c01 Now some entities spawn and can be clicked on. 2017-01-20 13:08:28 +11:00
UnknownShadow200
530e9eb09c make code work with abstract Entity class instead of Player class 2017-01-20 12:16:38 +11:00
UnknownShadow200
3f308e2c35 now drop the correct blocks 2017-01-20 10:40:58 +11:00
UnknownShadow200
c16dd2f6a3 Rudimentary inventory management 2017-01-20 10:16:01 +11:00
UnknownShadow200
cc54c6bc80 Initial work on survival test 2017-01-20 09:43:44 +11:00