From 9fb79d00ce043130ba3e9f03f959f0d41df233e9 Mon Sep 17 00:00:00 2001 From: gniftygnome Date: Thu, 8 Feb 2024 13:50:58 -0800 Subject: [PATCH] Updated to 24w06a; more breaking changes. --- gradle.properties | 6 +++--- .../terraform/boat/impl/entity/TerraformBoatEntity.java | 6 +++--- .../boat/impl/entity/TerraformChestBoatEntity.java | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gradle.properties b/gradle.properties index ccade8c..46089fb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ fabric.loom.multiProjectOptimisation=true maven_group=com.terraformersmc.terraform-api version=10.0.0-alpha.1 -minecraft_version=24w04a -yarn_mappings=24w04a+build.3 +minecraft_version=24w06a +yarn_mappings=24w06a+build.4 loader_version=0.15.6 -fabric_version=0.95.2+1.20.5 +fabric_version=0.95.6+1.20.5 diff --git a/terraform-wood-api-v1/src/main/java/com/terraformersmc/terraform/boat/impl/entity/TerraformBoatEntity.java b/terraform-wood-api-v1/src/main/java/com/terraformersmc/terraform/boat/impl/entity/TerraformBoatEntity.java index 6c397cc..7a4f2ee 100644 --- a/terraform-wood-api-v1/src/main/java/com/terraformersmc/terraform/boat/impl/entity/TerraformBoatEntity.java +++ b/terraform-wood-api-v1/src/main/java/com/terraformersmc/terraform/boat/impl/entity/TerraformBoatEntity.java @@ -87,9 +87,9 @@ public BoatEntity.Type getVariant() { } @Override - protected void initDataTracker() { - super.initDataTracker(); - this.dataTracker.startTracking(TERRAFORM_BOAT, Optional.empty()); + protected void initDataTracker(DataTracker.Builder builder) { + super.initDataTracker(builder); + builder.add(TERRAFORM_BOAT, Optional.empty()); } // Serialization diff --git a/terraform-wood-api-v1/src/main/java/com/terraformersmc/terraform/boat/impl/entity/TerraformChestBoatEntity.java b/terraform-wood-api-v1/src/main/java/com/terraformersmc/terraform/boat/impl/entity/TerraformChestBoatEntity.java index f3f8a26..39192ab 100644 --- a/terraform-wood-api-v1/src/main/java/com/terraformersmc/terraform/boat/impl/entity/TerraformChestBoatEntity.java +++ b/terraform-wood-api-v1/src/main/java/com/terraformersmc/terraform/boat/impl/entity/TerraformChestBoatEntity.java @@ -88,9 +88,9 @@ public BoatEntity.Type getVariant() { } @Override - protected void initDataTracker() { - super.initDataTracker(); - this.dataTracker.startTracking(TERRAFORM_BOAT, Optional.empty()); + protected void initDataTracker(DataTracker.Builder builder) { + super.initDataTracker(builder); + builder.add(TERRAFORM_BOAT, Optional.empty()); } // Serialization