David Choo
38625312a1
Prevent max health from being set below 0 ( #2980 )
...
* Prevent max health from being set below 0
* Add more detail to comment
2022-05-21 11:54:32 -04:00
dependabot[bot]
c3c8161a43
Bump gson from 2.8.6 to 2.8.9 in /common ( #2982 )
...
Bumps [gson](https://github.com/google/gson ) from 2.8.6 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases )
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.6...gson-parent-2.8.9 )
---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-21 16:28:36 +01:00
Camotoy
8c9d1fe09f
Allow language file overrides
...
By placing a locale file in `languages/ll_CC.properties`, any strings in that file will take priority over Geyser's own.
2022-05-15 14:23:52 -04:00
Camotoy
b885e22fa3
Always show the world border at least five blocks away
...
Previously, no indication that the world border exists would show if warning blocks was set to 0.
2022-05-15 13:52:18 -04:00
David Choo
b33cc512b4
Add custom skull render distance ( #2751 )
...
* Add player skull render distance
* Improve updateVisibleSkulls a bit
Avoid rechecking visibility on small movements
* Periodically despawn unused skull entities
* Don't hide skull entity for position/rotation changes
Prevents flickering for skulls that are rotating
* Update visible skulls when a skull is removed
* Only update on removal if an entity is assigned
* No need to check for skull in ChunkUtils
Update copyright year
* Avoid rechecking all skulls when a skull is added/removed
* Allow skull render distance and number to be configured
Renamed some fields to better match their values
* Compare texture property directly from GameProfile
* Remove unnecessary blockState field from SkullPlayerEntity
* Use binarySearch for insertion
Wait for player movement before loading skulls
* Allow culling to be disabled by setting max-visible-custom-skulls to -1
* Only remove skulls in inRangeSkulls when culling is enabled
* Add suggestions from review
* Merge the for loops in updateVisibleSkulls
* Fix skulls being leaked on chunk unload
2022-05-14 15:12:18 -04:00
Camotoy
db13b4c276
Fix decoding for some UTF-8 characters
2022-05-10 12:40:15 -04:00
RednedEpic
fbaa6c1f5f
Remove entity work from main extension branch for now
2022-05-07 10:11:21 -05:00
Camotoy
f38c1fbc0f
Spigot: programmatically add Geyser permissions and fix reloading
2022-05-06 15:32:43 -04:00
Camotoy
05e98c3a10
Fix edge case in health code since 1.18.30
...
Fixes #2957
2022-05-04 15:54:19 -04:00
RednedEpic
59d5a6469c
Add support for modifying identifiers through the AvailableEntityIdentifiersPacket
...
This is the first of many commits that address adding support for custom entities through the Geyser API.
2022-05-01 12:25:24 -05:00
RednedEpic
4ae9bdf4b9
Merge branch 'master' into feature/extensions
2022-05-01 09:44:47 -05:00
Camotoy
31a84ea302
Remove unused set
2022-04-30 20:42:29 -04:00
Camotoy
e66014af9e
Fix lava and snow cauldrons looking wrong
...
Fixes #2955
2022-04-30 20:40:34 -04:00
Camotoy
8a1799e0e3
Remove block tag adding to villager trading
...
Fixes sugar cane being untradeable.
2022-04-29 13:24:58 -04:00
Camotoy
3035527be2
Indicate 1.18.31 support for Geyser
...
This uses the same protocol version as 1.18.30, so no further changes are required.
2022-04-27 20:04:13 -04:00
Camotoy
074d60d5b0
Add system locale and encoding to Geyser dumps
2022-04-25 15:13:09 -04:00
RednedEpic
7f0e5b409f
Optimizations to extension loading
2022-04-24 14:53:47 -05:00
RednedEpic
7c8bf330a9
Fix loading multiple extensions ( Closes #2826 )
2022-04-24 14:37:44 -05:00
RednedEpic
735697b553
Allow loading extensions in dev environment
2022-04-24 14:17:15 -05:00
RednedEpic
766f28ec60
Publishing seems to work locally now(?)
2022-04-24 14:07:39 -05:00
RednedEpic
cbd25c0111
sigh
2022-04-24 13:53:50 -05:00
RednedEpic
14ac7d5dbf
Fix this
2022-04-24 13:52:02 -05:00
RednedEpic
b565ecce0a
Try this perhaps
2022-04-24 13:49:03 -05:00
RednedEpic
3091d27e0e
i think i fixed it?
2022-04-24 13:35:49 -05:00
RednedEpic
78f36500ca
Add missing isSnapshot
2022-04-24 13:22:58 -05:00
RednedEpic
cee945a66e
Oops
2022-04-24 13:19:44 -05:00
RednedEpic
463fc83f78
Publishing changes
2022-04-24 13:16:39 -05:00
RednedEpic
3889110081
Try this?
2022-04-24 13:03:21 -05:00
Camotoy
0d1fedbdbf
Fix instances of resizing global biome palettes
...
Fixes #2744
2022-04-24 13:58:34 -04:00
RednedEpic
e322660400
Merge remote-tracking branch 'origin/master' into feature/extensions
...
# Conflicts:
# core/pom.xml
2022-04-24 12:45:40 -05:00
RednedEpic
df808b72c5
Fix gradle deployer id
2022-04-24 12:44:46 -05:00
Camotoy
9bf3334cb0
Update Protocol for 1.18.30 command param correctness
2022-04-24 13:38:44 -04:00
RednedEpic
4dbfd5f66e
Fix conditional for deploying
2022-04-24 12:11:50 -05:00
RednedEpic
7ca3b8d433
Merge branch 'feature/extensions' of https://github.com/GeyserMC/Geyser into feature/extensions
2022-04-24 12:08:11 -05:00
RednedEpic
9af6f948fe
Publish extensions branch
2022-04-24 12:07:50 -05:00
rtm516
0163e33693
Re-arrange groups and artefacts when publishing ( #2899 )
...
* Re-arrange groups and artefacts when publishing
* Publish core jar
2022-04-24 12:02:02 -05:00
RednedEpic
f2e606c0f3
Rename HYBRID AuthType back to FLOODGATE
2022-04-24 11:42:17 -05:00
RednedEpic
43f23674d6
Merge branch 'master' into feature/extensions
...
# Conflicts:
# ap/pom.xml
# api/base/pom.xml
# api/geyser/pom.xml
# api/pom.xml
# bootstrap/bungeecord/pom.xml
# bootstrap/pom.xml
# bootstrap/spigot/pom.xml
# bootstrap/sponge/pom.xml
# bootstrap/standalone/pom.xml
# bootstrap/velocity/pom.xml
# common/pom.xml
# core/pom.xml
# core/src/main/java/org/geysermc/geyser/configuration/GeyserJacksonConfiguration.java
# core/src/main/java/org/geysermc/geyser/network/UpstreamPacketHandler.java
# core/src/main/java/org/geysermc/geyser/session/GeyserSession.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockFilterTextTranslator.java
# pom.xml
2022-04-24 11:23:26 -05:00
Tim203
2f54bf0e14
Rotation fixes ( #2396 )
...
* Should fix some rotation issues
* Some more changes
* Small changes
* Fixed merge conflicts and updated other classes that changed
* Added translation for the LookAt packet
2022-04-23 13:57:32 -05:00
Camotoy
4cb18ebf5b
Use stable version for maven-shade-plugin
2022-04-23 14:14:09 -04:00
Camotoy
c36b98d778
Make completed advancement color easier to read
...
Resolves #2937
2022-04-22 20:16:22 -04:00
Camotoy
7ea14c1a03
Don't send the SetHealthPacket clientbound
...
Seems like this can cause the client to break in 1.18.30, and we already send the health as an attribute.
2022-04-22 18:06:38 -04:00
Camotoy
5a94bdae5a
oops
2022-04-21 22:24:41 -04:00
Camotoy
05d74ebd3e
Fix signs for Bedrock 1.18.30
...
Fixes #2944
2022-04-21 22:23:00 -04:00
Camotoy
3108ea726c
Update bug_report.yml
...
Request the device that the Bedrock player is experiencing the bug on
2022-04-21 14:23:02 -04:00
Camotoy
575fe98c0f
Fix anvils for 1.18.30 Bedrock
2022-04-20 21:39:35 -04:00
Konicai
03b067e23e
Merge master into extensions ( #2941 )
...
* Don't always store cert/client data used for skin uploaded
This takes up a decent 30K of memory that we don't use after the skin is uploaded. The GameProfileTranslator cannot be run more than once per session.
* Make all moon phases visible
The fix to prevent integer overflows also prevented moon phases from being visible until now.
Fixes #2927
* SetTimeTranslator: cast from long on the entire modulus
This should fix some inaccuracies with time on older worlds.
* Bump version; drop 1.17.40; support 1.18.30
* Actually bump to 2.0.3-SNAPSHOT
* Fix message being sent still if a single escape character is sent
* Replace instances of configs using `generateduuid` for Metrics
* Fix some merge mistakes
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2022-04-20 21:37:50 -04:00
Camotoy
e923325246
Fix stonecutters for Bedrock 1.18.30
...
Also add an option in debug mode to not log pings in the event they're spammy.
2022-04-20 21:22:02 -04:00
Camotoy
b528a1c4f6
Update Protocol to better support older Netty versions
2022-04-20 13:30:45 -04:00
Konicai
d1cedbb823
Generate velocity-plugins.json and relocate fastutil ( #2940 )
2022-04-20 12:36:10 -04:00