Added code formatter
This commit is contained in:
parent
710f9c04e7
commit
b9448d5d90
444 changed files with 32383 additions and 26254 deletions
|
@ -10,9 +10,11 @@ import net.minecraftforge.fml.relauncher.SideOnly;
|
|||
import reborncore.common.BaseBlock;
|
||||
import techreborn.client.TechRebornCreativeTabMisc;
|
||||
|
||||
public class BlockReinforcedGlass extends BaseBlock implements ITexturedBlock {
|
||||
|
||||
public BlockReinforcedGlass(Material materialIn) {
|
||||
public class BlockReinforcedGlass extends BaseBlock implements ITexturedBlock
|
||||
{
|
||||
|
||||
public BlockReinforcedGlass(Material materialIn)
|
||||
{
|
||||
super(materialIn);
|
||||
setUnlocalizedName("techreborn.reinforcedglass");
|
||||
setCreativeTab(TechRebornCreativeTabMisc.instance);
|
||||
|
@ -20,7 +22,8 @@ public class BlockReinforcedGlass extends BaseBlock implements ITexturedBlock {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean isOpaqueCube(IBlockState state) {
|
||||
public boolean isOpaqueCube(IBlockState state)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -34,17 +37,19 @@ public class BlockReinforcedGlass extends BaseBlock implements ITexturedBlock {
|
|||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
private final String prefix = "techreborn:blocks/";
|
||||
|
||||
private final String prefix = "techreborn:blocks/";
|
||||
|
||||
@Override
|
||||
public int amountOfStates() {
|
||||
public int amountOfStates()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTextureNameFromState(IBlockState arg0, EnumFacing arg1) {
|
||||
public String getTextureNameFromState(IBlockState arg0, EnumFacing arg1)
|
||||
{
|
||||
return prefix + "reinforcedglass";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue