Commit graph

3566 commits

Author SHA1 Message Date
onebeastchris
b0353cafc5 undo change 2024-04-16 15:43:57 +02:00
onebeastchris
5f68dd8749 consolidate java structure sending into one method 2024-04-16 15:42:59 +02:00
chris
c34a711aca
Update core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockStructureTemplateDataRequestTranslator.java
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2024-04-14 20:54:11 +02:00
chris
7a15eea009
Update core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockStructureBlockUpdateTranslator.java
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2024-04-14 20:53:38 +02:00
chris
c30cb17487
Update core/src/main/java/org/geysermc/geyser/translator/level/block/entity/StructureBlockBlockEntityTranslator.java
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2024-04-14 20:52:41 +02:00
chris
53cd61a07d
Update core/src/main/java/org/geysermc/geyser/session/cache/StructureBlockCache.java
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2024-04-14 20:52:30 +02:00
onebeastchris
06c8459637 oops 2024-04-13 20:53:13 +02:00
onebeastchris
c30dfd9a69 Merge remote-tracking branch 'origin/structure_block' into structure_block 2024-04-13 20:51:07 +02:00
onebeastchris
eb019f1a1a Proper handling of empty structures, ensure that we can clear the structure block outline when a zero vector was sent for structure size 2024-04-13 20:50:42 +02:00
chris
560ad92e5c
Merge branch 'master' into structure_block 2024-04-13 04:51:37 +02:00
onebeastchris
2b97b2f157 fix NPE 2024-04-13 04:50:52 +02:00
onebeastchris
aeb1e3ed4a undo import changes 2024-04-13 04:20:30 +02:00
onebeastchris
54533c1e50 Merge remote-tracking branch 'origin/structure_block' into structure_block 2024-04-13 04:18:25 +02:00
onebeastchris
26e7268193 rotation, mirror, offsetting all seem to work 2024-04-13 04:17:42 +02:00
rtm516
e856a8af84
Fix user agent strings (#4562) 2024-04-12 13:12:38 +01:00
Eclipse
ca0e226aac
Fix breaking of custom head blocks added by Polymer by adding a default fallback to block mappings (#4557) 2024-04-11 03:05:15 +02:00
onebeastchris
24bdb74776 gaaaaaaaaaaaaaaaaaah 2024-04-10 16:40:03 +02:00
rtm516
c91182132c
Update Crowdin on README 2024-04-08 10:05:48 +01:00
Camotoy
fa2e4e5a94
Reduce processing for incoming TrimDataPackets 2024-04-07 22:44:58 -04:00
Denys Loshkarev
3d9f3ac645
Show 1.20.73 as being supported (#4543)
* update version supported by plugin

* Update README.md
2024-04-07 01:12:56 +03:00
rtm516
0972e4f4d7
Update CreativeCategory none to have the correct value (#4549) 2024-04-05 22:21:27 +01:00
Eclipse
1819ed4dbd
Remove Java custom armor trims when translating item to Bedrock to prevent visual issues (#4548)
* Fix (or workaround) armor items with custom armor trims having no texture on bedrock

* Fix armor items with custom trims causing issues on entity models by removing the Trim tag entirely

* Refer to minecraft namespace inline for consistency
2024-04-04 11:55:00 -07:00
rtm516
29bd896682
Fix CreativeCategory enum numbers (#4542) 2024-04-02 02:11:03 +01:00
rtm516
47237e07b7
Fix block custom registration failing with simmilar named items (#4540) 2024-04-02 00:10:12 +01:00
Kas-tle
08aa5282d4
Ensure proxiedAddresses is not null before lookup (#4539) 2024-04-01 15:50:58 -07:00
Sage
fa441f1c7b
Add ConnectionRequestEvent (#4533)
* Add ConnectionRequestEvent and implement it

* Add debug message and use InetSocketAddress instead of string

* Provide both proxy and real client ip

And add some minor javadocs

* Make ProxyIp nullable

* Apply changes from pr

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

* Apply changes from pr

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

* Apply changes from pr

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

* Bump API version

* Dont JiJ common on mod platforms

---------

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com>
2024-04-01 14:33:12 -07:00
Kas-tle
c9ca4c82f7
Allow configuration of RakNet limits (#4532)
* Allow configuration of RakNet limits

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

* Validate packet limiter system properties

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

---------

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-03-31 21:42:31 -07:00
rtm516
fbafdbb2a7
Allow NonVanillaCustomItemData to have a block assigned (#4530) 2024-03-31 12:01:59 +01:00
Kas-tle
b469904951
Update Raknet (#4529) 2024-03-30 03:27:55 -07:00
Redned
7da3afef60
Update RakNet 2024-03-29 12:25:57 +00:00
chris
62a9e3805a
Merge branch 'master' into structure_block 2024-03-29 03:21:58 +01:00
onebeastchris
f889ec393b yeet debug 2024-03-29 03:18:11 +01:00
onebeastchris
4752e4d380 attempt at proper offsets for mirroring AND rotations. this was not fun at all 2024-03-29 03:15:37 +01:00
Kas-tle
f1828419d6
Update raknet (#4528) 2024-03-28 17:28:49 -07:00
onebeastchris
edbef93f18 something something mirror 2024-03-27 23:30:39 +01:00
onebeastchris
2aa6dce227 restore offsets so we are sending correct values to the java server regarding where we want the structure to be placed 2024-03-27 16:16:32 +01:00
chris
85908690a3
Revert inventory "fix" that's causing issues with quickly opening & closing inventories (#4523) 2024-03-27 01:47:21 +01:00
onebeastchris
a30d49acba init: send correct structure size/offset/rotation to java, not fully working yet 2024-03-26 23:54:36 +01:00
rtm516
4ea94f89a2
Fix entity pick request for cherry and bamboo boats (#4522) 2024-03-24 21:30:00 +00:00
onebeastchris
d1e4b31bce ensure we can load structures in even if we know the size 2024-03-24 17:46:32 +01:00
chris
d24a4766b4
Shade the Geyser api on modded platforms (#4520) 2024-03-24 16:12:40 +00:00
onebeastchris
f308bd1104 wip 2024-03-24 16:38:51 +01:00
onebeastchris
76a5608851 Don't attempt to re-request structure size 2024-03-24 13:02:21 +01:00
onebeastchris
c9d4b9a797 no more parsing of java structure templates 2024-03-24 00:56:01 +01:00
CloudyOrk
c64e8afcce
Indicate existing 1.20.72 support (#4515)
* update supported version

* Update GameProtocol.java

* Update GameProtocol.java

---------

Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com>
2024-03-22 12:03:17 -07:00
onebeastchris
eabed1f0b0 ported camotoy's attempt of implementing structure blocks, removal of a few TODO's 2024-03-22 16:11:57 +01:00
chris
4fa0bcd01b
Update Jackson (#4512)
* Update jackson

* relocate yaml on velocity
2024-03-21 19:05:41 +01:00
chris
867cf6da05
Feature: JiJ dependencies on modded platforms (#4502)
* Use JiJ inclusion for Fabric/NeoForge to prevent mod conflicts. Further: Don't publish shadow jars to maven.

* Shade and relocate dependencies that don't conform to SemVer on Fabric

* Shade/Relocate dependencies on Fabric to avoid version warnings

* Use relocate function from the build-logic plugin
2024-03-19 23:05:30 +01:00
chris
b03818a0c4
Add attack damage indicator to custom items (#4495) 2024-03-18 19:41:36 +01:00
Kas-tle
e1e09a6ccb
Fix KQueue loading crashing macOS; Closes #4474 (#4506) 2024-03-16 08:19:09 -07:00