rtm516
cfaf4051b7
Add Translation support ( #504 )
...
Adds full multi-language support to any Bedrock-supported language.
Co-authored-by: DoctorMacc <toy.fighter1@gmail.com>
2020-07-05 19:35:51 -04:00
AJ Ferguson
ba9129129c
Quick inventory fixes. WIP
...
Temporary. The inventory system will be rewritten very soon.
2020-06-26 18:51:09 -08:00
DoctorMacc
ea1a9e5427
Bedrock 1.16 updating part 1
2020-06-22 20:11:09 -04:00
rtm516
a91eaa7821
Add item name translation ( #559 )
...
* Added item name translation
* Change to more appropriate NPE catch
* Remove whitespace
* Switch from try/catch to null checking
* Update mappings
Co-authored-by: DoctorMacc <toy.fighter1@gmail.com>
2020-06-02 16:33:37 -04:00
RednedEpic
6b68bbb413
Large refactoring to item translator and registry/util classes
...
- Merged ItemTranslator and ItemStackTranslator together.
- Split ItemTranslator into two classes: ItemTranslator and ItemRegistry. The registry is where items are registered, and the translator class is where item translation takes place.
- Made most of ItemTranslator's methods static and removed the initialization in Toolbox.
- Moved a handful of registry classes previously ending with 'Utils' to a 'Registry' class to be more fitting for the term.
- Moved inventory and block entity registration out of Translators.
- Renamed Translators to PacketTranslatorRegistry.
- Yeeted Toolbox.
- Minor cleanups and small refactors.
2020-05-24 20:07:05 -05:00
Luke
4c1dae6714
Add unusable inventory space message ( #492 )
...
* Add unusable inventory space message
* Remove unused imports
* Fixed barrier pickup (#1 )
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2020-05-06 16:05:03 -05:00
Luke
7195d20fae
Implement helper methods for sending packets ( #487 )
...
* Implement helper methods for sending packets, fixes an NPE when chatting before connecting to the remote server
* Change method names
* Add a space between doc comment lines
* Add debug messages
2020-05-05 10:51:43 -05:00
Camotoy
ebbb656d45
Revert sending message when creative crafting table is used ( #440 )
2020-04-27 15:49:24 -05:00
rtm516
1a53f53d78
Added barriers to creative inventory crafting grid ( #426 )
2020-04-25 17:33:52 -05:00
Camotoy
36708da1d6
Add message when you try to use creative crafting table ( #422 )
...
* Add message when you try to use creative crafting table
* Update message; set access level
2020-04-25 17:29:26 -05:00
ForceUpdate1
733ec2a0ec
Implement Updated Item Translator ( #388 )
...
* add item translator
* add item translator
* add nbt item translator
* fix empty list tags
* formatting code
* use Int2ObjectMap
remove session
* rename annotation
2020-04-22 16:26:16 -05:00
RednedEpic
be9396f585
Merge branch 'master' into inventory
2020-04-02 17:01:17 -05:00
AJ Ferguson
bfca25bbe3
Fix compile errors
2020-02-25 22:31:55 -09:00
AJ Ferguson
3d61b3ce28
Bump OpenNBT lib to 1.4-SNAPSHOT
...
This fixes the NPE when sending an ItemStack with a null NBT tag.
This also fixes some item movement bugs on pure vanilla servers.
2020-01-30 23:15:18 -09:00
AJ Ferguson
1a9aa4255f
Some refactoring and bug fixes
...
Still much to do.
Inventory desyncing when crafting will be fixed soon.
2020-01-30 16:05:57 -09:00
AJ Ferguson
d07404406b
Cleanup and fixes
2019-12-01 16:28:09 -09:00
AJ Ferguson
24e5d34ce9
Cleanup
2019-11-29 15:49:29 -09:00
AJ Ferguson
489c39e900
Start adding support for crafting
...
Expect bugs
2019-11-27 18:55:58 -09:00
AJ Ferguson
625817c282
Implement some more windows
...
anvil, brewing stand, crafting table (still no crafting yet), shulker box
2019-11-05 14:17:22 -09:00
AJ Ferguson
24c27a03a9
Various fixes
...
Fix offhand, use AtomicInteger for transaction id, send null stack instead of air, and clear open inventory on dimension change
2019-10-22 15:31:03 -08:00
AJ Ferguson
88648f705e
Work on inventory transactions
...
work in progress
2019-10-20 13:25:41 -08:00