equivalent-exchange-3/common/com/pahimar/ee3/block/BlockRedWaterFlowing.java
2013-09-06 22:47:12 -04:00

40 lines
1 KiB
Java

package com.pahimar.ee3.block;
import net.minecraft.block.BlockFlowing;
import net.minecraft.block.material.Material;
import com.pahimar.ee3.EquivalentExchange3;
import com.pahimar.ee3.lib.Strings;
/**
* Equivalent-Exchange-3
*
* BlockRedWaterFlowing
*
* @author pahimar
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*
*/
public class BlockRedWaterFlowing extends BlockFlowing {
protected BlockRedWaterFlowing(int id) {
super(id, Material.water);
blockHardness = 100F;
this.setLightOpacity(3);
this.setCreativeTab(EquivalentExchange3.tabsEE3);
this.setUnlocalizedName(Strings.RED_WATER_FLOWING_NAME);
}
@Override
public String getUnlocalizedName() {
StringBuilder unlocalizedName = new StringBuilder();
unlocalizedName.append("tile.");
unlocalizedName.append(Strings.RESOURCE_PREFIX);
unlocalizedName.append(Strings.RED_WATER_FLOWING_NAME);
return unlocalizedName.toString();
}
}