Dylan K. Taylor
3738ab1f8a
Fixed villager professions being useless
2017-10-08 14:14:42 +01:00
Dylan K. Taylor
8fafef2f7f
Added tagType parameter to ListTag constructor, remove some boilerplate code
2017-10-08 13:28:01 +01:00
Dylan K. Taylor
a7e9aa4bc1
Fixed falling sand replacing wrong blocks when moved slightly by currents
2017-10-05 17:38:32 -04:00
Dylan K. Taylor
a06ff3d96b
Revert "Fixed falling blocks glitching when spawned"
...
This reverts commit 827ee5d4f9b080bbe36b3ec74d423357e6e32474.
can't ever seem to get falling blocks right... should I blame mojang?
2017-09-29 14:22:03 +01:00
Dylan K. Taylor
e6cecabf3f
New skin API, add support for custom capes & custom geometry ( #1416 )
...
* Added support for changing skins ingame, custom capes & geometry
* Use PlayerSkinPacket for setting Human skin instead of PlayerList hack
2017-09-29 14:09:00 +01:00
Dylan K. Taylor
d0bf0ff083
Imports cleanup
2017-09-28 10:51:05 +01:00
Dylan K. Taylor
7dc1fc54b1
Oops, didn't mean to commit this
2017-09-27 20:34:37 +01:00
Dylan K. Taylor
bae42dc0d9
Fixed incorrect field names in PlayerSkinPacket
2017-09-27 17:55:04 +01:00
Dylan K. Taylor
c79a5509f6
Implemented concrete powder
...
this is a little buggy with water updating due to a hack for liquids to fix a CPU leak (210bdc2436269ca4d634aa791b1054e594769baa), but everything works fine when a block nearby gets updated.
2017-09-26 18:56:43 +01:00
Dylan K. Taylor
827ee5d4f9
Fixed falling blocks glitching when spawned
...
this now (finally) works flawlessly
2017-09-26 18:33:34 +01:00
Dylan K. Taylor
38fad4b963
Implement difficulty per-world ( #878 )
...
* Moved Server::getDifficultyFromString() to Level
* Added ability to set difficulty in worlds section of pocketmine.yml for generation
2017-09-26 11:16:51 +01:00
Dylan K. Taylor
6aa9b081e9
Cleanup unused imports
2017-09-21 12:26:41 +01:00
Dylan K. Taylor
cefad0444c
Merge branch 'master' into mcpe-1.2
2017-09-21 10:32:35 +01:00
Dylan K. Taylor
b14ecc18c4
Remove unused imports
2017-09-20 12:24:44 +01:00
Dylan K. Taylor
8cae20e818
Removed hotbar slot linking (works like PC now)
2017-09-19 18:36:57 +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
cb7911ee9c
Improved Absorption, now only applies to living entities, now controllable by plugins
2017-09-03 12:37:34 +01:00
Dylan K. Taylor
7483f22e8b
Fixed a PhpStorm inspection
2017-09-03 12:10:56 +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
67ad2d25b9
Added FireImmune data flag
2017-08-30 18:36:36 +01:00
Dylan K. Taylor
190f4dd6ab
New entity metadata flags
2017-08-30 14:13:24 +01:00
Dylan K. Taylor
120cf56a47
Misc return typehints
2017-08-30 12:59:26 +01:00
Dylan K. Taylor
21f09d5fdb
Cleaned up Effect handling and replacement
2017-08-30 12:53:41 +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
95752ef542
Merge branch 'master' into mcpe-1.2
2017-08-23 13:20:35 +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
0f2ca99c67
Merge remote-tracking branch 'origin/pr/1310'
2017-08-23 10:44:33 +01:00
Dylan K. Taylor
a7674c52e6
Micro optimization to movement update checking
...
No need to keep abs()ing this, because next time we have a movement update, motion < 0.00001 will be flattened to zero anyway.
2017-08-23 10:42:23 +01:00
Muqsit
a52fa93998
Remove Entity->length
2017-08-23 02:21:33 -04:00
Dylan K. Taylor
770616d4ab
Merge branch 'master' into mcpe-1.2
2017-08-22 20:48:32 +01:00
Dylan K. Taylor
3a5fc78c53
Fixed players getting kicked for flying when standing still when blocks near them get updated, fixed item movement being too slippery
2017-08-22 17:47:48 +01:00
Dylan K. Taylor
445a67954d
Merge changes from master
2017-08-22 14:13:31 +01:00
Dylan K. Taylor
c32b75fa18
Further (major!) performance enhancements to entity ticking
2017-08-21 20:28: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
456ddd3fb3
Removed obsolete parameters from Entity->attack() and Entity->heal()
2017-08-21 13:25:11 +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
e5e76d4c93
Merge branch 'master' into mcpe-1.2
2017-08-18 18:39:39 +01:00
Dylan K. Taylor
f73d3d086e
Added some new blocks, fixed collisions not being detected when standing on top of a full block
2017-08-18 13:58:05 +01:00
Dylan K. Taylor
b6fb2bca13
forgot to add this to the merge
2017-08-17 17:27:49 +01:00
Dylan K. Taylor
4f1302adf2
Merge branch 'master' into mcpe-1.2
2017-08-17 17:14:16 +01:00
Dylan K. Taylor
e825ebd8fa
Added some wrapper methods to make data flags less of a pain in the ass to work with
2017-08-17 16:52:17 +01:00
Dylan K. Taylor
6320a63ca5
Use standard format for color hex, some minor name alteration
2017-08-17 13:08:18 +01:00
Dylan K. Taylor
77376d3e33
No idea how this happened
2017-08-17 11:15:42 +01:00
Dylan K. Taylor
21a1e0eb6b
Player API typehints
2017-08-17 11:08:54 +01:00
Dylan K. Taylor
670a9fe44f
Fix some crashy issues when incompatible players get disconnected
2017-08-17 10:29:12 +01:00
Dylan K. Taylor
b4c4005009
Some condition simplifications suggested by static analysis
2017-08-16 20:06:48 +01:00
Dylan K. Taylor
eebc52e00b
Added API method Entity->isClosed() and made Entity->closed protected
2017-08-16 19:30:23 +01:00