131 Commits

Author SHA1 Message Date
SOFe
175dd0efa6 PhpStorm inspections
Fixed some minor bugs and dropped some obsolete code

pocketmine\level\generator namespace is ignored in this commit
2016-12-14 21:49:35 +00:00
Dylan K. Taylor
d6629d6843 More ?? (#131)
* More ??

* fix undefined variable
2016-11-30 10:07:37 +00:00
Dylan K. Taylor
aa713c4e4a Added ability to specify tag name for serializing 2016-11-27 12:17:11 +00:00
Dylan K. Taylor
e51a2725de Remove circular dependency between Item and NBT modules (#121) 2016-11-25 10:17:50 +00:00
Dylan K. Taylor
5a8008367f Updated creative inventory json with better NBT encode/decode, fixes enchanted books issues 2016-11-09 14:20:24 +00:00
Dylan K. Taylor
911529a6cc Added jsonSerialize() to Item and fixed some crafting data decode issues 2016-11-09 14:20:24 +00:00
Dylan K. Taylor
9d16f145dd Creative inventory update with unknown item filter 2016-10-27 12:13:27 +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
SOF3
e913b16804
Fixed some lines indented with 4 spaces rather than tabs 2016-10-03 00:58:34 +08:00
SOF3
6fc435da0e
Imports rearrangement 2016-10-03 00:43:46 +08:00
SOFe
a7366324e5 Fixed RawChicken::getAdditionalEffects return values (#4)
* Fixed RawChicken::getAdditionalEffects returns void

* Update RawChicken.php
2016-10-01 16:35:20 +01:00
dktapps
2a4f85107d Less duplication, more consistency 2016-09-28 13:59:53 +01:00
Jorge González
012d46dfd8 Added Mob Heads
Fixed duplicated items in JSON file
2016-03-22 22:25:36 -06:00
PEMapModder
fc08759199 Merge pull request #3978 from PEMapModder/attr
Implemented attributes
2016-03-07 18:15:15 +08:00
PEMapModder
1574a823d4 Fixed #3864 2016-02-22 16:29:41 +08:00
PEMapModder
17c73e9764 Fixed #3690 2016-02-22 16:26:35 +08:00
PEMapModder
5459576833 Added hunger and experience saving 2016-02-17 19:56:19 +08:00
PEMapModder
e79976bdac Added events 2016-02-11 22:07:04 +08:00
PEMapModder
8807617480 Fixed attriutes not sending 2016-02-11 18:45:58 +08:00
PEMapModder
28967ca495 Fixed eating 2016-02-11 15:42:07 +08:00
PEMapModder
329a525ea1 Implemented food and hunger 2016-02-10 22:49:48 +08:00
Intyre
e597314331
Read creative menu items from json 2016-01-28 04:39:30 +01:00
Intyre
8a0bd85656
Item and Block, some wont work yet 2016-01-28 04:37:09 +01:00
Intyre
d5f3c19054
Fix crafting not taking item from inventory 2016-01-25 23:10:18 +01:00
Intyre
a2734f6dc0
Merged master into php7 to support 0.13.1 2016-01-22 17:36:45 +01:00
Intyre
2ddc4455c5
Added some blocks and items 2015-11-29 01:46:35 +01:00
Intyre
734736492a
Added some creative items and removed nether reactor 2015-11-23 21:56:38 +01:00
Intyre
19b2e1b4af
sorted items in init() 2015-10-01 20:05:31 +02:00
PEMapModder
cc8eca3084 Fixed string class conflict 2015-10-02 01:52:10 +08:00
PEMapModder
6013213159 More items 2015-10-01 08:23:05 +02:00
willowmaster66
a3bce67d35 Updating blocks and items
Added new blocks/items and added constants to existing blocks/items for
clearer recipe making.
2015-09-18 22:17:24 +02: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
fabb632286 More changes! 2015-08-13 18:02:10 +02:00
Shoghi Cervantes
6e2ea63ce1 Merge remote-tracking branch 'origin/master' into mcpe-0.12 2015-08-12 15:00:04 +02:00
Marcus Zhou
25b9946d9e Fix wrong id passed to constructer in CookedFish.php 2015-08-11 23:06:40 +08:00
Shoghi Cervantes
a9ead5567b Improved NBT json parsing, attribute base 2015-08-08 22:39:43 +02:00
Shoghi Cervantes
f093a6498d Added base enchantment adding utilities, /enchant command 2015-08-08 16:03:04 +02:00
Shoghi Cervantes
4dd0469792 Base enchantment class 2015-08-08 14:53:03 +02:00
Shoghi Cervantes
d4163ea01c Added sneaking, sprinting 2015-08-08 13:02:59 +02:00
Shoghi Cervantes
b3efb733a2 Improved block breaking timing, added faster block breaking with swords 2015-08-08 00:33:52 +02:00
Shoghi Cervantes
01d93d6e10 Added CanPlaceOn tag 2015-08-07 22:13:52 +02:00
Shoghi Cervantes
1fa467eb58 Proper recipe ingredient matching, fixed crafting type resetting 2015-08-07 22:00:35 +02:00
Shoghi Cervantes
d026e2ecf0 Implemented new crafting mechanism 2015-08-07 21:26:12 +02:00
Shoghi Cervantes
696edfd31f Added custom block data (example, chests), better deep checking of same NBT 2015-08-07 17:24:35 +02:00
Shoghi Cervantes
d1bfb304cb Added some extra tile entities, fake enchanting table 2015-08-07 12:07:39 +02:00
Shoghi Cervantes
02cb9d69a9 Save items properly on several places, added NBT::getItemHelper() and NBT::putItemHelper() 2015-08-06 21:44:00 +02:00
Shoghi Cervantes
554bfb4855 Added methods for adding custom names directly to items 2015-08-06 21:09:37 +02:00
Shoghi Cervantes
091d0b3ff9 Added compound tag checking for Item->equals() 2015-08-06 20:25:22 +02:00
Shoghi Cervantes
2cec6812a8 Added extra data printing for Items, non-automatic bytearray on NBT 2015-08-06 14:51:41 +02:00