Dylan K. Taylor
c1843ac2d4
Player: remove dataPacket() and directDataPacket()
...
I considered renaming sendDataPacket() to dataPacket() to reduce the BC breaks, but the parameter set has changed, which might cause astonishing behaviour, so it's better to break it in a loud way. Also, this has a clearer name.
2018-07-22 12:04:53 +01:00
Dylan K. Taylor
cd35bd6872
git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
2018-03-11 10:31:25 +00:00
Dylan K. Taylor
a84aba5517
Replaced some bad usages of Vector3 get*() with their respective getFloor*()
2018-02-14 18:45:10 +00:00
Dylan K. Taylor
2fb580db26
Inventory: Removed need for Inventory to have an InventoryHolder
...
Inventory holders are now freed from BaseInventory. They are now declared by subclasses by convention, but are not required in most cases.
Ideally, this would be followed by the removal of the need for inventories to know their holders at all. They should just be simple containers of items.
This fixes #1560 by removing FakeBlockMenu.
2018-01-22 19:44:52 +00:00
Dylan K. Taylor
4f8e4f0522
Add EOF newlines where missing (bulk) ( #1836 )
...
This should solve issues with people making GitHub PRs and having the web editor messing things up. GitHub Web Editor sucks :(
2017-12-20 11:56:36 +00:00
Dylan K. Taylor
04668d534d
Oops, these fields need to be filled
2017-10-16 11:50:34 +01:00
Dylan K. Taylor
092cc2750f
Added entity unique ID for Entity containers
...
minecart with chest for example
2017-10-16 11:49:34 +01:00
Dylan K. Taylor
f01ce8e994
null and void typehints
2017-09-21 12:54:04 +01:00
Dylan K. Taylor
90fb3c5e12
Moved getNetworkType() to ContainerInventory since it's not used anywhere else
2017-09-19 19:57:22 +01:00
Dylan K. Taylor
75644b5df2
s/windowid/windowId
2017-08-08 12:37:26 +01:00
Dylan K. Taylor
98e0a2ecba
Removed InventoryType, added new inventory API methods
2017-08-07 11:31:36 +01:00
Dylan K. Taylor
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
Dylan K. Taylor
9c25ec3afd
Some protocol changes for 1.1.0.0
2017-04-01 19:20:30 +01:00
Dylan K. Taylor
56990eb28b
MCPE protocol gets its own namespace
2017-03-08 20:28:39 +00:00
SOF3
6fc435da0e
Imports rearrangement
2016-10-03 00:43:46 +08:00
Shoghi Cervantes
31ef7721b1
Removed network channels, bumped protocol
2015-08-12 14:59:48 +02:00
Shoghi Cervantes
0b176b3fe0
Implemented Channeled packet sending
2015-04-14 18:24:40 +02:00
Shoghi Cervantes
8601405a88
Fixed CPU leak
2014-10-31 21:07:00 +01:00
Shoghi Cervantes
afaa2cf722
Fixed Double Chest behavior
2014-10-29 12:57:26 +01:00
Shoghi Cervantes
db82f76c11
Improved network packets allocation
2014-10-27 20:30:33 +01:00
Shoghi Cervantes
8d40f843cf
MainLogger can now have debug level disabled
2014-05-29 00:08:02 +02:00
Shoghi Cervantes
f66560ccd4
Update ContainerInventory on Transaction refused
2014-05-28 17:11:06 +02:00
Shoghi Cervantes
6746987ce5
Added CraftItemEvent, Crafting system now uses Transactions
2014-05-27 17:49:22 +02:00
Shoghi Cervantes
1fd7e0431b
Added CustomInventory, StoneCutter inventory type, network IDs, fixed viewer list bugs
2014-05-24 01:30:58 +02:00
Shoghi Cervantes
53749483c3
Implemented new Inventory windows on Player, Chest and Furnace
2014-05-23 20:53:06 +02:00