Update to 21w14a, remove typetools, remove fractions in favor of 81000

This commit is contained in:
shedaniel
2021-04-09 22:45:04 +08:00
parent c56ca3cc6a
commit c2cb308655
27 changed files with 223 additions and 336 deletions

View File

@@ -25,8 +25,6 @@ dependencies {
minecraft "com.mojang:minecraft:${rootProject.architectury.minecraft}"
mappings loom.officialMojangMappings()
forge "net.minecraftforge:forge:${rootProject.architectury.minecraft}-${rootProject.forge_version}"
implementation "net.jodah:typetools:0.6.2"
shadowCommon "net.jodah:typetools:0.6.2"
implementation(project(path: ":common")) {
transitive = false
@@ -47,7 +45,6 @@ processResources {
}
shadowJar {
relocate "net.jodah.typetools", "me.shedaniel.architectury.shadowed.impl.net.jodah.typetools"
exclude "fabric.mod.json"
exclude "architectury-common.accessWidener"

View File

@@ -63,8 +63,8 @@ public class FluidStackHooksImpl {
return FluidStackHooksForge.toForge(stack).writeToNBT(tag);
}
public static Fraction bucketAmount() {
return Fraction.ofWhole(1000);
public static long bucketAmount() {
return 1000;
}
@OnlyIn(Dist.CLIENT)