Redned
1a0ac26398
Move leak detector to standalone bootstrap class
2021-07-18 17:44:08 -05:00
Redned
39324ce95d
Go back to normal thread for now using MSA auth, and only toggle leak detector on standalone
2021-07-18 17:41:47 -05:00
Redned
ae4e4397e3
Use a CompleteableFuture rather than constructing a new thread for logins
2021-07-18 17:04:16 -05:00
Redned
15863bdaef
Disable netty's resource leak detector if no level is set
2021-07-18 16:24:55 -05:00
Redned
95a1cbfa24
Some more micro optimizations
2021-07-18 15:43:04 -05:00
Redned
1ad952b581
Handle locale stuff downloading of main thread and add doc to Object2IntBiMap
...
Technically LocaleUtils is not thread safe and people running Geyser for the first time on slow internet connections may see some untranslated messages. However, we were seeing startup times of about 1+ minutes on these slow connections, and it's better that players see untranslated messages for a short period of time rather than having to wait over a minute for the program to start up.
Once the locale is installed, it doesn't need to be redownloaded again (unless there is a game update) and all translated messages will just work once this download is complete without clients needing to relog.
2021-07-18 15:20:40 -05:00
Redned
b4921132e1
Replace BiMap with an Object2IntBiMap
2021-07-18 14:43:17 -05:00
Redned
fde36a2234
Fix check for missing item mapping and update mappings submodule
2021-07-18 12:47:02 -05:00
Camotoy
0e72952e0b
Merge branch 'master' of https://github.com/GeyserMC/Geyser
2021-07-18 11:13:37 -04:00
David Choo
2766038db9
Update player bounding box in more scenarios ( #2377 )
...
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2021-07-18 10:58:08 -04:00
Camotoy
697f35f657
Specify the first and last relevant block runtime IDs for items
...
Improves startup time and processing
2021-07-17 18:09:55 -04:00
RednedEpic
ff280ef192
Replace Reflections usage with an annotation processor
...
Reduces jar size by about 1.5-2mb
2021-07-17 13:36:04 -05:00
Camotoy
80b8d18c31
Replace more instances of String#split with BlockUtils#getCleanIdentifier
2021-07-17 09:43:25 -04:00
David Choo
4e629feee8
Fix block unique Java IDs ( #2390 )
2021-07-17 09:33:38 -04:00
Konicai
a947f950fa
Fix made with java badge ( #2379 )
2021-07-16 19:55:19 -05:00
Camotoy
4844302883
Merge branch 'extended-world-height'
2021-07-16 20:21:43 -04:00
Camotoy
01873ea566
Change some comments
2021-07-16 20:18:13 -04:00
Camotoy
8e593a55a3
Adjust language strings for new options
2021-07-16 20:06:09 -04:00
Camotoy
f03a2dd317
Remove goat horn from creative menu; use proper sculk sensor item
2021-07-16 12:28:11 -04:00
Camotoy
fcbd90c4d6
Require 1.17.1 or greater
2021-07-16 10:53:48 -04:00
Camotoy
7972f089d9
Oops
2021-07-15 20:51:35 -04:00
Camotoy
db1563aa79
Better estimate for new biome data size
2021-07-15 20:51:13 -04:00
Camotoy
3b55826d70
Make the ByteBuf in ChunkDataTranslator allocate a more decent size
2021-07-15 18:33:49 -04:00
Camotoy
99a7f9a012
Explain that yes, we have to write 32 biome palettes always
2021-07-15 18:31:47 -04:00
Camotoy
89370ef648
Explain new changes in BedrockMovePlayerTranslator
2021-07-15 18:27:43 -04:00
Camotoy
143464b5a9
Respect Javadoc's wishes
2021-07-15 18:12:08 -04:00
Camotoy
25edf41329
Some optimizations
...
- Fix recipe registry not using an int key-based map
- Versioned registries now use Fastutil more effectively
- Replace uses of String#split for block identifier manipulation with #indexOf and #substring
- Reuse Patterns in collision loader
2021-07-15 18:03:41 -04:00
Camotoy
11874aaa9b
Merge branch 'master' of https://github.com/GeyserMC/Geyser into extended-world-height
2021-07-14 22:00:23 -04:00
Camotoy
e5cb122db3
Use normal biome data for non-extended world height
2021-07-14 21:59:10 -04:00
Camotoy
d19ff657de
Ensure overworld constraints are used everywhere
2021-07-14 21:46:56 -04:00
Camotoy
feb64e08df
Fix biomes crashing and more (huge thanks to @dktapps
2021-07-14 21:14:53 -04:00
Camotoy
ba4e0cf5b9
Fix scaffolding and auto crafting
...
Fixes #2381
2021-07-14 09:33:34 -04:00
Camotoy
ac9da9a5a0
Fix flower pot updating
2021-07-13 21:47:13 -04:00
Camotoy
a1706365b9
Potted azaleas are now visible
2021-07-13 21:14:22 -04:00
Camotoy
c7d4130a44
Start of extended world height support
2021-07-13 20:48:45 -04:00
Camotoy
b2619fa7c7
Address some null pointers ( fixes #2378 , #2380 )
2021-07-13 18:12:55 -04:00
Camotoy
7660ebb48b
Update to the latest Geyser version
2021-07-12 21:55:42 -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
887296ef78
Round up health attribute for all living entities ( fixes #2362 )
2021-07-09 10:28:03 -04:00
Camotoy
334e4fb059
Fix players being 'dead' even with half heart
2021-07-08 20:21:21 -04:00
Camotoy
92cd36d81f
Fix horse jump meter showing if not saddled
2021-07-08 18:55:28 -04:00
Camotoy
32bbd8ae1c
Attribute rewrite
...
This commit solves a couple issues:
- Entities that don't implement LivingEntity don't need to bother with attributes
- We don't need to cache all attributes for every entity
- Mounted entities' hearts were inconsistent
No entity as of this commit caches their attributes except for the player entity.
2021-07-08 10:30:59 -04:00
Camotoy
ad9987517d
Remove unused Fastutil dependencies
2021-07-07 11:05:18 -04:00
Camotoy
8edf36e063
Actually mark the squid as leashable
2021-07-06 21:39:54 -04:00
Camotoy
2d85505351
Mark new 1.17 mobs and squids as leashable
2021-07-06 21:38:30 -04:00
Camotoy
e162cd526c
Micro-optimizations in player entity code
2021-07-06 18:09:01 -04:00
Camotoy
9eec08b9dc
Depend on Velocity release 3.0.0
2021-07-06 15:37:58 -04:00
Camotoy
438b39cb05
Update mappings to fix #1460
2021-07-06 15:37:19 -04:00
Camotoy
b407e8a748
Merge branch 'master' of https://github.com/GeyserMC/Geyser
2021-07-06 10:20:32 -04:00
Camotoy
9aa7240f37
Update README
2021-07-06 10:20:06 -04:00