equivalent-exchange-3/ee3_common/com/pahimar/ee3/block/BlockRedWaterFlowing.java

36 lines
873 B
Java
Raw Normal View History

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.Sprites;
import com.pahimar.ee3.lib.Strings;
2012-09-11 04:07:59 +02:00
2012-10-27 23:41:02 +02:00
/**
* Equivalent-Exchange-3
2012-10-27 23:41:02 +02:00
*
* BlockRedWaterFlowing
2012-10-27 23:41:02 +02:00
*
* @author pahimar
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*
*/
2012-09-11 04:07:59 +02:00
public class BlockRedWaterFlowing extends BlockFlowing {
protected BlockRedWaterFlowing(int id) {
super(id, Material.water);
blockHardness = 100F;
2012-09-11 04:07:59 +02:00
this.setLightOpacity(3);
this.setCreativeTab(EquivalentExchange3.tabsEE3);
this.setUnlocalizedName(Strings.RED_WATER_FLOWING_NAME);
2012-09-11 04:07:59 +02:00
}
@Override
public String getTextureFile() {
return Sprites.SPRITE_SHEET_LOCATION + Sprites.BLOCK_SPRITE_SHEET;
2012-09-11 04:07:59 +02:00
}
}