61 Commits

Author SHA1 Message Date
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
f093a6498d Added base enchantment adding utilities, /enchant command 2015-08-08 16:03:04 +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
Shoghi Cervantes
7fd053fb09 More changes! Alsp added Anvil block and BinaryStream 2015-08-03 18:04:13 +02:00
Shoghi Cervantes
4258e22c02 Made some changes for 0.12 2015-08-01 19:14:44 +02:00
Shoghi Cervantes
0380e9009a Added block break tool type, fixed falling sand, fixed duplicated jungle leaves 2015-07-27 20:31:55 +02:00
Shoghi Cervantes
ac4194eb3f Added lily pad, checked some bounding boxes 2015-06-05 13:58:59 +02:00
Shoghi Cervantes
c8abbf4f2f Added Snowballs to the creative inventory 2015-05-29 10:04:31 +02:00
Shoghi Cervantes
c4d63326be
Fixed fix for flowers, removed corrupted flower state, added proper identifiers that do not collide, added remaining IDs everywhere for consistency, removed magic number for constants, closes #3058 2015-05-23 22:49:06 +02:00
matcracker
388f5c2c91
Added flowers compatible with MCPE 0.11.
Signed-off-by: Michael Yoo <michael@yoo.id.au>
2015-05-23 21:57:59 +09:30
Shoghi Cervantes
08a612954e Added creative mode block list API 2015-04-17 18:01:10 +02:00
Shoghi Cervantes
3224cd7dc5 Added Grass Path block, fixed redstone blocks not being able to be placed 2015-04-10 19:05:10 +02:00
Shoghi Cervantes
76767294bf Fish items, block of redstone! 2015-04-08 15:34:50 +02:00
Alex
91315645cd Added missing LEATHER_BOOTs to Item::$list
For some reason the leather boots are missing.
2015-03-28 07:25:42 +01:00
Alex
4a79c65544 Corrected MINECART constant definition on Item.php
MINECART was defined as 329, where it should be 328.
2015-03-24 23:47:33 +01:00
Shoghi Cervantes
83360187c9
Removed fence classes, added fence damage (¬¬ Mojang) 2015-01-08 17:51:29 +01:00
Shoghi Cervantes
d207a5daea
WTF, ghost objects and why does this fix it? (and btw, fixes #2488) 2015-01-03 03:38:25 +01:00
Shoghi Cervantes
6dcb5da069 Added Double Plant block, fixes damage walking inside it. 2014-12-21 14:28:45 +01:00
Shoghi Cervantes
747f7685e7 Fix formatting issues due to bad IDE settings 2014-12-07 16:30:04 +01:00
Shoghi Cervantes
7506f01302 Improved Item property handling 2014-12-07 15:51:00 +01:00
Shoghi Cervantes
a98da3bab1 Renamed old getID() calls to getId() 2014-12-07 15:21:32 +01:00
Shoghi Cervantes
294e680d5d Added armor items and max stack size for them. 2014-12-04 00:04:09 +01:00
Shoghi Cervantes
6d09754ea7 Improved Inventory->addItem(), fixed breaking containers duplicating the last slot, removed not necessary slot changes 2014-11-27 20:10:55 +01:00
Shoghi Cervantes
522b75645c Merge branch 'master' into 0.10 2014-11-05 19:04:36 +01:00
Shoghi Cervantes
8fd6582e74 Automatically set Entity / Tile entity save identifiers 2014-11-04 12:04:08 +01:00
Shoghi Cervantes
413bd3c0df Use SplFixedArray for improved performance 2014-11-01 22:12:35 +01:00
Shoghi Cervantes
d3327f450c Added different Fence Gates, new Fence Gate crafting recipes 2014-10-18 17:56:18 +02:00
Shoghi Cervantes
570cab9c66 Added different Fences, new Fence crafting recipes 2014-10-18 17:44:24 +02:00
Shoghi Cervantes
22ad75c5a0 Update fuel duration to ticks 2014-10-09 12:21:14 +02:00
Shoghi Cervantes
b83c6fbfa3 Added Vine blocks, closes #2162 2014-10-07 10:18:02 +02:00
Shoghi Cervantes
ee7d84dfbd Fixed T_DOUBLE_COLON 2014-09-19 09:48:02 +02:00
Shoghi Cervantes
d312d2a143 Possible fix for #2046, removed embedded class names 2014-09-19 09:44:58 +02:00
Shoghi Cervantes
be70121f3a Renamed Item\Block to Item\ItemBlock 2014-08-28 22:28:32 +02:00
Shoghi Cervantes
eab86f5f90 Replaced array() with [] 2014-08-28 17:04:22 +02:00
Shoghi Cervantes
8f66d03d99 Improved Item::get() 2014-08-27 12:43:54 +02:00
Shoghi Cervantes
01ebe74974 Performance improvements in blocks and Entities 2014-08-24 14:08:17 +02:00
Intyre
e91781cbf2 EndPortal, EndStone, MonsterSpawner, Mycelium and Podzol blocks added 2014-08-17 02:00:17 +02:00
Shoghi Cervantes
169c55443a Fixed #1213 2014-06-16 23:00:54 +02:00
Shoghi Cervantes
6983ddf509 Added new implemented blocks to Creative menu 2014-06-16 16:41:49 +02:00
Shoghi Cervantes
8bc3ff5726 Added Emerald ore, Emerald, Emerald block 2014-06-16 16:24:09 +02:00