mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-27 23:32:59 +00:00
Allow for a custom fontrenderer for a book in general and propagate it to draw calls instead of having 3 places where the fontrenderer is declared
This commit is contained in:
1 parent
34e251b49b
commit
e3abffafea
7 files changed
+28
-20
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package slimeknights.mantle.client.book.data;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.FontRenderer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.stats.StatFileWriter;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
@@ -31,6 +32,7 @@ public class BookData implements IDataItem {
|
||||
public transient AppearanceData appearance = new AppearanceData();
|
||||
public transient ArrayList<ItemStackData.ItemLink> itemLinks = new ArrayList<>();
|
||||
public transient HashMap<String, String> strings = new HashMap<>();
|
||||
public transient FontRenderer fontRenderer;
|
||||
|
||||
protected final transient ArrayList<BookTransformer> transformers = new ArrayList<>();
|
||||
|
||||
|
||||
Reference in new issue
Block a user