Made ActAdd Fluid Names not clash with other mods' ones

This commit is contained in:
Ellpeck 2015-11-19 16:39:09 +01:00
parent 98ba5566a3
commit 11e2326cae
2 changed files with 8 additions and 2 deletions

View file

@ -10,6 +10,7 @@
package ellpeck.actuallyadditions.blocks; package ellpeck.actuallyadditions.blocks;
import ellpeck.actuallyadditions.util.ModUtil;
import net.minecraftforge.fluids.Fluid; import net.minecraftforge.fluids.Fluid;
public class FluidAA extends Fluid{ public class FluidAA extends Fluid{
@ -17,4 +18,9 @@ public class FluidAA extends Fluid{
public FluidAA(String fluidName){ public FluidAA(String fluidName){
super(fluidName); super(fluidName);
} }
@Override
public String getUnlocalizedName(){
return "fluid."+ModUtil.MOD_ID_LOWER+"."+this.unlocalizedName;
}
} }

View file

@ -3,8 +3,8 @@ itemGroup.actuallyadditions=Actually Additions
achievement.page.actuallyadditions=Actually Additions achievement.page.actuallyadditions=Actually Additions
#Fluids #Fluids
fluid.oil=Oil fluid.actuallyadditions.oil=Oil
fluid.canolaoil=Canola Oil fluid.actuallyadditions.canolaoil=Canola Oil
#NEI Integration #NEI Integration
container.nei.actuallyadditions.crushing.name=Crusher container.nei.actuallyadditions.crushing.name=Crusher