equivalent-exchange-3/common/com/pahimar/ee3/block/BlockRedWaterStill.java

42 lines
1 KiB
Java
Raw Normal View History

2013-08-23 16:59:50 +02:00
package com.pahimar.ee3.block;
import net.minecraft.block.BlockStationary;
import net.minecraft.block.material.Material;
import com.pahimar.ee3.EquivalentExchange3;
import com.pahimar.ee3.lib.Strings;
/**
* Equivalent-Exchange-3
*
* BlockRedWaterStill
*
* @author pahimar
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*
*/
public class BlockRedWaterStill extends BlockStationary {
protected BlockRedWaterStill(int id) {
super(id, Material.water);
blockHardness = 100F;
this.setLightOpacity(3);
this.setUnlocalizedName(Strings.RED_WATER_STILL_NAME);
this.setCreativeTab(EquivalentExchange3.tabsEE3);
this.disableStats();
}
2013-09-07 04:47:12 +02:00
@Override
public String getUnlocalizedName() {
2013-09-07 04:47:12 +02:00
StringBuilder unlocalizedName = new StringBuilder();
2013-09-07 04:47:12 +02:00
unlocalizedName.append("tile.");
unlocalizedName.append(Strings.RESOURCE_PREFIX);
unlocalizedName.append(Strings.RED_WATER_STILL_NAME);
2013-09-07 04:47:12 +02:00
return unlocalizedName.toString();
}
2013-08-23 16:59:50 +02:00
}