Dylan K. Taylor
99134de6b6
Updated NBT dependency
...
this needs further changes (particularly to Furnace) to stop things abusing NBT for runtime data handling, otherwise performance is going to drop off a cliff.
2018-04-04 10:29:32 +01:00
Dylan K. Taylor
5ed2d6022c
GiveCommand: don't catch Throwables
...
this caused me to think a thyntax error in my code was a syntax error in the NBT I was trying to parse.
2018-04-01 12:17:17 +01:00
Dylan K. Taylor
0ad8ea6e92
Remove unused imports
2018-02-24 19:01:09 +00:00
Dylan K. Taylor
c26e3aa9fa
GiveCommand: Make invalid player checking logic less confusing
...
some code in this namespace is just total WTF...
2018-02-15 18:19:41 +00:00
Dylan K. Taylor
aeba15c5c6
GiveCommand: don't crash when an invalid item is specified
2018-02-15 18:18:09 +00:00
Dylan K. Taylor
906d7eb176
Lang: Move TranslationContainer and TextContainer to \pocketmine\lang namespace
...
why the hell were they ever put in \pocketmine\event in the first place??
This change was suggested many months ago but I forgot all about it.
2018-02-04 20:03:30 +00:00
Dylan K. Taylor
4f8e4f0522
Add EOF newlines where missing (bulk) ( #1836 )
...
This should solve issues with people making GitHub PRs and having the web editor messing things up. GitHub Web Editor sucks :(
2017-12-20 11:56:36 +00:00
Dylan K. Taylor
592ce3c9e9
Adding some missed commands typehints and documentation
2017-08-21 19:02:30 +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
8bb0c53797
More typehints for Command stuff
2017-07-14 08:52:27 +01:00
Dylan K. Taylor
97f6a32557
Changed usage message displaying to exceptions to reduce boilerplate code
...
Someday this won't need to be done by commands themselves, it'll be done by the parser.
2017-07-04 13:45:00 +01:00
Dylan K. Taylor
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
Dylan K. Taylor
afd90adb1c
Refactored JSON-parsing NBT utilities into their own class
2017-05-20 12:24:10 +01:00
SOFe
58ff381557
PhpStorm automated formatting ( #11 )
...
* PhpStorm reformatting
* Tuned PhpStorm reformatting
* Improved ItemIds and BlockIds formatting
* Tuned more PhpStorm reformatting
* Improved string concatenation
2016-10-03 19:05:48 +08:00
Shoghi Cervantes
e137ac4c56
Base PHP7 work to make it "run" - READ NEXT LINES!
...
All plugins will need to bump the API if they want to use this.
NOTE THAT THIS IS NOT THE FINAL API 2.0.0 AND THAT THERE WILL BE MORE CHANGES.
To start updating, you might also want to read https://secure.php.net/manual/en/migration70.php and specifically https://secure.php.net/manual/en/migration70.incompatible.php
To compile PHP7 with some of the required dependencies, use https://gist.github.com/shoghicp/166ab26ce5cc7a390f45
ONLY LINUX IS TESTED, DO NOT ASK FOR OTHER PLATFORMS!
----- THIS VERSION IS NOT SUPPORTED -----
This version WILL crash randomly in unexpected places due to PHP7, pthreads, PocketMine or cosmic rays.
Handle with care, and store under direct sunlight for the best performance.
2015-09-10 21:29:29 +02:00
Shoghi Cervantes
7f8b39a63c
Renamed NBT tags to have Tag in the name
2015-08-23 00:25:29 +02:00
Shoghi Cervantes
a9ead5567b
Improved NBT json parsing, attribute base
2015-08-08 22:39:43 +02:00
Shoghi Cervantes
75b7b03857
Added support for more NBT data, renaming inventories, fixed tags not being saved, added support for tags in /give
2015-08-07 16:28:27 +02:00
Shoghi Cervantes
e2bae92df8
Updated language files and command descriptions
2015-04-12 00:59:12 +02:00
Shoghi Cervantes
c2138aa30c
More language files
2015-04-11 12:56:38 +02:00
Shoghi Cervantes
0c041ebca3
Added base translation system
2015-04-11 01:32:08 +02:00
Shoghi Cervantes
4383e272eb
Added Effects base, /effect and methods
2015-03-15 23:15:54 +01:00
Shoghi Cervantes
a98da3bab1
Renamed old getID() calls to getId()
2014-12-07 15:21:32 +01:00
Shoghi Cervantes
279a438ae6
Fixed spawning of Tile entities via chunk packets
2014-06-22 18:05:42 +02:00
Shoghi Cervantes
f073a5b837
Fixed a few things
2014-06-17 18:46:16 +02:00
Shoghi Cervantes
9e8f015dc0
Changed commands to use CommandSender::getServer()
2014-06-17 18:41:10 +02:00
Shoghi Cervantes
a2b3a4bb90
Removed not valid TimeCommand
2014-05-23 22:46:08 +02:00
Shoghi Cervantes
0be679c9d5
Updated method names: getMetadata() & setMetadata() to getDamage() & setDamage() on Block and Item classes
2014-05-22 18:37:28 +02:00
Shoghi Cervantes
df3e456162
Added /give, /gamemode
2014-04-02 05:59:26 +02:00