aether-legacy/src/main/java/com/legacy/aether/blocks/decorative/BlockAetherFenceGate.java
2018-12-06 23:32:48 -06:00

29 lines
713 B
Java

package com.legacy.aether.blocks.decorative;
import net.minecraft.block.BlockFenceGate;
import net.minecraft.util.IIcon;
import com.legacy.aether.Aether;
import com.legacy.aether.blocks.BlocksAether;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class BlockAetherFenceGate extends BlockFenceGate {
public BlockAetherFenceGate() {
super();
this.setHardness(2.0F);
this.setResistance(5.0F);
this.setStepSound(soundTypeWood);
this.setBlockTextureName(Aether.find("skyroot_planks"));
}
@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon(int p_149691_1_, int p_149691_2_) {
return BlocksAether.skyroot_planks.getBlockTextureFromSide(p_149691_1_);
}
}