How to make a readable book

Started by FanelLore on

Topic category: Help with MCreator software

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a readable book

I've been wondering, how do you make a custom book in Mcreator that is actually readable, and has custom text in it that is automatically there in the first place?

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a GUI, and there is…
Sun, 05/24/2020 - 11:31

Create a GUI, and there is an option for text. I think it’s the first one. Then, if you want more pages, put a button in the GUI that is triggered to open the next page, which is another GUI.

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you have some knowledge…
Sun, 05/24/2020 - 12:12

if you have some knowledge of JSON files and such, you could try patchouli:
https://www.curseforge.com/minecraft/mc-mods/patchouli

but without JSON knowledge it would make debugging your books really hard... it is still a lot more powerful, beautiful, and a lot less time consuming to make.

always run you JSON code with https://jsonlint.com/ before using it.

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
another good thing is that…
Sun, 05/24/2020 - 12:13

another good thing is that you don't need to lock any elements in MCreator.

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright, that makes sense…
Sun, 05/24/2020 - 17:22

Alright, that makes sense. Thanks for your help!

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
another quick question: how…
Fri, 05/29/2020 - 21:39

another quick question: how do you change the font size of the text in the GUI?

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is not possible yet,…
Fri, 05/29/2020 - 21:41

This is not possible yet, but improvements to GUIs are planned.

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright thanks!  
Fri, 05/29/2020 - 22:28

Alright thanks!

 

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Override         protected…
Fri, 06/12/2020 - 20:42

@Override
        protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
            this.font.drawString("Hero's Sword", 3, 7, -13434829);
            this.font.drawString("Hero's Pickaxe", 3, 34, -13434829);
            this.font.drawString("Hero's Wand", 3, 61, -13434880);
            this.font.drawString("Other Knowledge", 3, 88, -3407668);
            this.font.drawString("Vulta-Diamond Pickaxe", 3, 106, -16750951);
            this.font.drawString("Strange Scrolls", 3, 124, -3368704);
            this.font.drawString("Crystal Wrath", 3, 142, -10092442);

This might be the code that includes the font?

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I will try that. Thanks!
Fri, 06/19/2020 - 15:47

I will try that. Thanks!