Craftguide - Better Than Wolves Fix

This sub-forum is dedicated to add-ons and texture packs for Better Than Wolves.
User avatar
dawnraider
Posts: 1876
Joined: Sun Dec 11, 2011 7:00 pm

Re: Craftguide - Better Than Wolves Fix

Post by dawnraider »

It crashes on opening the craftguide menu every time, with the exact same crash log as previous kiln-based crashes. This only happens in deco version 2.5 though because I removed the netherrack kiln recipe in 2.6 which removed the circumstance causing the crash. Notably this does not happen with kiln recipes for deco-added blocks like unfired terracotta, only for vanilla or BTW blocks for which I changed the reference using reflection.

Version 2.5c download
Version 2.5c source code

Line 580 in AddonDefs and line 158 in AddonManager have the code for how I was changing the netherrrack references.

Here's the crash log Hiracho provided me:
Spoiler
Show

Code: Select all

---- Minecraft Crash Report ----
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]

Time: 4/15/20 10:33 AM
Description: Unexpected error

java.lang.ArrayIndexOutOfBoundsException: -1
	at wm.b(ItemStack.java:109)
	at uristqwerty.CraftGuide.CommonUtilities.getItemDamage(CommonUtilities.java:222)
	at uristqwerty.CraftGuide.CraftType.getInstance(CraftType.java:70)
	at uristqwerty.CraftGuide.CraftType.getInstance(CraftType.java:35)
	at uristqwerty.CraftGuide.RecipeCache.generateAllItemList(RecipeCache.java:111)
	at uristqwerty.CraftGuide.RecipeCache.reset(RecipeCache.java:72)
	at uristqwerty.CraftGuide.RecipeCache.<init>(RecipeCache.java:39)
	at uristqwerty.CraftGuide.GuiCraftGuide.<init>(GuiCraftGuide.java:40)
	at uristqwerty.CraftGuide.GuiCraftGuide.getInstance(GuiCraftGuide.java:63)
	at uristqwerty.CraftGuide.client.vanilla.CraftGuideClient_Vanilla.openGUI(CraftGuideClient_Vanilla.java:32)
	at CraftGuide_Vanilla.checkKeybind(CraftGuide_Vanilla.java:134)
	at ayc.a(GuiAchievement.java:98)
	at net.minecraft.client.Minecraft.K(Minecraft.java:899)
	at net.minecraft.client.Minecraft.run(Minecraft.java:761)
	at java.lang.Thread.run(Thread.java:745)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
	at wm.b(ItemStack.java:109)
	at uristqwerty.CraftGuide.CommonUtilities.getItemDamage(CommonUtilities.java:222)
	at uristqwerty.CraftGuide.CraftType.getInstance(CraftType.java:70)
	at uristqwerty.CraftGuide.CraftType.getInstance(CraftType.java:35)
	at uristqwerty.CraftGuide.RecipeCache.generateAllItemList(RecipeCache.java:111)
	at uristqwerty.CraftGuide.RecipeCache.reset(RecipeCache.java:72)
	at uristqwerty.CraftGuide.RecipeCache.<init>(RecipeCache.java:39)
	at uristqwerty.CraftGuide.GuiCraftGuide.<init>(GuiCraftGuide.java:40)
	at uristqwerty.CraftGuide.GuiCraftGuide.getInstance(GuiCraftGuide.java:63)
	at uristqwerty.CraftGuide.client.vanilla.CraftGuideClient_Vanilla.openGUI(CraftGuideClient_Vanilla.java:32)
	at CraftGuide_Vanilla.checkKeybind(CraftGuide_Vanilla.java:134)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [bdv['Hiracho'/259, l='MpServer', x=2803.28, y=75.52, z=37.04]]
	Chunk stats: MultiplayerChunkCache: 441
	Level seed: 0
	Level generator: ID 00 - default, ver 1. Features enabled: false
	Level generator options: 
	Level spawn location: World: (-269,64,-245), Chunk: (at 3,4,11 in -17,-16; contains blocks -272,0,-256 to -257,255,-241), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
	Level time: 23572 game time, 10878 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
	Forced entities: 93 total; [FCEntityZombie['Zombie'/3585, l='MpServer', x=2803.50, y=49.00, z=76.50], FCEntityCreeper['Creeper'/1794, l='MpServer', x=2819.70, y=48.17, z=47.65], FCEntityZombie['Zombie'/3586, l='MpServer', x=2802.50, y=49.00, z=77.50], FCEntitySkeleton['Skeleton'/1795, l='MpServer', x=2820.50, y=49.00, z=49.50], FCEntityZombie['Zombie'/3587, l='MpServer', x=2801.50, y=49.00, z=78.50], FCEntitySkeleton['Skeleton'/3091, l='MpServer', x=2780.50, y=47.00, z=67.78], FCEntitySkeleton['Skeleton'/3092, l='MpServer', x=2786.50, y=48.00, z=76.25], rh['item.item.doorWood'/1048, l='MpServer', x=2802.22, y=73.13, z=43.81], bdv['Hiracho'/259, l='MpServer', x=2803.28, y=75.52, z=37.04], nc['Experience Orb'/328, l='MpServer', x=2723.13, y=68.13, z=-61.63], FCEntitySkeleton['Skeleton'/330, l='MpServer', x=2724.75, y=57.00, z=-16.47], FCEntityPig['Pig'/331, l='MpServer', x=2729.75, y=65.00, z=5.84], FCEntityBat['Bat'/334, l='MpServer', x=2733.41, y=24.10, z=35.25], FCEntitySpider['Spider'/335, l='MpServer', x=2728.03, y=57.00, z=74.94], FCEntitySheep['Sheep'/336, l='MpServer', x=2730.48, y=84.41, z=70.34], FCEntityPig['Pig'/353, l='MpServer', x=2741.78, y=64.00, z=18.31], FCEntityBat['Bat'/2659, l='MpServer', x=2845.50, y=38.10, z=103.50], FCEntitySheep['Sheep'/356, l='MpServer', x=2743.22, y=70.00, z=51.50], FCEntityBat['Bat'/2661, l='MpServer', x=2843.50, y=38.10, z=109.50], FCEntityCreeper['Creeper'/358, l='MpServer', x=2738.31, y=21.83, z=82.78], FCEntityCreeper['Creeper'/359, l='MpServer', x=2752.47, y=16.00, z=100.69], FCEntityCreeper['Creeper'/360, l='MpServer', x=2740.50, y=21.00, z=87.41], FCEntityZombie['Zombie'/367, l='MpServer', x=2742.50, y=22.00, z=115.09], FCEntityZombie['Zombie'/369, l='MpServer', x=2739.20, y=10.29, z=106.80], FCEntityCreeper['Creeper'/3701, l='MpServer', x=2800.50, y=32.00, z=-10.50], FCEntityCreeper['Creeper'/3702, l='MpServer', x=2816.50, y=20.00, z=31.50], FCEntityPig['Pig'/378, l='MpServer', x=2745.78, y=64.00, z=-12.19], FCEntityChicken['Chicken'/379, l='MpServer', x=2757.88, y=64.00, z=23.97], FCEntityBat['Bat'/380, l='MpServer', x=2731.11, y=24.93, z=60.58], FCEntitySkeleton['Skeleton'/381, l='MpServer', x=2761.75, y=40.00, z=51.56], FCEntityPig['Pig'/394, l='MpServer', x=2768.50, y=64.00, z=4.81], FCEntityPig['Pig'/395, l='MpServer', x=2784.19, y=64.00, z=25.28], FCEntityCreeper['Creeper'/396, l='MpServer', x=2772.50, y=32.00, z=82.76], FCEntitySkeleton['Skeleton'/397, l='MpServer', x=2780.31, y=15.00, z=84.50], FCEntitySpider['Spider'/398, l='MpServer', x=2773.94, y=39.00, z=94.00], FCEntityOcelot['Ocelot'/1936, l='MpServer', x=2723.78, y=68.00, z=-39.66], FCEntityOcelot['Ocelot'/1938, l='MpServer', x=2727.53, y=68.00, z=-35.84], FCEntityPig['Pig'/404, l='MpServer', x=2795.97, y=70.00, z=-23.31], nc['Experience Orb'/410, l='MpServer', x=2792.72, y=65.13, z=23.88], FCEntityVillager['Villager'/411, l='MpServer', x=2772.53, y=67.00, z=38.38], FCEntityCreeper['Creeper'/412, l='MpServer', x=2797.22, y=44.00, z=59.56], FCEntityZombie['Zombie'/3484, l='MpServer', x=2747.50, y=16.00, z=74.50], FCEntityCreeper['Creeper'/413, l='MpServer', x=2788.41, y=41.00, z=69.78], FCEntitySkeleton['Skeleton'/3485, l='MpServer', x=2752.50, y=16.00, z=79.50], FCEntityCreeper['Creeper'/414, l='MpServer', x=2789.28, y=38.00, z=80.50], FCEntitySkeleton['Skeleton'/3486, l='MpServer', x=2751.69, y=16.00, z=77.91], FCEntitySpider['Spider'/415, l='MpServer', x=2792.72, y=41.00, z=60.13], FCEntitySkeleton['Skeleton'/3487, l='MpServer', x=2758.56, y=16.00, z=75.73], FCEntityChicken['Chicken'/417, l='MpServer', x=2784.63, y=67.00, z=63.44], FCEntitySkeleton['Skeleton'/418, l='MpServer', x=2795.61, y=32.17, z=84.30], FCEntityBat['Bat'/419, l='MpServer', x=2780.13, y=70.17, z=80.44], FCEntitySpider['Spider'/420, l='MpServer', x=2795.61, y=32.00, z=84.30], FCEntityCreeper['Creeper'/422, l='MpServer', x=2783.42, y=29.00, z=82.56], FCEntityZombie['Zombie'/2473, l='MpServer', x=2790.50, y=55.00, z=109.50], FCEntityJungleSpider['Jungle Spider'/427, l='MpServer', x=2806.38, y=85.09, z=-32.63], FCEntityVillager['Villager'/428, l='MpServer', x=2803.31, y=69.00, z=15.44], FCEntityCreeper['Creeper'/1197, l='MpServer', x=2767.09, y=23.00, z=28.61], FCEntityZombie['Zombie'/430, l='MpServer', x=2808.50, y=24.00, z=18.50], FCEntityVillager['Villager'/431, l='MpServer', x=2805.47, y=68.00, z=28.53], FCEntityVillager['Villager'/432, l='MpServer', x=2801.50, y=69.00, z=13.50], FCEntityVillager['Villager'/433, l='MpServer', x=2801.31, y=68.00, z=34.69], FCEntityVillager['Villager'/434, l='MpServer', x=2802.31, y=68.00, z=33.69], FCEntityVillager['Villager'/435, l='MpServer', x=2800.66, y=69.00, z=20.50], nc['Experience Orb'/436, l='MpServer', x=2801.34, y=67.13, z=39.59], FCEntityVillager['Villager'/437, l='MpServer', x=2806.63, y=67.00, z=45.63], FCEntityZombie['Zombie'/438, l='MpServer', x=2800.38, y=68.00, z=33.34], FCEntityVillager['Villager'/441, l='MpServer', x=2813.69, y=64.00, z=49.31], FCEntityVillager['Villager'/442, l='MpServer', x=2805.50, y=67.00, z=54.34], FCEntityVillager['Villager'/443, l='MpServer', x=2810.50, y=64.00, z=64.38], nc['Experience Orb'/447, l='MpServer', x=2828.13, y=50.13, z=-41.88], FCEntityChicken['Chicken'/448, l='MpServer', x=2827.63, y=66.00, z=-1.16], FCEntityCreeper['Creeper'/449, l='MpServer', x=2809.22, y=17.00, z=22.53], FCEntityVillager['Villager'/450, l='MpServer', x=2827.44, y=65.00, z=25.56], FCEntityVillager['Villager'/451, l='MpServer', x=2822.50, y=65.00, z=34.50], FCEntitySkeleton['Skeleton'/452, l='MpServer', x=2817.50, y=23.00, z=63.50], FCEntitySkeleton['Skeleton'/3013, l='MpServer', x=2726.50, y=57.00, z=73.50], FCEntitySheep['Sheep'/454, l='MpServer', x=2810.75, y=63.00, z=107.41], FCEntitySpider['Spider'/2255, l='MpServer', x=2861.38, y=16.00, z=-24.03], FCEntityBat['Bat'/464, l='MpServer', x=2834.45, y=31.70, z=38.39], FCEntityZombie['Zombie'/2256, l='MpServer', x=2860.34, y=16.00, z=-25.97], nc['Experience Orb'/465, l='MpServer', x=2844.13, y=15.13, z=108.13], FCEntityCow['Cow'/471, l='MpServer', x=2862.63, y=67.00, z=-9.72], FCEntityCow['Cow'/472, l='MpServer', x=2847.59, y=63.00, z=26.78], FCEntityCow['Cow'/473, l='MpServer', x=2852.81, y=63.00, z=34.34], FCEntityChicken['Chicken'/485, l='MpServer', x=2866.63, y=65.00, z=-39.81], FCEntityCow['Cow'/486, l='MpServer', x=2866.25, y=67.00, z=26.50], FCEntityCreeper['Creeper'/2537, l='MpServer', x=2742.69, y=21.00, z=91.75], FCEntityCreeper['Creeper'/2538, l='MpServer', x=2740.88, y=21.00, z=92.34], FCEntityCreeper['Creeper'/2539, l='MpServer', x=2741.63, y=21.00, z=96.51], FCEntityCreeper['Creeper'/2540, l='MpServer', x=2741.34, y=21.00, z=89.41], FCEntityChicken['Chicken'/494, l='MpServer', x=2876.41, y=69.00, z=-7.41], FCEntityBat['Bat'/495, l='MpServer', x=2866.76, y=16.63, z=42.64], FCEntitySheep['Sheep'/500, l='MpServer', x=2879.81, y=66.00, z=114.03]]
	Retry entities: 0 total; []
Stacktrace:
	at bds.a(WorldClient.java:460)
	at net.minecraft.client.Minecraft.b(Minecraft.java:2463)
	at net.minecraft.client.Minecraft.run(Minecraft.java:784)
	at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
	Minecraft Version: 1.5.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_51, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 113854416 bytes (108 MB) / 301989888 bytes (288 MB) up to 2147483648 bytes (2048 MB)
	JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	AABB Pool Size: 2682 (150192 bytes; 0 MB) allocated, 1303 (72968 bytes; 0 MB) used
	Suspicious classes: MCPatcherUtils, Config, JsonUtils, ...[com.google.gson.GsonBuilder, FieldNamingStrategy, TypeAdapterFactory, ...], [com.google.gson.annotations.SerializedName], [com.google.gson.internal.Excluder, ConstructorConstructor, ObjectConstructor, ...], [com.google.gson.internal.bind.JsonTreeWriter, JsonTreeReader, TypeAdapters, ...], [com.google.gson.reflect.TypeToken], [com.google.gson.stream.JsonWriter, JsonReader, MalformedJsonException, ...], [com.prupe.mcpatcher.cit.CITUtils, OverrideBase, ItemOverride, ...], [com.prupe.mcpatcher.mal.tile.TileLoader]
	IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
	LWJGL: 2.9.0
	OpenGL: Intel(R) HD Graphics 4600 GL version 4.3.0 - Build 20.19.15.4531, Intel
	Is Modded: Very likely; Jar signature invalidated
	Type: Client (map_client.txt)
	Texture Pack: Vanilla 1.14 Textures for BetterThanWolves.zip
	Profiler Position: N/A (disabled)
	Vec3 Pool Size: 2670 (149520 bytes; 0 MB) allocated, 241 (13496 bytes; 0 MB) used
Come join us on discord! https://discord.gg/fhMK5kx
Get the Deco Addon here!
Get the Better Terrain Addon here!
Get the Vanilla Mix TP here!
Get the Conquest TP here!
User avatar
IssaMe
Posts: 70
Joined: Thu Feb 18, 2021 6:14 pm

Re: Craftguide - Better Than Wolves Fix

Post by IssaMe »

I've made a PR to make this compatible with BTW CE v1.3.0 (https://github.com/BTW-Community/CraftGuide/pull/2). If there are any issues please let me know.
yu21
Posts: 11
Joined: Mon Nov 29, 2021 10:23 pm

craft guide

Post by yu21 »

hi.
Can recipes for things that can be made in cauldrons, crucibles, etc. (glue, roasted meat, etc.) be shown in the crafting guide?
My screen only shows what I can craft at the workbench, do I need to change the settings?

BTW I'm having fun and can't stop, please help me! :)
User avatar
dawnraider
Posts: 1876
Joined: Sun Dec 11, 2011 7:00 pm

Re: craft guide

Post by dawnraider »

Moving this to the addon subforum.

Anyways, if it's only showing crafting table recipes then that means that you likely installed the vanilla version and not the BTW version. The BTW version doesn't currently show everything (some of the updates in CE broke it), but it should at least show cauldron and crucible recipes. IssaMe is currently working on getting a version fully updated and working with all recipe types, which is almost there.

Edit: actually, I'm going to just merge this into the craftguide topic.
Come join us on discord! https://discord.gg/fhMK5kx
Get the Deco Addon here!
Get the Better Terrain Addon here!
Get the Vanilla Mix TP here!
Get the Conquest TP here!
yu21
Posts: 11
Joined: Mon Nov 29, 2021 10:23 pm

Re: Craftguide - Better Than Wolves Fix

Post by yu21 »

Thanks to you, I was able to see it.
Post Reply