mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 16:27:45 +00:00
All devs and contributors should use the provided formatter settings. If your IDE does not support the format, the rules are simple, it is the default java formatting rules, with 200char line lengths and 1 extra line after class definitions.
44 lines
989 B
Java
44 lines
989 B
Java
package com.cricketcraft.chisel.block;
|
|
|
|
import java.util.List;
|
|
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.block.BlockWall;
|
|
import net.minecraft.client.renderer.texture.IIconRegister;
|
|
import net.minecraft.creativetab.CreativeTabs;
|
|
import net.minecraft.item.Item;
|
|
import net.minecraft.util.IIcon;
|
|
|
|
import com.cricketcraft.chisel.carving.CarvableHelper;
|
|
|
|
public class BlockMarbleWall extends BlockWall {
|
|
|
|
CarvableHelper carverHelper;
|
|
|
|
public BlockMarbleWall(Block block) {
|
|
super(block);
|
|
|
|
carverHelper = new CarvableHelper();
|
|
}
|
|
|
|
@Override
|
|
public IIcon getIcon(int side, int metadata) {
|
|
return carverHelper.getIcon(side, metadata);
|
|
}
|
|
|
|
@Override
|
|
public int damageDropped(int i) {
|
|
return i;
|
|
}
|
|
|
|
@Override
|
|
public void registerBlockIcons(IIconRegister register) {
|
|
carverHelper.registerBlockIcons("Chisel", this, register);
|
|
}
|
|
|
|
@Override
|
|
public void getSubBlocks(Item block, CreativeTabs tabs, List list) {
|
|
carverHelper.registerSubBlocks(this, tabs, list);
|
|
}
|
|
}
|