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

36 lines
957 B
Java

package com.pahimar.ee3.block;
import com.pahimar.ee3.EquivalentExchange3;
import com.pahimar.ee3.lib.Sprites;
import com.pahimar.ee3.lib.Strings;
import net.minecraft.block.BlockStationary;
import net.minecraft.block.material.Material;
/**
* BlockRedWaterFlowing
*
* Class for the still version of Red Water
*
* @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);
this.blockHardness = 100F;
this.setLightOpacity(3);
this.setBlockName(Strings.RED_WATER_STILL_NAME);
this.setCreativeTab(EquivalentExchange3.tabsEE3);
this.disableStats();
this.setRequiresSelfNotify();
}
@Override
public String getTextureFile() {
return Sprites.SPRITE_SHEET_LOCATION + Sprites.BLOCK_SPRITE_SHEET;
}
}