Commit Graph

24 Commits

Author SHA1 Message Date
2088a43c56 Refactored tool hierarchy 2017-12-12 13:45:51 +00:00
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
aa91183504 Added Durable class, fixed some tools not breaking correctly, removed some boilerplate code 2017-10-08 15:54:31 +01:00
697ea55fb7 Another typehint 2017-08-27 20:01:38 +01:00
9e142655ea Removed redundant count parameter from item constructors, added some documentation and tightened safety checks
the count parameter is useless since Item ctor should now only be used for constructing item _types_, not actual items. All item creations for inventories etc, should go through the ItemFactory.
2017-08-25 19:06:23 +01:00
44dd7c2222 Removed some redundant item classes 2017-08-25 14:07:50 +01:00
7ff143c793 Some minor tool cleanup 2017-08-25 13:19:21 +01:00
51b0673b4b Bite the bullet and enable strict types on everything 2017-06-07 12:53:16 +01:00
329a525ea1 Implemented food and hunger 2016-02-10 22:49:48 +08:00
7f8b39a63c Renamed NBT tags to have Tag in the name 2015-08-23 00:25:29 +02:00
b3efb733a2 Improved block breaking timing, added faster block breaking with swords 2015-08-08 00:33:52 +02:00
02cb9d69a9 Save items properly on several places, added NBT::getItemHelper() and NBT::putItemHelper() 2015-08-06 21:44:00 +02:00
f3c46b12c5 Block breaking part 1 2015-07-27 20:31:55 +02:00
fbbe02a3bc Fixed some issues related to new indexes 2015-05-16 22:36:55 +02:00
747f7685e7 Fix formatting issues due to bad IDE settings 2014-12-07 16:30:04 +01:00
7506f01302 Improved Item property handling 2014-12-07 15:51:00 +01:00
a98da3bab1 Renamed old getID() calls to getId() 2014-12-07 15:21:32 +01:00
dda9c598f1 Added new Tool type selection constants 2014-10-07 10:16:05 +02:00
eab86f5f90 Replaced array() with [] 2014-08-28 17:04:22 +02:00
279a438ae6 Fixed spawning of Tile entities via chunk packets 2014-06-22 18:05:42 +02:00
f073a5b837 Fixed a few things 2014-06-17 18:46:16 +02:00
778ec96d72 Added Hardened Clay and Stained Clay 2014-06-16 16:02:01 +02:00
7cd29f0fcf Added block updates, correct block placing 2014-04-02 05:36:45 +02:00
9a5ffbe56c Added Tool for Items, new items 2014-04-02 04:26:53 +02:00