mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-16 13:03:12 +01:00
27 lines
963 B
Java
27 lines
963 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
|
|
*
|
|
* © 2015-2017 Ellpeck
|
|
*/
|
|
|
|
package de.ellpeck.actuallyadditions.mod.fluids;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.ActuallyAdditions;
|
|
import net.minecraft.fluid.Fluid;
|
|
import net.minecraft.util.ResourceLocation;
|
|
|
|
public class FluidAA extends Fluid {
|
|
|
|
public FluidAA(String fluidName, String textureName) {
|
|
super(fluidName, new ResourceLocation(ActuallyAdditions.MODID, "blocks/" + textureName + "_still"), new ResourceLocation(ActuallyAdditions.MODID, "blocks/" + textureName + "_flowing"));
|
|
}
|
|
|
|
@Override
|
|
public String getUnlocalizedName() {
|
|
return "fluid." + ActuallyAdditions.MODID + "." + this.unlocalizedName;
|
|
}
|
|
}
|