Dylan K. Taylor
130a60f2b2
Fixed ItemFactory::isRegistered() returns false for blocks
2017-09-11 18:23:26 +01:00
Dylan K. Taylor
07268e4b37
Added API methods to determine if a block or item is already registered
2017-09-11 16:22:55 +01:00
Dylan K. Taylor
de6ebc5791
Merge branch 'php/7.0'
2017-09-03 15:00:29 +01:00
Dylan K. Taylor
90cb3c010f
Added some new items (the basic ones)
2017-09-03 14:24:21 +01:00
Dylan K. Taylor
00e4fff259
Fixed Item fromString() crash on PHP 7.2
2017-09-01 20:05:04 +01:00
Dylan K. Taylor
6abef6b22d
Made block and item factory lists private to stop people doing stupid things with them
2017-08-29 10:53:01 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
4ab286a142
Generated some Item TODOs
2017-08-25 14:35:50 +01:00
Dylan K. Taylor
44dd7c2222
Removed some redundant item classes
2017-08-25 14:07:50 +01:00
Dylan K. Taylor
8a35b9da29
Added some documentation
2017-08-22 10:28:43 +01:00
Dylan K. Taylor
876659cc73
Item factory refactor and added capability to register custom items
2017-08-21 17:49:26 +01:00