Camotoy
bc0cfde8f9
Set the minimum Java version to 16; drop Bedrock 1.17.0 ( #2477 )
2021-09-10 14:10:56 -04:00
RednedEpic
9817dc932a
Merge branch 'feature/optimizations' into master
2021-07-21 21:44:49 -05:00
Redned
b4921132e1
Replace BiMap with an Object2IntBiMap
2021-07-18 14:43:17 -05:00
Camotoy
80b8d18c31
Replace more instances of String#split with BlockUtils#getCleanIdentifier
2021-07-17 09:43:25 -04:00
Camotoy
ba4e0cf5b9
Fix scaffolding and auto crafting
...
Fixes #2381
2021-07-14 09:33:34 -04:00
Redned
f7ef90278b
Implement a new registry system ( #2306 )
...
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2021-07-12 21:19:40 -04:00
Camotoy
74a5a4a366
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/1.17.1
2021-07-04 10:36:18 -04:00
Camotoy
65c52f9ff0
Fix fishing rod durability ( fixes #1964 )
2021-06-21 18:51:43 -04:00
Camotoy
c60600e0f9
Update to 1.17.1-pre1
2021-06-20 12:35:48 -04:00
Camotoy
a2b3e1946d
Update lectern if updated via the WindowItemsPacket
2021-06-07 14:19:17 -04:00
Camotoy
ebf726ce9e
Yeet cache chunks
...
So many features require this config option, and we don't intend on supporting it being both disabled and enabled.
2021-06-01 15:36:33 -04:00
Camotoy
e692b53c3f
Initial update for 21w17a
2021-05-01 23:19:49 -04:00
Camotoy
9b39affd28
Reduce the amount of values() calls ( #2143 )
...
Because apparently it's not just a constant; it makes a new array every time.
Also, GeyserSession#tick() does not need to be public and I made enchantments in commands use the Java list.
2021-04-26 14:15:24 -04:00
Camotoy
852d5b050d
Fix item enchanting pre-1.14 ( #2127 )
...
If the server spams the window property update packet, then the network ID assigned for each enchanting slot will update too quickly, essentially disabling enchanting. This commit remedies this by only updating the network ID of each slot if a property changed.
2021-04-16 11:42:03 -04:00
Camotoy
d41d8b0ebf
Fix item durability 'resetting' on 1.16.210 ( #2042 )
2021-03-15 14:49:44 -04:00
Camotoy
e71ffa455f
Fix brewing stand fuel input
2021-03-13 23:09:37 -05:00
Camotoy
48aa586b21
More formatting fixes
2021-03-13 18:07:43 -05:00
Camotoy
23ab69702d
More review fixes and make beacon more reliable
2021-03-12 17:07:29 -05:00
Camotoy
d4c21bb74c
Merge branch 'server-inventory' of https://github.com/GeyserMC/Geyser into server-inventory
2021-03-12 11:51:48 -05:00
Camotoy
821e3126ea
Handful of review fixes
2021-03-12 11:51:37 -05:00
AJ Ferguson
bba602b01e
Fix loom output
2021-03-11 17:43:08 -09:00
Camotoy
e493415241
More cartography parity fixes
2021-03-10 14:43:54 -05:00
Camotoy
ded00dfd97
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2021-03-09 14:45:04 -05:00
Camotoy
9ae7c1de25
1.16.210 support ( #2019 )
...
This commit implements 1.16.210 support while still keeping 1.16.100 and 1.16.210 compatibility.
Co-authored-by: AJ Ferguson <AJ-Ferguson@users.noreply.github.com>
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2021-03-09 12:51:48 -05:00
Camotoy
da11cd298c
Address requests
2021-03-08 16:57:31 -05:00
Camotoy
44e9dba759
Reject requests that are unavailable spaces; other things
2021-03-08 14:17:31 -05:00
Camotoy
55a1acfcb6
Fix close request desyncs with inventories of the same type, and
...
- Small object optimization in DoubleChestInventoryTranslator
- Sending inventory ID of 0 for inventory translation is valid
2021-03-06 12:24:39 -05:00
Camotoy
16e8dd0df1
Don't confirm if the inventory is the same type
2021-03-04 14:04:11 -05:00
Camotoy
6775d88704
Handle no-NBT lecterns
2021-02-26 21:53:24 -05:00
Camotoy
acbcf4baf3
Fix shulker boxes resetting data and set all shulker boxes as valid
2021-02-25 21:51:50 -05:00
Camotoy
0727008881
Villager fixes + other stuff
...
- Consoles trading with villagers should work better
- Villagers closing their inventory work now
2021-02-25 16:12:58 -05:00
Camotoy
255c7ac0d2
Revert "Add barrel as a valid single chest block"
...
Barrels are a bit more complicated to lump in with chests for the time being. It *can* be fixed, but it requires workarounds.
This reverts commit 07f36affb9
.
2021-02-25 12:22:05 -05:00
AJ Ferguson
07f36affb9
Add barrel as a valid single chest block
2021-02-25 01:41:04 -09:00
AJ Ferguson
9e6402c279
Fixes
2021-02-24 20:14:01 -09:00
Camotoy
f849a5b9f9
A bunch of fixes
2021-02-20 23:52:49 -05:00
Camotoy
605201afc0
Make changes required for Protocol 2.6.2
2021-02-17 19:39:10 -05:00
Camotoy
22c39d285e
Make BlockInventoryHolder block strings immutable; clean up lectern unloading
2021-02-16 19:09:57 -05:00
Camotoy
ec23e409b6
Use switch statements, and change default block usage
...
This is to support future changes of using multiple block translators
2021-02-13 15:29:54 -05:00
Camotoy
ce33ca56a9
[ci skip] Formatting fixes
2021-02-12 14:43:29 -05:00
Camotoy
78337830c6
Use the real block for opening inventory when possible
2021-02-12 14:39:41 -05:00
Camotoy
8670172f8d
Revert "Start work on using the world block for inventories"
...
Oops! Not finished yet!!
This reverts commit 454896a7ad
.
2021-02-05 11:48:12 -05:00
Camotoy
454896a7ad
Start work on using the world block for inventories
2021-01-30 16:05:27 -05:00
AJ Ferguson
4a8d93752b
Handle DESTROY creative action
2021-01-29 03:34:56 -09:00
Camotoy
2d37d3f276
Add more debug logging
2021-01-29 00:36:43 -05:00
AJ Ferguson
234c6542bb
Refactor creative request translator and fix bugs
2021-01-14 19:45:59 -09:00
AJ Ferguson
95703d2ea7
Update inventory if request was rejected
2021-01-13 19:59:11 -09:00
AJ Ferguson
196c9f5c17
Remove debug lines
2021-01-13 19:19:01 -09:00
Camotoy
feae0573de
Merge branch 'server-inventory' of https://github.com/Camotoy/Geyser into server-inventory
2021-01-13 21:34:57 -05:00
Camotoy
454fd102d6
Add better destroy support
2021-01-13 21:34:47 -05:00
AJ Ferguson
d3cb069594
WIP. Autocrafting without java recipe book
2021-01-12 16:37:12 -09:00