增加喷射效果
build / build (push) Has been cancelled

This commit is contained in:
TermiNexus committed 2026-08-22 04:45:37 +08:00
commit 1eea4b9eaa
567 files changed
+81290

No files matched your search

@@ -0,0 +1,10 @@
package com.nonid.api;
import net.minecraft.util.Identifier;
import org.jetbrains.annotations.Nullable;
public record NonLiquidTankSnapshot(int storedMl, int capacityMl, NonLiquidComposition composition, @Nullable Identifier entityTypeId, int tintRgb) {
public float fillRatio() {
return this.capacityMl <= 0 ? 0.0F : Math.max(0.0F, Math.min(1.0F, (float)this.storedMl / this.capacityMl));
}
}