aether-legacy/src/main/java/com/gildedgames/the_aether/blocks/decorative/BlockAetherFenceGate.java
2023-03-13 19:53:26 +01:00

25 lines
790 B
Java

package com.gildedgames.the_aether.blocks.decorative;
import com.gildedgames.the_aether.Aether;
import com.gildedgames.the_aether.blocks.BlocksAether;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.BlockFenceGate;
import net.minecraft.util.IIcon;
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_);
}
}