2012-12-17 21:21:53 +01:00
|
|
|
package com.pahimar.ee3.block;
|
|
|
|
|
2012-12-19 19:09:56 +01:00
|
|
|
import net.minecraft.block.BlockFlowing;
|
|
|
|
import net.minecraft.block.material.Material;
|
|
|
|
|
2012-12-17 21:21:53 +01:00
|
|
|
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
|
|
|
/**
|
|
|
|
* BlockRedWaterFlowing
|
|
|
|
*
|
|
|
|
* Class for the flowing version of Red Water
|
|
|
|
*
|
|
|
|
* @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 {
|
|
|
|
|
2012-11-06 21:49:43 +01:00
|
|
|
protected BlockRedWaterFlowing(int id) {
|
2012-12-19 19:09:56 +01:00
|
|
|
|
2012-11-06 21:49:43 +01:00
|
|
|
super(id, Material.water);
|
2012-09-11 04:07:59 +02:00
|
|
|
this.blockHardness = 100F;
|
|
|
|
this.setLightOpacity(3);
|
2012-11-06 21:49:43 +01:00
|
|
|
this.setCreativeTab(EquivalentExchange3.tabsEE3);
|
2012-11-30 21:28:42 +01:00
|
|
|
this.setBlockName(Strings.RED_WATER_FLOWING_NAME);
|
2012-09-11 04:07:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getTextureFile() {
|
2012-12-19 19:09:56 +01:00
|
|
|
|
2012-11-30 21:28:42 +01:00
|
|
|
return Sprites.SPRITE_SHEET_LOCATION + Sprites.BLOCK_SPRITE_SHEET;
|
2012-09-11 04:07:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|