repositories {
maven {
url 'https://dogforce-games.com/maven'
}
}
dependencies {
deobfCompile "dev.gigaherz.guidebook:Guidebook-1.17.1:3.3.0"
}
Minecraft book API and library
Home Page: https://www.curseforge.com/minecraft/mc-mods/guidebook
License: Other
Your example <image src="minecraft:items/coal" tw="16" th="16" />
is using the internal image repo of minecraft... I can achieve the same with the stack
...
So in image
I see the biggest potential in beeing able to put in my own images. Add them maybe here in the resource folder and then registered them and use in the book. But I am missing any hint if I can do such thing and how. Can you provide an example or short guide please?
Hi!
I only discovered your mod a few hours ago after listing mods as "Last Updated" on Curse. I find it really interesting because of all the configuration it has! So here I come with a suggestion of my own:
A way to load a new chapter or page from an existing web page basically reads a URL's HTML code and adds it as a chapter or section. I made a menu with Custom Main Menu mod to show server status of our server through our website, so a similar thing or a way to get elements of a page.
My other suggestion is almost identical; a way to load images from URL.
Here is some question I have about the mod in general:
/give @p gbook:guidebook 1 0 {Book:"gbook:xml/guidebook.xml"}
doesn't seem to work.Unknown what precisely causes this but it has to do with the EZStorage system either containing a guide and it being removed, or the guide being added into the inventory and then a crafting event following soon after. And pretty much anything inbetween.
Here is a pastebin of the issue.
Tried placing any custom image in:
(apparently it's the default location for them to be recognized and pulled from)
/config/books/resources/
Also tried:
/config/books/
/config/books/resources/textures
Not even using an extracted minecraft "coal" image.
Only when pulled from default:
<image src="minecraft:items/coal" tw="16" th="16" />
<book title="Guidebook Manual" cover="gbook:covers/default" fontSize="0.6">
Will they display.
This is my XML file:
<book title="image Test" cover="coal" fontSize="0.6">
<include ref="standard.xml" />
<chapter>
<page>
<title>Test of Images</title>
<p></p>
<image src="coal" tw="16" th="16" />
<p></p>
<p></p>
<image src="/config/books/resources/coal" tw="16" th="16" />
<p></p>
<p></p>
<image src="/config/books/coal" tw="16" th="16" />
<p></p>
<p></p>
<image src="/config/books/resources/textures/coal" tw="16" th="16" />
<p></p>
<p></p>
<image src="minecraft:items/coal" tw="16" th="16" />
</page>
</chapter>
</book>
Ok, here is an actual bug report and not a feature suggestion.
I noticed when I restarted my game that it wouldn't boot, it crashed when it loaded. It seems like using the Recipe tag with a modded recipe causes the game to crash when you load it, and not when you just reload the resources (F3+T), vanilla recipes seem to work no problem.
MC: 1.12.2
Guidebook-1.12.2-2.5.3
<recipe type="shaped">
<recipe.result>
<stack item="opencomputers:screen1"/>
</recipe.result>
</recipe>
WARNING: coremods are present:
LoadingPlugin (ResourceLoader-MC1.12-1.5.2.jar)
CTMCorePlugin (CTM-MC1.12-0.2.3.12.jar)
VanillaFixLoadingPlugin (VanillaFix-1.0.6-53.jar)
LibLoader (# LibLoader.jar)
LoadingPlugin (Quark-r1.4-123.jar)
CorePlugin (SmoothFont-1.12.2-1.15.jar)
TransformerLoader (OpenComputers-MC1.12.2-1.7.2+ac67d8ba3.jar)
IELoadingPlugin (ImmersiveEngineering-0.12-83-core.jar)
DynamicSurroundingsCore (DynamicSurroundings-1.12.2-3.4.9.13.jar)
BlurPlugin (Blur-1.0.4-14.jar)
TickrateChanger (TickrateChanger-1.0.14.jar)
CoreMod (TickProfiler-1.12-0.0.4.jar)
WTPlugin (WaitingTime-1.0.0.jar)
LoadingPlugin (HardcoreDarkness-MC1.12.2-2.0.jar)
BetterFoliageLoader (BetterFoliage-MC1.12-2.1.10.jar)
Contact their authors BEFORE contacting forge
// Would you like a cupcake?
Time: 6/17/18 7:46 PM
Description: Initializing game
java.lang.NullPointerException: Initializing game
at gigaherz.guidebook.guidebook.elements.ElementRecipe.retrieveRecipe(ElementRecipe.java:166)
at gigaherz.guidebook.guidebook.elements.ElementRecipe.retrieveRecipe(ElementRecipe.java:151)
at gigaherz.guidebook.guidebook.elements.ElementRecipe.parseChildNodes(ElementRecipe.java:133)
at gigaherz.guidebook.guidebook.BookDocument.parseChildElements(BookDocument.java:497)
at gigaherz.guidebook.guidebook.BookDocument.parseSection(BookDocument.java:400)
at gigaherz.guidebook.guidebook.BookDocument.parseSection(BookDocument.java:374)
at gigaherz.guidebook.guidebook.BookDocument.parseChapter(BookDocument.java:360)
at gigaherz.guidebook.guidebook.BookDocument.parseBook(BookDocument.java:224)
at gigaherz.guidebook.guidebook.client.BookRegistry.parseBook(BookRegistry.java:168)
at gigaherz.guidebook.guidebook.client.BookRegistry.loadRawBookFiles(BookRegistry.java:208)
at gigaherz.guidebook.guidebook.client.BookRegistry.parseAllBooks(BookRegistry.java:86)
at gigaherz.guidebook.guidebook.client.BookBakedModel$ModelLoader.onResourceManagerReload(BookBakedModel.java:191)
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121)
at net.minecraftforge.client.model.ModelLoaderRegistry.registerLoader(ModelLoaderRegistry.java:74)
at gigaherz.guidebook.client.ClientProxy.registerModels(ClientProxy.java:36)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_44_ClientProxy_registerModels_ModelRegistryEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:143)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179)
at net.minecraftforge.fml.client.FMLClientHandler.fireSidedRegistryEvents(FMLClientHandler.java:1096)
at net.minecraftforge.fml.common.FMLCommonHandler.fireSidedRegistryEvents(FMLCommonHandler.java:758)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:605)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:270)
at net.minecraft.client.Minecraft.init(Minecraft.java:466)
at net.minecraft.client.Minecraft.run(Minecraft.java:3898)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
-- Head --
Thread: Client thread
Stacktrace:
at gigaherz.guidebook.guidebook.elements.ElementRecipe.retrieveRecipe(ElementRecipe.java:166)
at gigaherz.guidebook.guidebook.elements.ElementRecipe.retrieveRecipe(ElementRecipe.java:151)
at gigaherz.guidebook.guidebook.elements.ElementRecipe.parseChildNodes(ElementRecipe.java:133)
at gigaherz.guidebook.guidebook.BookDocument.parseChildElements(BookDocument.java:497)
at gigaherz.guidebook.guidebook.BookDocument.parseSection(BookDocument.java:400)
at gigaherz.guidebook.guidebook.BookDocument.parseSection(BookDocument.java:374)
at gigaherz.guidebook.guidebook.BookDocument.parseChapter(BookDocument.java:360)
at gigaherz.guidebook.guidebook.BookDocument.parseBook(BookDocument.java:224)
at gigaherz.guidebook.guidebook.client.BookRegistry.parseBook(BookRegistry.java:168)
at gigaherz.guidebook.guidebook.client.BookRegistry.loadRawBookFiles(BookRegistry.java:208)
at gigaherz.guidebook.guidebook.client.BookRegistry.parseAllBooks(BookRegistry.java:86)
at gigaherz.guidebook.guidebook.client.BookBakedModel$ModelLoader.onResourceManagerReload(BookBakedModel.java:191)
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121)
at net.minecraftforge.client.model.ModelLoaderRegistry.registerLoader(ModelLoaderRegistry.java:74)
at gigaherz.guidebook.client.ClientProxy.registerModels(ClientProxy.java:36)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_44_ClientProxy_registerModels_ModelRegistryEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:143)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179)
at net.minecraftforge.fml.client.FMLClientHandler.fireSidedRegistryEvents(FMLClientHandler.java:1096)
at net.minecraftforge.fml.common.FMLCommonHandler.fireSidedRegistryEvents(FMLCommonHandler.java:758)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:605)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:270)
at net.minecraft.client.Minecraft.init(Minecraft.java:466)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:3898)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_161, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 8949566912 bytes (8534 MB) / 10063708160 bytes (9597 MB) up to 10063708160 bytes (9597 MB)
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms8064m -Xmx10112m
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.3.2655 Optifine OptiFine_1.12.2_HD_U_C8 57 mods loaded, 57 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
| State | ID | Version | Source | Signature |
|:----- |:-------------------- |:--------------- |:------------------------------------------------------------ |:---------------------------------------- |
| UCH | minecraft | 1.12.2 | minecraft.jar | None |
| UCH | mcp | 9.42 | minecraft.jar | None |
| UCH | FML | 8.0.99.99 | forge-1.12.2-14.23.3.2655-universal.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCH | forge | 14.23.3.2655 | forge-1.12.2-14.23.3.2655-universal.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCH | smoothfontcore | 1.12.2-1.14 | minecraft.jar | None |
| UCH | opencomputers|core | 1.7.2+ac67d8ba3 | minecraft.jar | None |
| UCH | smoothfont | 1.12.2-1.15 | SmoothFont-1.12.2-1.15.jar | None |
| UCH | advancedmacros | 3.12.0 | advancedmacros-3.12.0.jar | None |
| UCH | jei | 4.9.1.179 | jei_1.12.2-4.9.1.179.jar | None |
| UCH | immersiveengineering | 0.12-83 | ImmersiveEngineering-0.12-83.jar | None |
| UCH | alternatingflux | 0.12-4 | alternatingflux-0.12-4.jar | None |
| UCH | quark | r1.4-123 | Quark-r1.4-123.jar | None |
| UCH | autoreglib | 1.3-17 | AutoRegLib-1.3-17.jar | None |
| UCH | bbor | 1.0.1 | BBOutlineReloaded-1.0.1-mc1.12.2.forge.jar | None |
| UCH | betterfoliage | 2.1.10 | BetterFoliage-MC1.12-2.1.10.jar | None |
| UCH | betterthanbunnies | 1.12.1-1.1.0 | BetterThanBunnies-1.12.1-1.1.0.jar | None |
| UCH | bibliocraft | 2.4.3 | BiblioCraft[v2.4.3][MC1.12.0].jar | None |
| UCH | blur | 1.0.4-14 | Blur-1.0.4-14.jar | None |
| UCH | cfm | 4.2.0 | cfm-4.2.0-mc1.12.2.jar | None |
| UCH | codechickenlib | 3.1.8.341 | CodeChickenLib-1.12.2-3.1.8.341-universal.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
| UCH | chickenchunks | 2.4.1.71 | ChickenChunks-1.12.2-2.4.1.71-universal.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
| UCH | asielib | 1.0.0 | Computronics-1.12.1-1.6.5.jar | None |
| UCH | opencomputers | 1.7.2+ac67d8ba3 | OpenComputers-MC1.12.2-1.7.2+ac67d8ba3.jar | None |
| UCH | tis3d | 1.3.1.17 | TIS-3D-MC1.12-1.3.1.17.jar | None |
| UCH | computronics | 1.6.5 | Computronics-1.12.1-1.6.5.jar | None |
| UCH | ctm | MC1.12-0.2.3.12 | CTM-MC1.12-0.2.3.12.jar | None |
| UCH | custommainmenu | 2.0.8 | CustomMainMenu-MC1.12.2-2.0.8.jar | None |
| UCH | dsurround | 3.4.9.13 | DynamicSurroundings-1.12.2-3.4.9.13.jar | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
| UCH | presets | 3.4.9.13 | DynamicSurroundings-1.12.2-3.4.9.13.jar | None |
| UCH | enhancedvisuals | 1.0 | EnhancedVisuals v1.1.4 mc1.12.jar | None |
| UCH | com.boydti.fawe | 3.5.1 | FastAsyncWorldEdit-forge112-18.02.08-598fcb8-1001-19.0.1.jar | None |
| UCH | flatcoloredblocks | mc1.12-6.6 | flatcoloredblocks-mc1.12-6.6.jar | None |
| UCH | gravestone | 1.10.1 | gravestone-1.10.1.jar | None |
| UCH | gbook | 2.5.3 | Guidebook-1.12.2-2.5.3.jar | None |
| UCH | hardcoredarkness | 2.0 | HardcoreDarkness-MC1.12.2-2.0.jar | d72e0dd57935b3e9476212aea0c0df352dd76291 |
| UCH | immersivepetroleum | 1.1.9 | immersivepetroleum-1.12.2-1.1.9.jar | None |
| UCH | itemscroller | 0.11.0 | itemscroller-1.12.0-0.11.0.jar | None |
| UCH | jeiintegration | 1.5.1.36 | jeiintegration_1.12.2-1.5.1.36.jar | None |
| UCH | jeresources | 0.8.4.25 | JustEnoughResources-1.12.1-0.8.4.25.jar | None |
| UCH | lunatriuscore | 1.2.0.42 | LunatriusCore-1.12.2-1.2.0.42-universal.jar | None |
| UCH | morefood | 1.18 | morefood-1.19.jar | None |
| UCH | nbtedit | $version | NBTEdit-0.7.jar | None |
| UCH | nbttooltip | 0.3 | nbttooltip-0.3.jar | None |
| UCH | openglasses | 1.5.5 | OpenGlasses-MC1.12.2-1.5.5.jar | None |
| UCH | openprinter | 0.1.0.2 | OpenPrinter-1.12.2-0.1.0.2.jar | None |
| UCH | resourceloader | 1.5.2 | ResourceLoader-MC1.12-1.5.2.jar | None |
| UCH | schematica | 1.8.0.169 | Schematica-1.12.2-1.8.0.169-universal.jar | None |
| UCH | soundfilters | 0.10_for_1.12 | SoundFilters-0.10_for_1.12.jar | None |
| UCH | thutcore | 5.16.3 | thutcore-1.12.2-5.16.3.jar | None |
| UCH | thutcore_compat | 1.0 | thutcore-1.12.2-5.16.3.jar | None |
| UCH | thuttech | 6.0.16 | thuttech-1.12.2-6.0.16.jar | None |
| UCH | tickprofiler | 1.12-0.0.4 | TickProfiler-1.12-0.0.4.jar | None |
| UCH | tickratechanger | 1.0.14 | TickrateChanger-1.0.14.jar | None |
| UCH | vanillafix | 1.0.6+53 | VanillaFix-1.0.6-53.jar | None |
| UCH | waitingtime | 1.0.0 | WaitingTime-1.0.0.jar | 6919c86a9d8d117dbc520ba31378675eaae1c16a |
| UCH | worldedit | 6.1.9-SNAPSHOT | worldedit-forge-mc1.12.1-6.1.9-SNAPSHOT-dist.jar | None |
| UCH | xaerominimap | 1.13.6 | Xaeros_Minimap_1.13.6_Forge_1.12.jar | None |
Loaded coremods (and transformers):
LoadingPlugin (ResourceLoader-MC1.12-1.5.2.jar)
lumien.resourceloader.asm.ClassTransformer
CTMCorePlugin (CTM-MC1.12-0.2.3.12.jar)
team.chisel.ctm.client.asm.CTMTransformer
VanillaFixLoadingPlugin (VanillaFix-1.0.6-53.jar)
LibLoader (# LibLoader.jar)
LoadingPlugin (Quark-r1.4-123.jar)
vazkii.quark.base.asm.ClassTransformer
CorePlugin (SmoothFont-1.12.2-1.15.jar)
bre.smoothfont.asm.Transformer
TransformerLoader (OpenComputers-MC1.12.2-1.7.2+ac67d8ba3.jar)
li.cil.oc.common.asm.ClassTransformer
IELoadingPlugin (ImmersiveEngineering-0.12-83-core.jar)
blusunrize.immersiveengineering.common.asm.IEClassTransformer
DynamicSurroundingsCore (DynamicSurroundings-1.12.2-3.4.9.13.jar)
org.blockartistry.DynSurround.asm.Transformer
BlurPlugin (Blur-1.0.4-14.jar)
com.tterrag.blur.BlurTransformer
TickrateChanger (TickrateChanger-1.0.14.jar)
me.guichaguri.tickratechanger.TickrateTransformer
CoreMod (TickProfiler-1.12-0.0.4.jar)
WTPlugin (WaitingTime-1.0.0.jar)
com.blamejared.waitingtime.core.WTClassTransformer
LoadingPlugin (HardcoreDarkness-MC1.12.2-2.0.jar)
lumien.hardcoredarkness.asm.ClassTransformer
BetterFoliageLoader (BetterFoliage-MC1.12-2.1.10.jar)
mods.betterfoliage.loader.BetterFoliageTransformer
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 398.11' Renderer: 'GeForce GTX 970/PCIe/SSE2'
Suspected Mods: Guidebook (gbook)
Launched Version: MultiMC5
LWJGL: 2.9.4
OpenGL: GeForce GTX 970/PCIe/SSE2 GL version 4.6.0 NVIDIA 398.11, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: No
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: Unity-Complete-1.2.0 (incompatible)
Current Language: English (United Kingdom)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
OptiFine Version: OptiFine_1.12.2_HD_U_C8
Render Distance Chunks: 21
Mipmaps: 2
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 4.6.0 NVIDIA 398.11
OpenGlRenderer: GeForce GTX 970/PCIe/SSE2
OpenGlVendor: NVIDIA Corporation
CpuCount: 4
Is there a way how to reload the book in-game? When I am working on formating it is very inconvinient to turn the game off and on again whenever I want to see the new changes.
Perhaps the Github wiki should include some examples of the setup. Using the in game book for version 1.10.2.1.3.3 is a bit confusing.
It seems to tell you to look in "Config/guidebook" for an example of a book resource pack. Yet that folder doesn't exist. Instead you find "Gbook.cfg" which (sort of) points you to a sub folder hidden inside the jar itself called "XML".
Of course this makes sense if you have made resource packs before. Right now I'm assuming I need to make a folder called "Guidebook" and put the "XML" folder inside it and the mod will auto load my book with the pack. That is very convenient.
Unfortunately to figure that out I had to guess the missing parts of the resource file were pointing to assets being loaded by the mod and pry it open with 7zip to check. But what I found didn't match the instructions in the book. There was no Books.Json in the assets folder. So I downloaded ender-rift temporarily and pried that open too for comparison.
I haven't tried writing up a sample book and testing my hypothesis yet but if that is how simple it is . . . it's a GREAT design . . . and my entire problem could have been solved by replacing the entry for "Configuration folder" with this text:
"Mod pack authors wishing to add books that can be made available to their players should create a new folder called "Config/Guidebook". If you place a properly formatted XML file here the guidebook mod will automatically load it into memory and register it as if it were a resource pack."
After that something about how to provide the book to the players would also be helpful. I'm assuming I need to create a recipe for it, provide it using a starting inventory mod, or give it as a HQM quest reward.
But it could also simply auto load into the players inventory which would be awkward should I be making multiple guides.
there is a crash while loading minecraft .
here is the crash - https://paste.ee/p/vcnR4
minecraft version - 1.12.2
forge - 14.23.4.2707
guide book version - 2.0.1
what is the setup for external links in the guidebook
lets say I want to send players to my GitHub for bug reporting
How can I use lang files for content of my guidebook?
I don't found in wiki.
For some reason, when I have the render size set to Large, the book gui is ended EXTREMELY small, to the point I can barely see it. This is especially bad for my 21" monitor. Every other gui, with the exception of RPG Hud, whom I have also contacted the author about, is rendered normally
Getting this when trying to start the game:
[10:03:43] [Client thread/ERROR] [FML]: Caught exception from tconstruct
java.lang.NoSuchMethodError: net.minecraft.util.math.MathHelper.clamp(FFF)F
at slimeknights.tconstruct.library.client.CustomFontColor.valueToColorCode(CustomFontColor.java:45) ~[TConstruct-1.10.2-2.6.5.9.jar:?]
at slimeknights.tconstruct.library.materials.HeadMaterialStats.(HeadMaterialStats.java:29) ~[TConstruct-1.10.2-2.6.5.9.jar:?]
at slimeknights.tconstruct.library.materials.Material.(Material.java:62) ~[TConstruct-1.10.2-2.6.5.9.jar:?]
at slimeknights.tconstruct.tools.TinkerMaterials.mat(TinkerMaterials.java:128) ~[TConstruct-1.10.2-2.6.5.9.jar:?]
at slimeknights.tconstruct.tools.TinkerMaterials.(TinkerMaterials.java:68) ~[TConstruct-1.10.2-2.6.5.9.jar:?]
at slimeknights.tconstruct.shared.TinkerFluids.setupFluids(TinkerFluids.java:85) ~[TConstruct-1.10.2-2.6.5.9.jar:?]
at slimeknights.tconstruct.shared.TinkerFluids.(TinkerFluids.java:77) ~[TConstruct-1.10.2-2.6.5.9.jar:?]
at slimeknights.tconstruct.TConstruct.(TConstruct.java:100) ~[TConstruct-1.10.2-2.6.5.9.jar:?]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_121]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_121]
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:507) ~[forgeSrc-1.10.2-12.18.2.2115-PROJECT(minecolonies).jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239) ~[forgeSrc-1.10.2-12.18.2.2115-PROJECT(minecolonies).jar:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217) ~[forgeSrc-1.10.2-12.18.2.2115-PROJECT(minecolonies).jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:549) [Loader.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:218) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:477) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
[10:03:43] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649]: ---- Minecraft Crash Report ----
// I'm sorry, Dave.Time: 6/4/17 10:03 AM
Description: There was a severe problem during mod loading that has caused the game to failnet.minecraftforge.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraft.util.math.MathHelper.clamp(FFF)F
at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:186)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:580)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:218)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:477)
at net.minecraft.client.Minecraft.run(Minecraft.java:386)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:26)
Caused by: java.lang.NoSuchMethodError: net.minecraft.util.math.MathHelper.clamp(FFF)F
at slimeknights.tconstruct.library.client.CustomFontColor.valueToColorCode(CustomFontColor.java:45)
at slimeknights.tconstruct.library.materials.HeadMaterialStats.(HeadMaterialStats.java:29)
at slimeknights.tconstruct.library.materials.Material.(Material.java:62)
at slimeknights.tconstruct.tools.TinkerMaterials.mat(TinkerMaterials.java:128)
at slimeknights.tconstruct.tools.TinkerMaterials.(TinkerMaterials.java:68)
at slimeknights.tconstruct.shared.TinkerFluids.setupFluids(TinkerFluids.java:85)
at slimeknights.tconstruct.shared.TinkerFluids.(TinkerFluids.java:77)
at slimeknights.tconstruct.TConstruct.(TConstruct.java:100)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:507)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:549)
... 16 more
Hi; I rewrote the first part of demobook.xml
to include some additional features/restructuring I think would highly benefit the mod (everything is explained in inline comments):
(I would be more than willing to implement these; I just wanted to see what you thought @gigaherz )
<pagebreak>
tag<chapter>
s & <section>
s<table-of-contents>
construction<enumerate>
and <itemize>
tags along with <item>
tags<code>
and <note>
tagsMinecraft Version: 1.12.2
Forge Build: 2555
Mod Version: 1.7.3
Crash Log: https://pastebin.com/aDD6spmz
The mod causes a server to crash while attempting to load.
There's a bug in the 1.12 version of the mod that causes guidebooks to appear in all creative tabs.
The aceccibility for this mod is quite bad.
This is even more unfortunate since this is such a great mod!
Expected Behavior:
- Just drop a Book into Config/Books lo let it load at next startup
Current Behavior:
1. You have to find out at first where to put the books.
2. You have to create the config/books folder
3. You have to know what a .json file is in the first place even if you are not a programmer/developer
4. You have to create a books.json file at the right place
5. Just drop a Book into config/books/books
6. You have to find our what to put into the books.json file
7. You have to edit the books.json file evry time you add or delete a book
Solution:
- Load all xml's of the config/books folder automatically at startup.
- Put the guidebook.xml into the config/books folder
It is not clear where to put the books and what to type into the config. I think it is a bad practice for any modpack developer (or anyone else) to put books in the jar file as this gets overridden with new versions.
I got it to work after quite a bit of fiddleing by putting books into config/books/books
and creating a books.json file in config/books
I would suggest to just create the guidbook example in the config folder instead inside the jar. This way anyone who loads this mod and tries to create a book can instantly see where to put the books.
Also I would (if possible) rather just scan the config/books folder and automatically load all xml's at startup instead of manually editing a .json file. Most users are not that technican and this would massively improve the acessibility of this mod.
Issue: 1.12.0-1.7.3 crashes dedicated server Forge 1.12.2 build 2512
Notes:
on startup while looking for clientside classes
crash report:
https://gist.github.com/d12b881dd53935991653a320c3374384
fml server latest:
https://gist.github.com/afbcb09692d761d34ed73a7700156de7
When building a recipee many items are purple and black replacementgraphic.
also I want to insert bonemeal which is 351:15
but the text is minecraft:dye. It will just put some random dye or even coca beans in
How does a modder add a guidebook to player's inventory (first time player joined a world) so it works in Java? Can it be done by argument (true/false) while registering the book?
Commit to add the book: ldtteam/minecolonies@c4eb328
Crash: https://gist.github.com/Kostronor/7c4b6f51f5d005cd2916d2cedeb32da8
When using <link>
inside of a <p>
element, it adds a space before and after the link. I don't know if this is intended or not, but I would rather it not add spaces. For example, when I add an in-line link, I would like this:
(link)
not this:
( link )
Hi,
It looks like the guidebook has some issue rendering
<stack item="advancedrocketry:pressureTank" x="60"/>
Here is the link to the issue in my modpack's github... containing the stacktrace and the guidebook xml file:
gdarai/SpaceRace#14
Hello, release 2.0.1 is missing at http://dogforce-games.com/maven/gigaherz/guidebook/, therefore this version can't be used with gradle
Gradle doesn't seem to be able to fetch the guideBook dependencies.
Did something go wrong there?
I can't seem to reliably reproduce it and it doesn't seem consistent at all but sometimes (really really rarely) when clicking a stack it causes a null pointer exception which causes a crash.
It only happened to me on linked stacks so far but that shouldn't actually make a difference because it should also call the method on not-linked stacks.
I am saying it's because of stack bounds because it happens on line 317 of BookRendering:
Rectangle b = l.getBounds();
if (mX >= b.getX() && mX <= (b.getX() + b.getWidth()) && //<- this line
mY >= b.getY() && mY <= (b.getY() + b.getHeight()))
I have not yet been able properly track it down and step through it while it happened. I have a crash report for you but that doesn't actually say anything that I haven't said already (i think).
Guidebook-1.12.2-2.6.0
Minecraft: 1.12.2
Forge: 14.23.3.2697
Pack: Mystical Village 2
Time: 6/21/18 3:57 PM
Description: Exception in server tick loop
net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: gigaherz/guidebook/client/BookRegistryEvent
at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:89)
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:602)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:593)
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:97)
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:332)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: gigaherz/guidebook/client/BookRegistryEvent
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:82)
at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:82)
... 31 more
Caused by: java.lang.ClassNotFoundException: gigaherz.guidebook.client.BookRegistryEvent
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
No matter how I scale the Minecraft interface or what I set the book GUI to in the mod config, the book always displays at what I figure is the minimum size. I'm using the Guidebook-1.10.2-1.6.0 release.
As of 1.12.2-2.5.3, a crash prevent to boot a dedicated server:
[15:15:01] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.NoClassDefFoundError: gigaherz/guidebook/client/BookRegistryEvent
> at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_171]
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_171]
> at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[?:1.8.0_171]
> at net.minecraftforge.fml.common.FMLModContainer.gatherAnnotations(FMLModContainer.java:388) ~[forge-1.12.2-14.23.4.2707-universal.jar:?]
> at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:584) ~[forge-1.12.2-14.23.4.2707-universal.jar:?]
> at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) ~[?:?]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
> at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) ~[minecraft_server.1.12.2.jar:?]
> at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) ~[minecraft_server.1.12.2.jar:?]
> at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) ~[minecraft_server.1.12.2.jar:?]
> at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) ~[minecraft_server.1.12.2.jar:?]
> at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) ~[minecraft_server.1.12.2.jar:?]
> at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) ~[minecraft_server.1.12.2.jar:?]
> at com.google.common.eventbus.EventBus.post(EventBus.java:217) ~[minecraft_server.1.12.2.jar:?]
> at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218) ~[forge-1.12.2-14.23.4.2707-universal.jar:?]
> at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196) ~[forge-1.12.2-14.23.4.2707-universal.jar:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
> at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) ~[minecraft_server.1.12.2.jar:?]
> at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) ~[minecraft_server.1.12.2.jar:?]
> at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) ~[minecraft_server.1.12.2.jar:?]
> at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) ~[minecraft_server.1.12.2.jar:?]
> at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) ~[minecraft_server.1.12.2.jar:?]
> at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) ~[minecraft_server.1.12.2.jar:?]
> at com.google.common.eventbus.EventBus.post(EventBus.java:217) ~[minecraft_server.1.12.2.jar:?]
> at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135) ~[LoadController.class:?]
> at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:593) ~[Loader.class:?]
> at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:97) ~[FMLServerHandler.class:?]
> at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:332) ~[FMLCommonHandler.class:?]
> at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125) ~[nz.class:?]
> at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486) [MinecraftServer.class:?]
> at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
Caused by: java.lang.ClassNotFoundException: gigaherz.guidebook.client.BookRegistryEvent
> at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_171]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_171]
> ... 35 more
Caused by: java.lang.NullPointerException
Is there a tag for copying some text into the clipboard?
If not, please add it.
Images can't be "centered" or aligned to the right on the page.
The 'tx' and 'ty' are only for drawing the image but image will always be on the left of the page.
The Image can't be nested in <p> tag either.
Can the attribute: align="" with center and right be added to the <image> tag ?
perhaps I'm misunderstanding the proper use of the 'tx' and 'ty' ?
Any way to know if your awesome work will include the <span> tag soon?
Thanks. LOVE your mod it's extremely useful we love it.
Hi so i'm using the following line of code for adding the book to an inventory:
chest.setInventorySlotContents(2, new ItemGuidebook("gbook:guidebook").of(GUIDE_BOOK));
But when it is put in the Inventory it has No Texture (Purple, black checkers instead). Whereas if i get it out of the Creative Tab, it shows the correct texture. Am i doing something wrong?
(no it's not the "front cover" of the texture thats the wrong texture, its the whole item),
MC 1.12.2
Forge 14.23.4.27.08
Guidebook 2.5.3
Don't know if you're taking requests but my pet peeve with books is when you close them you have to page through to the last point where you was reading. Some books don't do this and it makes such a big difference.
Can I request please for them to do this so they reopen at the place you was last reading?
If not can you make a possible config option to do it?
Versions:
guidebook-1.12.2-2.0.1
gigaherz.commons-1.12.1-0.6.4
MC Version 1.12.2
Forge 14.23.2.2652
Java 1.8.0_161
<link>
and <image>
tags need to be allowed to be nested inside of <p>
blocks.
also could use additional tags for <b>
old, <i>
talics, and <u>
nderline, and they should also be allowed to be nested inside of the <p>
blocks.
Is there any documentation for the 1.12.2-2.0.0 version of Guidebook anywhere?
One of the strangest issues with mods I've seen in a while. The Guidebook Manual and Rockhounding Manuals are replacing not only items from other mods, but even the deletion slot of the vanilla creative inventory:
Furthermore the items are actually hold-able (and read-able), but as far as I can tell the models/textures are completely broken/weird:
If you need any more information just let me know what to attach. Other than this, the game seems stable, it's just I can't have random items from other mods being replaced and unusable from this issue.
I have:
deobfCompile "gigaherz.guidebook:Guidebook-1.10.2-1.6.0"
and
maven {
url 'http://dogforce-games.com/maven'
}
Isn't the 1.10 added to the dogforce maven repository?
Here's the crash log.
This happened when I updated Guidebook to v2.5.2 on my private server just now, up from 2.5.0.
The same crash happens with v2.5.1, which I'd skipped over by mistake.
Going back to 2.5.0 avoids this.
Minecraft Version: 1.12.2
Forge Build: 2572
Mod Version: 1.7.3
So, following the demo to the letter, I get a missing texture where there should be a cover image. The book otherwise works in-game.
Full book: https://pastebin.com/ZpxtKYvH
Book cover and content in-game: https://imgur.com/35da1Sa
Book cover image and location: https://imgur.com/w5zV15J
https://github.com/gigaherz/Guidebook/blob/master/examples/config/books/demobook.xml
in it you have
<img src="domain:item" />
however, the mod wants the <img>
tag to be terminated with </img>
and not />
Hello! I was looking for a library to implement the guide, I stopped at your mod.
I added to build.gradle of my mod:
repositories {
maven {
url 'http://dogforce-games.com/maven'
}
}
dependencies {
deobfCompile "gigaherz.guidebook:Guidebook-1.12.2:2.6.0"
}
added handler:
@Optional.Method(modid="gbook")
@SubscribeEvent
public static void registerBook(BookRegistryEvent event) {
event.register(ModResources.getResource("xml/guide.xml"));
}
added dependencies = "after:gbook"
to main mod class. I do not think that I was wrong somewhere here.
Build mod and launch client... and crash:
https://gist.github.com/KorDum/7406297fb58ac7eff74fc856e51fcee1
So, I'm not sure if this could be an issue for me, or the mod, but in-game, the books don't have a model, as seen below:
Currently using Minecraft 1.12.2, Forge 14.23.1.2604, and Guidebooks 2.0.0
There is an error loading the assets it needs, here: https://pastebin.com/8FPZyXYN
Hi.. I need hint or I am just reporting bug: Adding fontSize="0.6" to the book tag changes the size of the whole book.
I have 2 books added, one without fontSize and second with it.
Do you know how to get corret fontSize withour resizing the book?
It is possible that it is a mod interaction conflict, since on smaller modpack it behaves differently/correctly.
Gamestages is an API that allows certain actions to be restricted based on a players "Stage" in the game. All stages are added and customized by modpack makers. I was wondering if you can add this same functionality.
Example: A book has 10 pages, pages 1-2 are viewable always, pages 3-6 are viewable at a certain stage, and pages 7-10 are viewable at a different stage.
Link to Gamestages API:
https://github.com/Darkhax-Minecraft/Game-Stages
when i user the /give @p gbook:guidebook 1 0 {Book:"gbook:xml/test.xml"}
i get a book but i get the an unknown error occur
I have the following file setup
/config/books in there there are the folder books and books.json with the entry
[ «gbook:books/rules.xml», «gbook:books/demobook.xml», «gbook:books/test.xml» ]
what is wrong here
Hi!
This isn't part of HTML and is more related to JavaScript, but it would be nice to have a way to fragment a book's chapters/pages into different documents. I have written about three chapters now and have over 300 lines of code, its kind of getting ridiculous.
My suggestion is that when you use the include
tag, it will if it finds chapter
/section
/p
tags add that into the main document as an element.
<section>
<title>Hardware</title>
<p>Like all good computers, we are going to need a box to store all components.</p>
<big_recipe>
<stack item="minecraft:iron_ingot"/>
<stack item="opencomputers:material" meta="7"/>
<stack item="minecraft:iron_ingot"/>
<stack item="minecraft:iron_bars"/>
<stack ore="chestWood"/>
<stack item="minecraft:iron_bars"/>
<stack item="minecraft:iron_ingot"/>
<stack item="opencomputers:material" meta="4"/>
<stack item="minecraft:iron_ingot"/>
<stack item="opencomputers:case1"/>
</big_recipe>
</section>
<include ref="gbook:xml/hardware.xml" />
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.