Eliminated some of the "wonkiness" from the Air Sigil by moving its effects to the client side.. Also worked a bit more on the PageAlchemyArray.

This commit is contained in:
WayofTime 2016-07-21 16:49:12 -04:00
parent 087982eb9d
commit 6a937c2047
6 changed files with 78 additions and 22 deletions

View file

@ -53,6 +53,16 @@ public class CategoryAlchemy
speedPages.addAll(PageHelper.pagesForLongText(TextHelper.localize(keyBase + "speed" + ".info"), 370));
entries.put(new ResourceLocation(keyBase + "speed"), new EntryText(speedPages, TextHelper.localize(keyBase + "speed"), true));
List<IPage> turretPages = new ArrayList<IPage>();
PageAlchemyArray turretRecipePage = BookUtils.getAlchemyPage("skeletonTurret");
if (turretRecipePage != null)
{
turretPages.add(turretRecipePage);
}
turretPages.addAll(PageHelper.pagesForLongText(TextHelper.localize(keyBase + "turret" + ".info"), 370));
entries.put(new ResourceLocation(keyBase + "turret"), new EntryText(turretPages, TextHelper.localize(keyBase + "turret"), true));
for (Entry<ResourceLocation, EntryAbstract> entry : entries.entrySet())
{
for (IPage page : entry.getValue().pageList)