Dylan K. Taylor
361b262d3a
Merge branch 'master' into mcpe-1.2
2017-09-18 10:29:38 +01:00
Dylan K. Taylor
a99eee9def
Removed redundant assignment
2017-09-17 20:01:11 +01:00
Dylan K. Taylor
0f37bc35ba
Always evacuate the crafting grid on close, no matter whether it's big or not
...
otherwise items will get deleted and people will cry
2017-09-16 21:58:10 +01:00
Dylan K. Taylor
8dc3d019f6
Return handled on fake window close
2017-09-16 21:55:25 +01:00
Dylan K. Taylor
bd64172750
Added API method Item->equalsExact() and removed some boilerplate code
2017-09-15 16:48:46 +01:00
Dylan K. Taylor
0e51820dfb
Merge remote-tracking branch 'origin/master' into mcpe-1.2
2017-09-15 15:54:30 +01:00
Dylan K. Taylor
d941bf8e74
Add vanilla-style crafting grid item evacuation server-side when closing the window in case something goes wrong
2017-09-15 13:22:53 +01:00
Dylan K. Taylor
8b33f711d0
Allow spaces in player names
2017-09-14 10:15:35 +01:00
Dylan K. Taylor
0fac3b9a9d
Added encode for InventoryTransactionPacket and refactor some stuff
2017-09-13 11:14:04 +01:00
Dylan K. Taylor
23a38400e2
Added CraftingGrid and BigCraftingGrid, WIP stuff for crafting
...
moving whole stacks in & out of the crafting grid works now, splitting stacks is fucked up because the transaction system can't handle the same slot changing multiple times in one transaction
2017-09-12 19:34:06 +01:00
Dylan K. Taylor
297172d111
Send creative inventory for all gamemodes, fixed recipe book
2017-09-12 14:40:16 +01:00
Dylan K. Taylor
ebdfbe6bb9
Removed flight controls hack for spectator mode
...
THEY FINALLY FIXED IT
2017-09-07 19:06:36 +01:00
Dylan K. Taylor
78d49f8e66
Merge branch 'php/7.0' into mcpe-1.2
2017-09-03 15:02:41 +01:00
Dylan K. Taylor
89f5567476
Use Entity->getDirectionVector() more
2017-09-03 12:08:40 +01:00
Dylan K. Taylor
75e32b11b7
Merge branch 'php/7.0' into mcpe-1.2
2017-09-02 18:29:53 +01:00
Dylan K. Taylor
b071ce9c5a
Refactored projectile handling, added Item->onClickAir()
2017-09-02 11:57:26 +01:00
Dylan K. Taylor
604d8ecf9a
Protocol changes for 1.2.0.25
2017-09-02 11:05:49 +01:00
Dylan K. Taylor
5d75d3d5b6
Merge branch 'php/7.0' into mcpe-1.2
2017-09-01 23:10:58 +01:00
Dylan K. Taylor
120cf56a47
Misc return typehints
2017-08-30 12:59:26 +01:00
Dylan K. Taylor
fd52022065
Refactor of health int -> float and fixed armor being useless when
...
computed damage reduction is less than 1
2017-08-30 11:03:07 +01:00
Dylan K. Taylor
6d6283b7f3
Fixed Player->sendPosition() not working correctly
2017-08-28 20:07:04 +01:00
Dylan K. Taylor
a3d21de559
Cleaned up network inventory action reading and core action creation
2017-08-28 20:04:35 +01:00
Dylan K. Taylor
b5d2402c9b
Merge branch 'master' into mcpe-1.2
2017-08-28 18:02:09 +01:00
Dylan K. Taylor
f4f2323518
Fixed entityBaseTick not being timed for Players
2017-08-27 18:29:54 +01:00
Dylan K. Taylor
c7fd3eb725
Merge branch 'master' into mcpe-1.2
2017-08-27 16:09:23 +01:00
Dylan K. Taylor
a5f5502380
Moved bow functionality out of Player
2017-08-26 19:04:04 +01:00
Dylan K. Taylor
13187e1749
Removed damage-table mess and added API methods Item->getAttackPoints() and Item->getDefensePoints()
2017-08-26 12:59:03 +01:00
Dylan K. Taylor
2443a57234
Merge branch 'master' into mcpe-1.2
2017-08-24 11:57:41 +01:00
xFlare
55e32424a0
Ability to get a player's quit reason from PlayerQuitEvent ( #1308 )
2017-08-23 19:26:24 +01:00
Dylan K. Taylor
95752ef542
Merge branch 'master' into mcpe-1.2
2017-08-23 13:20:35 +01:00
Dylan K. Taylor
84c8ac03fb
Fixed #1179
...
This solution isn't ideal, but it works...
2017-08-23 13:19:34 +01:00
Dylan K. Taylor
da4c9cf404
Fixed inventory cyclic references causing players to not get garbage-collected
2017-08-23 13:13:15 +01:00
Dylan K. Taylor
445a67954d
Merge changes from master
2017-08-22 14:13:31 +01:00
Dylan K. Taylor
4250e99e3a
Updated for 1.2.0.22
2017-08-22 11:35:56 +01:00
Dylan K. Taylor
876659cc73
Item factory refactor and added capability to register custom items
2017-08-21 17:49:26 +01:00
Dylan K. Taylor
604d11a8fd
import cleanup and fixed an inspection
2017-08-21 17:39:02 +01:00
Dylan K. Taylor
672b7610a9
Maybe I should stop using PhpStorm EAPs
2017-08-21 13:51:58 +01:00
Dylan K. Taylor
456ddd3fb3
Removed obsolete parameters from Entity->attack() and Entity->heal()
2017-08-21 13:25:11 +01:00
Dylan K. Taylor
121777375e
Rewired eating
2017-08-21 12:52:20 +01:00
Dylan K. Taylor
93e149e91c
Rewiring release-item action to fix bows
2017-08-20 22:14:31 +01:00
Dylan K. Taylor
1f70a7830e
Branch merge
2017-08-20 21:07:19 +01:00
Dylan K. Taylor
2f3c77c68a
Fixed entity move performance issue and a ton of entity movement bugs
...
- fixed zombies and villagers movement not updating
- fixed dropped items "movement" lagging the living **** out of the server when not actually moving
- fixed arrows not falling when the supporting block is removed
- fixed knockback
- fixed zombies + villagers being un-attackable after hitting them
... the list goes on
2017-08-20 20:31:09 +01:00
Dylan K. Taylor
02f42eba48
Move block registration to its own class
2017-08-20 18:05:01 +01:00
Dylan K. Taylor
e1d894057c
Changed face position floating-point params to Vector3s
2017-08-20 10:23:34 +01:00
Dylan K. Taylor
5b3bed8b06
Don't check entity movement or in-air ticks if player dies due to movement, close #1226
...
Not an ideal solution but it'll do.
2017-08-20 09:49:02 +01:00
Dylan K. Taylor
159b2e3d5e
Merge branch 'master' into mcpe-1.2
2017-08-19 21:42:33 +01:00
Dylan K. Taylor
0e24596aed
Changed block construction calls to Block::get()
2017-08-19 13:46:17 +01:00
Dylan K. Taylor
09c53552c1
Merge branch 'master' into mcpe-1.2
2017-08-18 08:29:40 +01:00
Dylan K. Taylor
a4ec2b7f2c
Removed copy-pasted code from Player
2017-08-17 19:50:17 +01:00
Dylan K. Taylor
1f6d325328
Added API for assigning permanent windows, fixed teleportation breaking inventory
2017-08-17 19:43:59 +01:00