Camotoy
bc0cfde8f9
Set the minimum Java version to 16; drop Bedrock 1.17.0 ( #2477 )
2021-09-10 14:10:56 -04:00
Camotoy
93f5298ee3
Introduce specialized maps for block state operations
...
By introducing fixed maps, we are able to reduce the overhead of needing to store arbitrary numbers; fixed maps start at one number and must be sequential. This commit also reduces some overhead of lecterns in block updating as we are able to utilize our own maps to reduce object boxing and removing the function of Map#compute of trying to re-insert a value.
2021-09-09 21:33:48 -04:00
David Choo
8461cf76b7
Smooth Pistons ( #1542 )
...
With proper piston collision for players as well.
2021-09-09 21:20:25 -04:00
Camotoy
a1d167d5f1
Ensure skull operations are done on the player thread
2021-08-21 19:38:13 -04:00
Camotoy
3d04a957d0
Ensure that exceptions in player event loop are handled
...
Any stray exception means that the entire event loop comes crashing down.
2021-08-17 20:57:46 -04:00
Camotoy
7ae91a40ec
Ensure every packet is ran on the same thread per player ( #2473 )
...
This removes a lot of concurrency checking that needs to be done, because there should be no way two packets can be handled at the same time.
2021-08-16 20:39:29 -04:00
David Choo
8f98162c69
Fix Item drop animation ( #2406 )
2021-07-21 21:48:59 -04:00
Camotoy
a1706365b9
Potted azaleas are now visible
2021-07-13 21:14:22 -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
139167d090
Don't hardcode the bell block ID
2021-06-15 14:48:18 -04:00
Camotoy
01822672a5
Remove debug elements
2021-06-08 08:57:03 -04:00
Camotoy
0162257d30
Glowing text on signs is Bedrock 1.17.10. :(
2021-06-06 09:55:38 -04:00
Camotoy
fc4f2b7890
Remove usage of translation strings for code-related errors
...
These should never ever be seen by a normal user, and if so, developers need to see the proper error message
2021-06-06 09:35:56 -04:00
Camotoy
1fe179c6d2
Implement glow item frames
2021-06-03 19:04:28 -04:00
Camotoy
f5c5d0cd39
Support 1.17-pre3 and Bedrock 1.17.0.58
2021-06-01 21:12:58 -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
c588127648
Yeet block tool type
...
This is 99% controlled by the server now.
2021-05-19 22:34:50 -04:00
Camotoy
b5307ab3ed
21w20a support
2021-05-19 22:24:11 -04:00
Camotoy
024655f008
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/1.17
2021-05-19 17:53:06 -04:00
Camotoy
ce000a496b
Use tags sent from the server, where possible ( #2188 )
...
Java Edition has a tags system that allows for some server-side control of certain properties. This PR allows for piglin trading items, wool, and flowers to be determined from the server.
2021-05-02 21:47:11 -04:00
Camotoy
e692b53c3f
Initial update for 21w17a
2021-05-01 23:19:49 -04:00
Camotoy
beb7e54b7a
Fix llama carpet decoration ( #2125 )
2021-04-16 11:30:17 -04:00
Camotoy
120769c7f6
Allow for crawling and moving in one-block spaces where possible ( #1814 )
...
This commit brings full support for crawling, sneaking under 1.5-block-tall spaces, and swimming in one-block areas. There is a check in place that decreases the player's speed to something comparable to Java if they are in a situation where they would otherwise go at normal walking speed (for example: without the check, a Bedrock player would go at full walking speed while crawling).
2021-04-12 00:35:53 -04:00
Camotoy
8e28e445ba
More 1.16.220 fixes... ( #2118 )
...
- Fix pre-1.16.220 creative menu having duplicate items
- Fix 1.16.220 creative menu usage
2021-04-10 00:31:24 -04:00
Camotoy
10c77a3214
Fix sign color changes messing with character count ( #2054 )
...
Color changes do not affect the maximum amount of characters allowed on a line.
2021-03-21 11:28:19 -04:00
Camotoy
821e3126ea
Handful of review fixes
2021-03-12 11:51:37 -05:00
Camotoy
370f3c18ba
Use compute for determining if a lectern if present
...
Reduces having to call both containsKey and get.
2021-03-10 13:54:09 -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
d19bf07b7a
Don't allocate the entire block size
2021-03-08 16:42:41 -05:00
Camotoy
3f14624d46
Fix some villager block trades being unable to stack
2021-03-08 15:53:47 -05:00
Camotoy
6be71fc045
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2021-02-26 00:46:44 -05:00
Camotoy
acbcf4baf3
Fix shulker boxes resetting data and set all shulker boxes as valid
2021-02-25 21:51:50 -05:00
David Choo
b7828267a5
Projectile Movement ( #1929 )
...
Fixes
#1780
#1778
The laggy fireballs
Llama spit
Shulker bullets
2021-02-19 11:12:36 -05:00
Camotoy
85b8fe2734
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2021-02-17 19:33:51 -05:00
Camotoy
d9f8e9eec2
Improve command freezing and fix up command suggestion translation ( #1936 )
...
Merge commands with the same parameters (thanks Supreme)
Add more suggestion types (blocks, items, entities)
More optimizations
Co-authored-by: SupremeMortal <6178101+SupremeMortal@users.noreply.github.com>
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2021-02-17 18:00:00 -05:00
Camotoy
78337830c6
Use the real block for opening inventory when possible
2021-02-12 14:39:41 -05:00
Camotoy
47879c913b
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2021-02-04 21:25:29 -05:00
Brave Chicken
db38b0d45d
Fix EndGateway translation issue ( #1892 )
...
* Fix EndGateway translation issue.
* Change contains check to instanceof LongTag as requested.
* Add space after if as requested.
Co-authored-by: Brave_Chicken <bravechickengamer@gmail.com>
2021-02-02 11:40:28 -05:00
Camotoy
4db9ec92bf
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2021-01-11 19:46:39 -05:00
Camotoy
ade4c14911
Block breaking refactors ( #1336 )
...
Client-side block animations and reach checks are now added.
This commit also includes cleanup in BlockChangeTranslator as well as proper Netherite tool support for calculating block breaking.
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2021-01-07 22:43:36 -05:00
Camotoy
396d1b6b61
Fix items on campfires ( #1779 )
2021-01-01 18:33:21 -05:00
Camotoy
2a5c134ea7
Update server inventory copyrights to 2021
2021-01-01 14:22:26 -05:00
Camotoy
8317961340
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2021-01-01 14:20:52 -05:00
Camotoy
186d94917a
Update copyright to 2021 ( #1772 )
...
* Update copyright to 2021
Free commit!
* These don't need a copyright
* Don't downgrade the mappings
2021-01-01 10:10:36 -05:00
Camotoy
ac4f6eceac
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2020-12-29 19:01:59 -05:00
David Choo
fe63a7f7ab
Fix pick block ( #1753 )
...
* Use pick_item mappings
* Update mappings
* Update mappings and fix wording
2020-12-29 18:09:42 -05:00
Camotoy
2265de3ae9
lecterns
2020-12-28 00:29:27 -05:00
Camotoy
0f735a8330
Block entity cleanup
2020-12-23 12:37:55 -05:00
Camotoy
e4ecd1a092
Merge branch 'master' of https://github.com/GeyserMC/Geyser into server-inventory
2020-12-23 12:32:39 -05:00