74b074753f
Bulk addition of constant visibilities
...
thanks PhpStorm inspections plugin for annoying the shit out of me until
I did this.
2017-11-21 14:44:10 +00:00
c55bc2d7e9
added use-item click vector to PlayerInteractEvent
...
now go and make some touchscreens with maps!
2017-10-27 19:00:17 +01:00
584810780a
Moved projectile-related classes to their own namespace
2017-10-19 12:27:44 +01:00
ece37d1e19
Added more methods to PlayerIllegalMoveEvent
2017-10-17 16:14:41 +01:00
c4fe9ad32d
Remove pointless API method from PlayerMoveEvent
2017-10-12 19:59:32 +01:00
81dee2f9fc
Adding writable and written books. ( #1397 )
...
* Adding writable and written books.
* Added a PlayerEditBookEvent.
* Changed BookEditPacket field names.
2017-10-08 11:49:57 +01:00
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
d0bf0ff083
Imports cleanup
2017-09-28 10:51:05 +01:00
240cc3043a
Rewritten crafting, fixed #45
2017-09-24 14:14:24 +01:00
178dd1b981
Fixed block picking, added PlayerBlockPickEvent
2017-09-23 14:42:28 +01:00
cefad0444c
Merge branch 'master' into mcpe-1.2
2017-09-21 10:32:35 +01:00
b14ecc18c4
Remove unused imports
2017-09-20 12:24:44 +01:00
8cae20e818
Removed hotbar slot linking (works like PC now)
2017-09-19 18:36:57 +01:00
fcb3c4820e
Merge branch 'php/7.0' into mcpe-1.2
2017-09-07 10:42:20 +01:00
2c6205e3f3
Added new events for network interface handling, close #1232 ( #1250 )
...
Added
- NetworkInterfaceRegisterEvent (cancellable)
- NetworkInterfaceUnregisterEvent
- NetworkInterfaceCrashEvent
2017-09-06 11:22:10 +01:00
78d49f8e66
Merge branch 'php/7.0' into mcpe-1.2
2017-09-03 15:02:41 +01:00
58bf5d6679
Use null coalesce in EntityDamageEvent
2017-09-03 12:48:57 +01:00
cb7911ee9c
Improved Absorption, now only applies to living entities, now controllable by plugins
2017-09-03 12:37:34 +01:00
5d75d3d5b6
Merge branch 'php/7.0' into mcpe-1.2
2017-09-01 23:10:58 +01:00
120cf56a47
Misc return typehints
2017-08-30 12:59:26 +01:00
21f09d5fdb
Cleaned up Effect handling and replacement
2017-08-30 12:53:41 +01:00
adc6b03d4c
Typehinted up Entity API and some cleanup
2017-08-30 12:17:56 +01:00
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
2443a57234
Merge branch 'master' into mcpe-1.2
2017-08-24 11:57:41 +01:00
55e32424a0
Ability to get a player's quit reason from PlayerQuitEvent ( #1308 )
2017-08-23 19:26:24 +01:00
445a67954d
Merge changes from master
2017-08-22 14:13:31 +01:00
604d11a8fd
import cleanup and fixed an inspection
2017-08-21 17:39:02 +01:00
b62597fe63
Fixed some minor issues in Player events API
2017-08-21 13:05:32 +01:00
1f70a7830e
Branch merge
2017-08-20 21:07:19 +01:00
02f42eba48
Move block registration to its own class
2017-08-20 18:05:01 +01:00
159b2e3d5e
Merge branch 'master' into mcpe-1.2
2017-08-19 21:42:33 +01:00
276fccf4bb
Typehinted block events API
2017-08-19 11:25:32 +01:00
64f2e7587d
Some cleanup and added missing strict types declare for EndRod
2017-08-19 11:11:49 +01:00
e5e76d4c93
Merge branch 'master' into mcpe-1.2
2017-08-18 18:39:39 +01:00
d8f0dd6db8
Changed Block->getDrops() to return Item[]
2017-08-18 11:21:33 +01:00
8958b3c51c
Many many changes related to inventory transactions, fixed item dropping, fixed creative menu
2017-08-11 19:57:30 +01:00
1d0f0a2999
Merge branch 'master' into mcpe-1.2
2017-08-08 10:23:19 +01:00
2ba601b6e9
Fixed signs
2017-08-07 19:40:45 +01:00
6b5c0af161
Separation of effect handling from Entity, fixes #886
2017-08-07 16:03:54 +01:00
0b47324fe3
Add some constants to AnimatePacket
2017-07-31 16:03:45 +01:00
b3dada4cb9
Fix wrong documentation in ServerEvent
2017-07-26 21:24:19 +01:00
6cacb368ce
Add PlayerJumpEvent ( #1223 )
2017-07-22 11:18:53 +01:00
42fb1d1fef
Improve usability of Sign API ( #1202 )
...
* Improve usability of Sign API
* PHP
* Throw exceptions if out of range
* Fix phpdocs
* Formatting, additional checks in the SignChangeEvent.
* Blame php storm
* require line count to always be 4
* Adjust exception message
2017-07-19 15:22:04 +01:00
dbb92096e4
More typehints, documentation fixes and static analysis cleanup
2017-07-15 12:12:06 +01:00
24bdf330d5
Merge branch 'moar-typehints'
2017-07-15 09:43:43 +01:00
e6a2b0f270
Fix inaccurate documentation for ServerCommandEvent
2017-07-14 16:28:47 +01:00
c3b8be3f60
and more typehints
2017-07-14 10:56:51 +01:00
2a7b736f18
Heap of bugfixes, cleanup and PHP 7 upgrades
2017-07-13 19:18:56 +01:00
6cd4d2c5a2
Added typehints and PhpDoc for events API
...
excluded blocks and entities events API to avoid merge conflicts
2017-07-05 16:42:06 +01:00
1a6517ea4e
Added timings for console title ticking
...
As stupid as this seems, this can actually cost a significant amount of tick time due to reading from disk and/or executing commands.
2017-07-04 17:05:53 +01:00