712cafa0cc
Item: remove redundant meta constructor params
...
these ctor params should only be used for variants in the ItemFactory registration, but all of these items have no non-zero variants anyway.
2018-10-26 16:29:14 +01:00
88a05845c2
Item: Removed protected block field, items should now override getBlock()
2018-02-16 11:06:29 +00: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
02f42eba48
Move block registration to its own class
2017-08-20 18:05:01 +01:00
06083d6dc4
s/Item/Block
2017-08-07 16:26:27 +01:00
8a3b31077e
Fixed some items not keeping meta when constructed, close #968
2017-07-30 19:46:24 +01:00
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
9004417456
Fixed file headers ( #255 )
2017-01-13 16:57:05 +00:00
329a525ea1
Implemented food and hunger
2016-02-10 22:49:48 +08:00
dd17652aca
Fixed wrong paths
2014-04-01 05:06:12 +02:00