Geyser/core/src/main/java/org/geysermc/geyser
chris 7a20a190a0
Feature: Structure block translation (#4521)
* ported camotoy's attempt of implementing structure blocks, removal of a few TODO's

* no more parsing of java structure templates

* Don't attempt to re-request structure size

* ensure we can load structures in even if we know the size

* init: send correct structure size/offset/rotation to java, not fully working yet

* restore offsets so we are sending correct values to the java server regarding where we want the structure to be placed

* something something mirror

* attempt at proper offsets for mirroring AND rotations. this was not fun at all

* rotation, mirror, offsetting all seem to work

* undo import changes

* fix NPE

* Proper handling of empty structures, ensure that we can clear the structure block outline when a zero vector was sent for structure size

* oops

* Update core/src/main/java/org/geysermc/geyser/session/cache/StructureBlockCache.java

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

* Update core/src/main/java/org/geysermc/geyser/translator/level/block/entity/StructureBlockBlockEntityTranslator.java

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

* Update core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockStructureBlockUpdateTranslator.java

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

* Update core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockStructureTemplateDataRequestTranslator.java

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

* consolidate java structure sending into one method

* fix merge conflict
---------

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2024-04-17 23:21:25 +02:00
..
command Feature: Rework startup logic (#4377) 2024-02-14 12:50:50 +01:00
configuration Allow configuration of RakNet limits (#4532) 2024-03-31 21:42:31 -07:00
dump Support RakNet Cookies (#4554) 2024-04-16 20:52:46 -07:00
entity Always remove entities from cache (#4577) 2024-04-17 03:18:17 -04:00
erosion Project wide syntax/annotation cleanup (#4238) 2023-12-05 18:54:42 -05:00
event Project wide syntax/annotation cleanup (#4238) 2023-12-05 18:54:42 -05:00
extension Update Jackson (#4512) 2024-03-21 19:05:41 +01:00
impl Feature: Camera/Input locking API (#4332) 2024-01-31 11:21:06 +01:00
inventory Fix virtual lecterns - again (#4494) 2024-03-14 10:27:49 +01:00
item Remove Java custom armor trims when translating item to Bedrock to prevent visual issues (#4548) 2024-04-04 11:55:00 -07:00
level Add new village map icons (#4480) 2024-03-08 21:24:15 +00:00
network Support RakNet Cookies (#4554) 2024-04-16 20:52:46 -07:00
pack NeoForge Platform Support (#3781) 2024-02-23 17:58:39 +01:00
ping Catch UnknownHostExceptions in legacy ping passthrough pings (#4331) 2023-12-07 20:27:25 +01:00
registry Feature: Structure block translation (#4521) 2024-04-17 23:21:25 +02:00
scoreboard Feature: Rework startup logic (#4377) 2024-02-14 12:50:50 +01:00
session Feature: Structure block translation (#4521) 2024-04-17 23:21:25 +02:00
skin Fix user agent strings (#4562) 2024-04-12 13:12:38 +01:00
text Gracefully handle invalid stone cutter recipes (#4406) 2024-01-22 19:21:12 +01:00
translator Feature: Structure block translation (#4521) 2024-04-17 23:21:25 +02:00
util Feature: Structure block translation (#4521) 2024-04-17 23:21:25 +02:00
Constants.java Add support for custom blocks and skulls (#3505) 2023-08-21 16:04:08 -07:00
FloodgateKeyLoader.java Fix Floodgate autodetection 2023-04-26 21:11:26 -04:00
GeyserBootstrap.java Feature: Rework startup logic (#4377) 2024-02-14 12:50:50 +01:00
GeyserImpl.java NeoForge Platform Support (#3781) 2024-02-23 17:58:39 +01:00
GeyserLogger.java Project wide syntax/annotation cleanup (#4238) 2023-12-05 18:54:42 -05:00
GeyserMain.java Project wide syntax/annotation cleanup (#4238) 2023-12-05 18:54:42 -05:00