mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-14 12:19:10 +01:00
5e0e79d691
Nothing special. Well, lots of special stuff actually.
27 lines
932 B
Java
27 lines
932 B
Java
/*
|
|
* This file ("FluidAA.java") is part of the Actually Additions Mod for Minecraft.
|
|
* It is created and owned by Ellpeck and distributed
|
|
* under the Actually Additions License to be found at
|
|
* http://ellpeck.de/actaddlicense/
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
*
|
|
* © 2016 Ellpeck
|
|
*/
|
|
|
|
package de.ellpeck.actuallyadditions.mod.blocks;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
|
|
import net.minecraft.util.ResourceLocation;
|
|
import net.minecraftforge.fluids.Fluid;
|
|
|
|
public class FluidAA extends Fluid{
|
|
|
|
public FluidAA(String fluidName, String textureName){
|
|
super(fluidName, new ResourceLocation(ModUtil.MOD_ID_LOWER, "blocks/"+textureName+"Still"), new ResourceLocation(ModUtil.MOD_ID_LOWER, "blocks/"+textureName+"Flowing"));
|
|
}
|
|
|
|
@Override
|
|
public String getUnlocalizedName(){
|
|
return "fluid."+ModUtil.MOD_ID_LOWER+"."+this.unlocalizedName;
|
|
}
|
|
}
|