Some work on the new api
This commit is contained in:
parent
3d819967be
commit
df61729d6f
69 changed files with 1380 additions and 1413 deletions
|
@ -59,7 +59,7 @@ public class BlockOre extends BaseBlock implements ITexturedBlock, IOreNameProvi
|
|||
return new ItemStack(ModBlocks.ore, count, i);
|
||||
}
|
||||
}
|
||||
throw new InvalidParameterException("The ore block " + name + " could not be found.");
|
||||
return BlockOre2.getOreByName(name, count);
|
||||
}
|
||||
|
||||
public static ItemStack getOreByName(String name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue