mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 15:23:06 +00:00
Spring Cleaning (#127)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
1544c1bf0d
commit
3b2b31f733
413 files changed
+9272
-17658
No files matched your search
@@ -28,19 +28,16 @@ public class BlockSpellParadigm extends BlockOrientable {
|
||||
return new TESpellParadigmBlock();
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
|
||||
/**
|
||||
* returns a list of items with the same ID, but different meta (eg: dye returns 16 items)
|
||||
*/
|
||||
public void getSubBlocks(Item par1, CreativeTabs par2CreativeTabs, List par3List) {
|
||||
public void getSubBlocks(Item item, CreativeTabs tab, List<ItemStack> items) {
|
||||
if (this.equals(ModBlocks.blockSpellParadigm)) {
|
||||
par3List.add(new ItemStack(par1, 1, 0));
|
||||
par3List.add(new ItemStack(par1, 1, 1));
|
||||
par3List.add(new ItemStack(par1, 1, 2));
|
||||
par3List.add(new ItemStack(par1, 1, 3));
|
||||
items.add(new ItemStack(item, 1, 0));
|
||||
items.add(new ItemStack(item, 1, 1));
|
||||
items.add(new ItemStack(item, 1, 2));
|
||||
items.add(new ItemStack(item, 1, 3));
|
||||
} else {
|
||||
super.getSubBlocks(par1, par2CreativeTabs, par3List);
|
||||
super.getSubBlocks(item, tab, items);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user