Update to 1.19.3

This commit is contained in:
tibs 2022-12-07 15:15:01 -05:00
parent a966b104f1
commit 355c13ea97
Signed by untrusted user who does not match committer: tibs
GPG key ID: 047833989F50F88F
5 changed files with 19 additions and 17 deletions

View file

@ -1,7 +1,6 @@
plugins {
alias(libs.plugins.fabric.loom)
alias(libs.plugins.loom.quiltflower)
alias(libs.plugins.qmol)
alias(libs.plugins.grgit)
id "maven-publish"
}
@ -18,13 +17,16 @@ repositories {
includeGroup "maven.modrinth"
}
}
maven {
name = "Quilt"
url = "https://maven.quiltmc.org/repository/release"
}
}
dependencies {
minecraft libs.minecraft
mappings loom.layered {
addLayer quiltMappings.mappings("org.quiltmc:quilt-mappings:${libs.versions.quilt.mappings.get()}:v2")
}
mappings variantOf(libs.quilt.mappings) { classifier "intermediary-v2" }
modImplementation libs.fabric.loader
modImplementation libs.fabric.api

View file

@ -1,10 +1,10 @@
[versions]
minecraft = "1.19.2"
quilt_mappings = "1.19.2+build.3"
fabric_loader = "0.14.9"
minecraft = "1.19.3"
quilt_mappings = "1.19.3+build.1"
fabric_loader = "0.14.11"
fabric_api = "0.60.0+1.19.2"
sodium = "mc1.19-0.4.2"
fabric_api = "0.68.1+1.19.3"
sodium = "mc1.19.3-0.4.5"
[libraries]
minecraft = { module = "com.mojang:minecraft", version.ref = "minecraft" }
@ -15,7 +15,6 @@ fabric_api = { module = "net.fabricmc.fabric-api:fabric-api", version.ref = "fab
sodium = { module = "maven.modrinth:sodium", version.ref = "sodium" }
[plugins]
fabric_loom = { id = "fabric-loom", version = "0.12.+" }
loom_quiltflower = { id = "io.github.juuxel.loom-quiltflower", version = "1.7.+" }
qmol = { id = "org.quiltmc.quilt-mappings-on-loom", version = "4.2.0" }
fabric_loom = { id = "fabric-loom", version = "1.0.+" }
loom_quiltflower = { id = "io.github.juuxel.loom-quiltflower", version = "1.8.+" }
grgit = { id = "org.ajoberstar.grgit", version = "5.+" }

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View file

@ -8,18 +8,19 @@ import net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityT
import net.minecraft.block.Blocks;
import net.minecraft.block.entity.BlockEntityType;
import net.minecraft.client.MinecraftClient;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.util.Identifier;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.registry.Registry;
public class CauldronDyeing implements ModInitializer {
public static final String MOD_ID = "cauldron_dyeing";
public static BlockEntityType<WaterCauldronBlockEntity> WATER_CAULDRON_BLOCK_ENTITY = FabricBlockEntityTypeBuilder.create(WaterCauldronBlockEntity::new, Blocks.WATER_CAULDRON).build();
public static final BlockEntityType<WaterCauldronBlockEntity> WATER_CAULDRON_BLOCK_ENTITY = FabricBlockEntityTypeBuilder.create(WaterCauldronBlockEntity::new, Blocks.WATER_CAULDRON).build();
@Override
public void onInitialize() {
Registry.register(Registry.BLOCK_ENTITY_TYPE, new Identifier(MOD_ID, "water_cauldron_entity"), WATER_CAULDRON_BLOCK_ENTITY);
Registry.register(Registries.BLOCK_ENTITY_TYPE, new Identifier(MOD_ID, "water_cauldron_entity"), WATER_CAULDRON_BLOCK_ENTITY);
}
@Environment(EnvType.CLIENT)

View file

@ -76,7 +76,7 @@ public class WaterCauldronBlockEntity extends BlockEntity {
}
@Override
public NbtCompound toInitialChunkDataNbt() {
public NbtCompound toSyncedNbt() {
return toNbt();
}