Skip to content

Commit da88e9a

Browse files
committed
fix: fix acid fluid textures
1 parent c2df9b3 commit da88e9a

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

src/main/java/com/github/elenterius/biomancy/init/ModFluids.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ private static RegistryObject<FluidType> registerType(String name, UnaryOperator
6363

6464
private final ResourceLocation stillTexture = BiomancyMod.rl("block/%s_still".formatted(name));
6565
private final ResourceLocation flowingTexture = BiomancyMod.rl("block/%s_flowing".formatted(name));
66-
private final ResourceLocation overlayTexture = BiomancyMod.rl("block/%s_overlay".formatted(name));
66+
private final ResourceLocation blockOverlayTexture = BiomancyMod.rl("block/%s_overlay".formatted(name));
67+
private final ResourceLocation screenOverlayTexture = BiomancyMod.rl("textures/block/%s_overlay.png".formatted(name));
6768

6869
@Override
6970
public void initializeClient(Consumer<IClientFluidTypeExtensions> consumer) {
@@ -80,12 +81,12 @@ public ResourceLocation getFlowingTexture() {
8081

8182
@Override
8283
public ResourceLocation getOverlayTexture() {
83-
return overlayTexture;
84+
return blockOverlayTexture;
8485
}
8586

8687
@Override
8788
public ResourceLocation getRenderOverlayTexture(Minecraft mc) {
88-
return overlayTexture;
89+
return screenOverlayTexture;
8990
}
9091
});
9192
}
350 Bytes
Loading
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"animation": {
3-
"frametime": 2
3+
"frametime": 20
44
}
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"animation": {
3-
"frametime": 2
3+
"frametime": 20
44
}
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"animation": {
3-
"frametime": 2
3+
"frametime": 20
44
}
55
}

0 commit comments

Comments
 (0)