Konicai
b86648332a
Auth type refactor in internal config ( #2410 )
2021-07-28 19:44:09 -04:00
Camotoy
5529a1cc1c
Fix spectator gamemode movement
...
- Don't allow the player to toggle flight status in spectator mode
- Fix weird flight movement when player was previously on the ground
- The player is always flying in spectator mode, no exceptions
2021-07-28 13:21:18 -04:00
David Choo
c6589136bf
Fix movement against spawners ( #2409 )
2021-07-24 10:35:23 -04:00
Camotoy
da66a01a9a
Fix possible NullPointerException in handling CanBreak/CanDestroy items
2021-07-23 21:28:28 -04:00
Camotoy
11f048a065
Better logic for item updating on item entities
...
Specifically created to address InteractionVisualizer updating all metadata properties when updating the nametag - this commit prevents the item from jumping on updating. It also prevents the entity from being respawned if just the stack size updated.
2021-07-22 09:16:19 -04:00
RednedEpic
9817dc932a
Merge branch 'feature/optimizations' into master
2021-07-21 21:44:49 -05:00
David Choo
8f98162c69
Fix Item drop animation ( #2406 )
2021-07-21 21:48:59 -04:00
Redned
95a1cbfa24
Some more micro optimizations
2021-07-18 15:43:04 -05:00
Redned
b4921132e1
Replace BiMap with an Object2IntBiMap
2021-07-18 14:43:17 -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
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
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
11874aaa9b
Merge branch 'master' of https://github.com/GeyserMC/Geyser into extended-world-height
2021-07-14 22:00:23 -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
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
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
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
605f56b895
Update to 1.17.1-rc1
2021-07-04 10:42:28 -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
7ae27c79e8
Ensure that the player never dimension switches to the same dimension
...
Fixes #2342
2021-07-01 08:48:22 -04:00
Camotoy
b757032457
Show iron golem attack animation
...
TODO: Do the same for the hoglin and zoglin - this requires more work with the hitbox.
2021-06-29 22:36:30 -04:00
Camotoy
afc1f48d5e
Use custom class for caching chunk data
...
Right now, our chunk cache stores the heightmap and biome data that the server sends, which we never use. This commit saves that data in a custom GeyserColumn class that only stores chunk data. In the future, it may also store NBT data.
2021-06-29 10:09:47 -04:00
David Choo
566394f798
Fix breaking animation while jumping ( #2335 )
...
* Update block break time after a CONTINUE_BREAK action
* Fix breaking animation time for some blocks
* Reuse Vector3f and add comment
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2021-06-28 19:26:02 -04:00
Camotoy
495eafc6e5
Work around axolotl buckets titled 'Bucket of '
...
Huge thanks to @SupremeMortal for figuring out the magic required NBT.
2021-06-25 14:47:01 -04:00
Camotoy
f9f74a0da8
Determine chunk Y offset on Java packet processing thread
...
Should stop NullPointerExceptions if the session closes before chunks are processed
2021-06-25 13:51:52 -04:00
Camotoy
71fe2621fc
Remove obsolete chunk merging
2021-06-23 16:48:56 -04:00
Camotoy
65c52f9ff0
Fix fishing rod durability ( fixes #1964 )
2021-06-21 18:51:43 -04:00
Camotoy
3a2cff7864
Clean up a bunch
...
Mostly checked with IntelliJ, but manually performed. The only issue I possibly anticipate is item name/lore issues, but the new method should be technically better.
2021-06-20 21:42:22 -04:00
Camotoy
c60600e0f9
Update to 1.17.1-pre1
2021-06-20 12:35:48 -04:00
Camotoy
683ac1c763
Fix spawn egg triggering twice in water
2021-06-19 20:33:07 -04:00
Camotoy
569c36680d
Remove debug statement
2021-06-16 19:12:18 -04:00
Camotoy
c4131428ea
Translate more new level events
2021-06-16 19:09:35 -04:00
Camotoy
2c9cd7ed02
Don't hardcode record IDs and fix records for 1.17
2021-06-16 11:05:10 -04:00
Camotoy
139167d090
Don't hardcode the bell block ID
2021-06-15 14:48:18 -04:00
Camotoy
cc2d26dda8
Translate new world events
...
The copper-related ones do not show if the Bedrock player performs them. This will be fixed later.
2021-06-09 19:48:38 -04:00
Camotoy
01822672a5
Remove debug elements
2021-06-08 08:57:03 -04:00
Camotoy
bb20afb123
Warn if server is using high/low dimension heights and remove translations on some strings
2021-06-07 23:09:42 -04:00
Camotoy
01d7648296
Implement new entity statuses and goat milk sounds
2021-06-07 19:16:36 -04:00
Camotoy
a2b3e1946d
Update lectern if updated via the WindowItemsPacket
2021-06-07 14:19:17 -04:00
Camotoy
715b9ab4b5
Change item names if acting as a replacement
2021-06-06 19:48:49 -04:00
Camotoy
207af5dffb
Listen to PlayerPositionRotationTranslator#dismountVehicle
2021-06-06 11:58:03 -04:00