mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Finished off the Loonium and fixed terrasteel blocks dropping the wrong meta.
This commit is contained in:
1 parent
f6b985c93e
commit
9ecaa6e2d8
2 files changed
+17
No files matched your search
@@ -58,6 +58,11 @@ public class BlockStorage extends BlockMod implements ILexiconable {
|
||||
GameRegistry.registerBlock(this, ItemBlockWithMetadataAndName.class, par1Str);
|
||||
return super.setBlockName(par1Str);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int damageDropped(int meta) {
|
||||
return meta;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean shouldRegisterInNameSet() {
|
||||
|
||||
@@ -16,7 +16,9 @@ import java.util.Random;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.common.ChestGenHooks;
|
||||
import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
import vazkii.botania.api.subtile.SubTileFunctional;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
|
||||
public class SubTileLoonuim extends SubTileFunctional {
|
||||
|
||||
@@ -41,6 +43,16 @@ public class SubTileLoonuim extends SubTileFunctional {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getColor() {
|
||||
return 0x274A00;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LexiconEntry getEntry() {
|
||||
return LexiconData.loonium;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxMana() {
|
||||
return COST;
|
||||
|
||||
Reference in new issue
Block a user