Skip to content

Commit

Permalink
define localized name for bw fluids
Browse files Browse the repository at this point in the history
  • Loading branch information
chochem committed Jan 12, 2025
1 parent a78745f commit 00b660b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/bartworks/common/loaders/FluidLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public static void run() {

public static Fluid createAndRegisterFluid(String Name, Color color) {
return GTFluidFactory.builder(Name)
.withLocalizedName(Name)
.withTextureName("molten.autogenerated")
.withColorRGBA(
new short[] { (short) color.getRed(), (short) color.getGreen(), (short) color.getBlue(),
Expand All @@ -134,6 +135,7 @@ public static Fluid createAndRegisterFluid(String Name, Color color) {

public static Fluid createAndRegisterFluid(String Name, Color color, int temperature) {
return GTFluidFactory.builder(Name)
.withLocalizedName(Name)
.withTextureName("molten.autogenerated")
.withColorRGBA(
new short[] { (short) color.getRed(), (short) color.getGreen(), (short) color.getBlue(),
Expand Down

0 comments on commit 00b660b

Please sign in to comment.