onebeastchris
15b8b93d44
We need to ensure no invalid packs end up being loaded - otherwise, chaos ensues since the client will either show bogus resource pack size values (invalid sizes), or skip resource packs altogether (if not properly zipped).
2023-11-09 12:44:27 +01:00
onebeastchris
cdd2aba244
Merge remote-tracking branch 'upstream/master' into rp
2023-11-09 12:14:09 +01:00
onebeastchris
0004f5b051
Testing: Don't require application/zip
or size
or weird zip format, since it seems to work without it !?
2023-11-09 12:13:59 +01:00
chris
f40ca2004e
Add ability to set molang tags for custom items ( #4041 )
...
* Start on custom molang tags with custom items
* geyser_custom instead of geyser item tag
* Address reviews, add custom namespace ("geyser_custom") to tags
* use isBlank() instead of isEmpty()
* More efficient item tag setting
Co-authored-by: Konicai <71294714+konicai@users.noreply.github.com>
* tags instead of temp
* Merge in master, adapt to changes in the MappingsReader, delete unused ToolBreakSpeedsUtils class
* oops
* clean diff
* Change namespace from `geyser_custom` to just `geyser`
* Don't force a namespace at all; just like blocks don't
* Tags for items are now, as blocks, NonNull. Additionally, calling the .tags() builder multiple times will not add both sets of tags, but replace the existing tag set
* Remove @NotNull usage in favor of @NonNull
* Allow setting null for tags, but ensure that .tags() is always non-null
* Fix nullable annotation on tags method in the builder interface
2023-11-09 08:44:13 +01:00
onebeastchris
498a415ac5
Change fallback system
2023-11-09 08:34:45 +01:00
chris
aa899af908
Clear bossbars & entity attributes on server switching ( #4278 )
...
* This ensures bossbars are cleared on server switch. Additionally, this clears the EntityCache - which should resolve issues around air supply/hearts persisting visually.
* - Also reset attributes on server switch, aswell as air
2023-11-08 00:23:56 +01:00
chris
06663bcafd
Fix: Don't mistakingly assume that Geyser-Velocity initialized ( #4276 )
...
* Fix: ListenerBoundEvent could set `INITIALIZED` to true, even if we did not initialize yet - move that to postStartup() instead.
* only assign INITIALIZED once, and only after the correct listenertype bound.
2023-11-06 16:17:41 +01:00
chris
574dad015d
Fix: Display entities only being visible when directly looked at ( #4271 )
2023-11-04 18:59:02 +01:00
chris
a559cde654
Move "unknown entity definition" spam to debug level ( #4270 )
2023-11-04 16:06:23 +01:00
chris
ec526a798d
Send cooldown when punching air ( #4257 )
2023-11-03 17:22:55 +01:00
chris
644082ae84
Fix /geyser reload
on Velocity ( #4258 )
...
* Fix /geyser reload on Velocity
* No need to create/init a new injector on Velocity
* No need to warn about "abnormally long startup" on Bungee when we're reloading. And, as on velocity, no need to re-inject
2023-11-03 17:16:09 +01:00
chris
4ff8b7bff4
Bump mcpl to fix issues with the ClientboundLoginDisconnectPacket ( #4264 )
2023-11-03 17:09:34 +01:00
chris
121ca11db2
Fix text displays on 1.20.2
...
It seems like 1.20.2 added one more field to base displays (https://wiki.vg/Entity_metadata#Display ), and a few more to text displays: https://wiki.vg/Entity_metadata#Text_Display (#4268 )
2023-11-03 16:58:02 +01:00
Kas-tle
8d2ebcf69b
Reduce Frequency of Crashes Due to Dispensers, Droppers, and Chiseled Bookshelves ( #4248 )
...
* Revert to subchunk v8; reduces freq of #4240
* Full resolution
2023-10-26 08:16:24 -07:00
Konicai
2e68244fde
Merge pull request #4227 from GeyserMC/feature/1.20.40
...
Support for 1.20.40
2023-10-24 11:28:08 -04:00
Konicai
8173917623
Merge remote-tracking branch 'upstream/master' into feature/1.20.40
2023-10-24 10:37:28 -04:00
onebeastchris
36709143c7
start on proper url checking (application type/size)
2023-10-24 07:50:37 +02:00
chris
b4290d5be4
Versioned potion mappings ( #4239 )
2023-10-24 01:41:02 +02:00
chris
51236f7a59
Let the fabric module really use Java 17 ( #4231 )
...
* Let the fabric module really use java 17
* Remove unnecessary target/source compat; handled by indra instead
2023-10-20 22:17:43 +02:00
chris
450e3b61fe
Bring back accidentally removed MTU option ( #4229 )
2023-10-20 20:14:16 +02:00
Hasan
53960c9d46
update readme version for 1.20.40
2023-10-20 01:02:10 -04:00
Konicai
647a73d9f6
Support 1.20.40 connections
2023-10-19 01:11:59 -04:00
onebeastchris
76a62abd27
Check downloaded resource packs, yeet cdn naming scheme
2023-10-18 16:49:24 +02:00
onebeastchris
880de2d172
Ensure GeyserUrlPackCodec.create returns a ResourcePack with the URL codec
2023-10-18 12:36:44 +02:00
onebeastchris
5d06edd0d1
Fallback system - download the pack to serve the client in case cdn fails
2023-10-18 12:06:42 +02:00
onebeastchris
27c1562438
remove outdated javadocs
2023-10-17 19:21:24 +02:00
onebeastchris
b9c5bddb97
Remove CDNEntry; those do not work as expected.
...
Instead:
- add UrlPackCodec & GeyserUrlPackCodec
- try and provide the resource pack via a stream from the url - either because the client does not support packs via the url, or because it failed to get the packs
2023-10-17 19:06:11 +02:00
rtm516
6b67e43f84
Update AesKeyProducer.java ( #4211 )
2023-10-15 21:51:06 +01:00
Kas-tle
3fa35b2cb9
Restrict game packets to state; Closes #4191 ( #4210 )
...
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2023-10-12 06:02:57 -07:00
onebeastchris
c0227d3da1
Move loading cdn entries to separate function
2023-10-11 21:09:14 +02:00
EpsilonZunsat
00800acd6a
Fixed incorrect bedrock version of skin mirroring geometry ( #4207 )
...
* fix geometry.humanoid.wearingCustomSkull.json's LeftLeg
* fix geometry.humanoid.wearingCustomSkullSlim.json'LeftLeg
2023-10-11 17:15:33 +01:00
onebeastchris
fd69b0c381
Rename CDN entry list
2023-10-10 23:04:19 +02:00
onebeastchris
94f2ea9b57
Rename cdn-resource-packs to resource-pack-urls, fix test, remove duplicate deprecation annotation
2023-10-10 23:02:37 +02:00
onebeastchris
f74d36a1f9
Remove forRemoval
2023-10-10 22:08:46 +02:00
onebeastchris
dbfc153b04
- Don't require configuring the packId, just the link instead
...
- Deprecate GeyserLoadResourcePacksEvent in favor of GeyserDefineResourcePacksEvent
- Load CDNentries properly
2023-10-10 21:45:42 +02:00
onebeastchris
02d6473dc5
Small tweaks: record formatting/javadocs
2023-10-10 15:48:25 +02:00
onebeastchris
68516a8b0b
Initial stab at implementing 1.20.30's new CDN feature for resource packs
2023-10-10 15:26:13 +02:00
chris
b17f4a46f4
Update outdated proxy message to check for 1.20.2, remove floodgate 1.0 checks ( #4204 )
2023-10-09 18:20:18 +02:00
chris
e8048ede08
Fix: Skull rotation issues since 1.20.2 ( #4200 )
2023-10-08 20:33:35 +02:00
chris
3f0e366bac
Fix: Don't rename extensions while the extension directory is being walked ( #4197 )
2023-10-08 18:04:22 +02:00
chris
3fdd6b41d0
Fix: Beacon effects broken since 1.20.2 ( #4199 )
...
Since 1.20.2, effect IDs start at 0, not 1. Bedrock of course doesn't respect that, so we need to subtract 1!
2023-10-08 12:33:17 +02:00
chris
dec62e94e2
Fix: Implement 1.20.30 START_FLYING and STOP_FLYING cases ( #4198 )
2023-10-08 00:31:23 +02:00
rtm516
30cca70e56
Tell the server we loaded the resource pack ( #4183 )
...
* Tell the server we loaded the resource pack
* Decline resource packs if they are not required
---------
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2023-10-07 22:38:44 +02:00
Hasan
e8eccc64be
Change Bedrock version - Update README.md ( #4188 )
...
* Change Bedrock version - Update README.md
* Update pullrequest.yml
Don't ever ignore workflows from PRs based on files changed as this breaks pending approval
---------
Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com>
2023-10-06 07:18:48 -07:00
chris
82541a5b37
Show only 1.20.2 as supported on Fabric ( #4190 )
2023-10-06 06:50:01 -07:00
chris
b340d4d1c4
Add wiki/setup guides to the Geyser config ( #4186 )
...
* Added links to Wiki and Setup guide to the config
* implement suggestions
2023-10-05 19:23:14 +02:00
Kas-tle
89d7225c54
Fix API Registration of Custom Block Overrides ( #4178 )
...
* Api reg vanilla blockstate overrides; Closes #4177
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
* proper case non static
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
* Clear queue when done
---------
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2023-10-04 09:56:47 -07:00
chris
3547fab228
Fix: Bedrock clients timing out due to present Java resource packs ( #4176 )
...
* fix: auto deny Java edition resource packs
* 1.20.2 bump on Fabric
* bump mcpl
* Bump required min version in the fabric.mod.json file
2023-10-03 17:15:30 +02:00
chris
7983448ce6
Remove Mojang account sign-in option ( #4147 )
...
* Remove Mojang auth
* Yeet Connector wrapper, ensure that empty config arrays (e.g. saved user logins) are empty lists instead of null to avoid NPE exceptions
2023-10-03 01:12:54 +02:00
petersv5
7d489c7354
Close threads at server shutdown ( #4029 )
...
Co-authored-by: Peter Svensson <petersv@psv.nu>
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
2023-10-01 18:15:44 -04:00