clanup
This commit is contained in:
parent
5a69c0545b
commit
cf37d48292
122 changed files with 633 additions and 2384 deletions
|
@ -7,7 +7,6 @@ import common.item.Item;
|
|||
import common.item.block.ItemBlock;
|
||||
import common.model.BlockLayer;
|
||||
import common.properties.Property;
|
||||
import common.world.State;
|
||||
|
||||
public class BlockStainedGlassPane extends BlockPane
|
||||
{
|
||||
|
@ -21,7 +20,7 @@ public class BlockStainedGlassPane extends BlockPane
|
|||
|
||||
public BlockStainedGlassPane(DyeColor color)
|
||||
{
|
||||
super(Material.TRANSLUCENT, false);
|
||||
super(Material.TRANSLUCENT);
|
||||
this.color = color;
|
||||
this.setDefaultState(this.getBaseState().withProperty(NORTH, Boolean.valueOf(false)).withProperty(EAST, Boolean.valueOf(false)).withProperty(SOUTH, Boolean.valueOf(false)).withProperty(WEST, Boolean.valueOf(false)));
|
||||
this.setTab(CheatTab.BLOCKS);
|
||||
|
@ -42,15 +41,11 @@ public class BlockStainedGlassPane extends BlockPane
|
|||
return new Property[] {NORTH, EAST, WEST, SOUTH};
|
||||
}
|
||||
|
||||
protected String getPaneBase(State state) {
|
||||
protected String getPaneBase() {
|
||||
return this.color.getName() + "_glass";
|
||||
}
|
||||
|
||||
protected String getPaneEdge(State state) {
|
||||
protected String getPaneEdge() {
|
||||
return this.color.getName() + "_glass_pane";
|
||||
}
|
||||
|
||||
protected Item getItemToRegister() {
|
||||
return new ItemBlock(this, "");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue