Update forge

This commit is contained in:
Vincent Lee committed 2016-04-03 18:47:31 -05:00
1 parent 5f3172bd5d
commit 69db133091
197 files changed
+524 -830

No files matched your search

@@ -61,11 +61,9 @@ public class BlockAltar extends BlockMod implements ILexiconable {
private final Random random = new Random();
protected BlockAltar() {
super(Material.rock);
super(Material.rock, LibBlockNames.ALTAR);
setHardness(3.5F);
setSoundType(SoundType.STONE);
setUnlocalizedName(LibBlockNames.ALTAR);
setDefaultState(blockState.getBaseState()
.withProperty(BotaniaStateProps.ALTAR_VARIANT, AltarVariant.DEFAULT)
);
@@ -113,14 +111,8 @@ public class BlockAltar extends BlockMod implements ILexiconable {
}
@Override
protected boolean shouldRegisterInNameSet() {
return false;
}
@Override
public Block setUnlocalizedName(String par1Str) {
GameRegistry.registerBlock(this, ItemBlockWithMetadataAndName.class, par1Str);
return super.setUnlocalizedName(par1Str);
public void registerItemForm() {
GameRegistry.register(new ItemBlockWithMetadataAndName(this), getRegistryName());
}
@Override