BCLib

BCLib

31M Downloads

[Bug] Unable to use dump_datapack for world-gen.

xVanquishx opened this issue · 1 comments

commented

What happened?

Hi again(from BetterNether Vine Config),
Did a lot of testing, and am still unable to figure out what causes the issues of class x not being able to cast, which makes most worldgen files not generate.

Did test on both fabric and quilt, and issue arises on both.

BCLib

2.0.15

Fabric API

2.0.00-beta4+0.57.0-1.19 Quilted

Fabric Loader

0.17.1-beta 6 Quilt

Minecraft

1.19

Relevant log output

05:15:16] [Server thread/INFO]: [bclib]       Got Codec from public static final com.mojang.serialization.Codec net.minecraft.class_5216$class_5487.field_35424
[05:15:16] [Server thread/INFO]: [bclib]       Got Codec from public static final com.mojang.serialization.Codec net.minecraft.class_5216$class_5487.field_26438
[05:15:16] [Server thread/ERROR]: [bclib]       ->> Unable to encode: class net.minecraft.class_5216$class_5487 cannot be cast to class net.minecraft.class_6880 (net.minecraft.class_5216$class_5487 and net.minecraft.class_6880 are in unnamed module of loader org.quiltmc.loader.impl.launch.knot.KnotClassLoader @16b2bb0c)
[05:15:16] [Server thread/INFO]: [bclib]    - C:\Users\xVanq\AppData\Roaming\PolyMC\instances\Trying Modpack\.minecraft\bclib_datapack_dump\minecraft\worldgen\noise\spaghetti_2d_thickness.json
[05:15:16] [Server thread/INFO]: [bclib]       Got Codec from public static final com.mojang.serialization.Codec net.minecraft.class_5216$class_5487.field_35424
[05:15:16] [Server thread/INFO]: [bclib]       Got Codec from public static final com.mojang.serialization.Codec net.minecraft.class_5216$class_5487.field_26438
[05:15:16] [Server thread/ERROR]: [bclib]       ->> Unable to encode: class net.minecraft.class_5216$class_5487 cannot be cast to class net.minecraft.class_6880 (net.minecraft.class_5216$class_5487 and net.minecraft.class_6880 are in unnamed module of loader org.quiltmc.loader.impl.launch.knot.KnotClassLoader @16b2bb0c)
[05:15:16] [Server thread/INFO]: [bclib]    - C:\Users\xVanq\AppData\Roaming\PolyMC\instances\Trying Modpack\.minecraft\bclib_datapack_dump\minecraft\worldgen\noise\ore_vein_a.json
[05:15:16] [Server thread/INFO]: [bclib]       Got Codec from public static final com.mojang.serialization.Codec net.minecraft.class_5216$class_5487.field_35424
[05:15:16] [Server thread/INFO]: [bclib]       Got Codec from public static final com.mojang.serialization.Codec net.minecraft.class_5216$class_5487.field_26438
[05:15:16] [Server thread/ERROR]: [bclib]       ->> Unable to encode: class net.minecraft.class_5216$class_5487 cannot be cast to class net.minecraft.class_6880 (net.minecraft.class_5216$class_5487 and net.minecraft.class_6880 are in unnamed module of loader org.quiltmc.loader.impl.launch.knot.KnotClassLoader @16b2bb0c)
[05:15:16] [Server thread/INFO]: [bclib]    - C:\Users\xVanq\AppData\Roaming\PolyMC\instances\Trying Modpack\.minecraft\bclib_datapack_dump\nullscape\worldgen\noise\shadowlands\horn.json
[05:15:16] [Server thread/INFO]: [bclib]       Got Codec from public static final com.mojang.serialization.Codec net.minecraft.class_5216$class_5487.field_35424
[05:15:16] [Server thread/INFO]: [bclib]       Got Codec from public static final com.mojang.serialization.Codec net.minecraft.class_5216$class_5487.field_26438
[05:15:16] [Server thread/ERROR]: [bclib]       ->> Unable to encode: class net.minecraft.class_5216$class_5487 cannot be cast to class net.minecraft.class_6880 (net.minecraft.class_5216$class_5487 and net.minecraft.class_6880 are in unnamed module of loader org.quiltmc.loader.impl.launch.knot.KnotClassLoader @16b2bb0c)
[05:15:16] [Server thread/INFO]: [bclib]    - C:\Users\xVanq\AppData\Roaming\PolyMC\instances\Trying Modpack\.minecraft\bclib_datapack_dump\nullscape\worldgen\noise\terrain\base_terrain.json

Other Mods

These are the Mods remaining after weeding out a lot of possible problem causers, might continue trying to find the problem causer later:
  [✔️] bclib-2.0.15
  [✔️] cloth-api-4.0.65
  [✔️] cloth-config-7.0.73-fabric
  [✔️] extended-armor-bars-1.2.1
  [✔️] fabric-language-kotlin-1.8.1+kotlin.1.7.0
  [✔️] fabric-seasons-1.4-BETA+1.19
  [✔️] fabrishot-1.8.0
  [✔️] fallingleaves-1.12.1+1.19
  [✔️] FauxCustomEntityData-fabric-1.19-2.0.1
  [✔️] figura-0.1.0-pre.4-1.19
  [✔️] fireworkfrenzy-1.10
  [✔️] glowingbanners-1.2.0
  [✔️] gravity-api-0.7.12-1.19
  [✔️] grind-enchantments-2.0.0+1.19
  [✔️] grizzlybear-1.19-1.3
  [✔️] hookshot-26.0
  [✔️] hotbarcycle-1.1.0
  [✔️] icarus-1.13
  [✔️] illuminations-1.10.8
  [✔️] immersive_paintings-0.1.3+19
  [✔️] item-model-fix-1.0.3+1.19
  [✔️] just-end-anchor-1.0.2-1.19
  [✔️] lambdabettergrass-1.3.0+1.19
  [✔️] lambdynamiclights-2.1.2+1.19
  [✔️] mcw-paintings-1.0.3fabric-mc1.19
  [✔️] mcw-windows-2.0.3bfabric-mc1.19
  [✔️] memoryleakfix-1.19-0.4.1
  [✔️] modmenu-4.0.0
  [✔️] more-axolotls-1.0.2-1.19
  [✔️] MouseTweaks-fabric-mc1.19-2.22
  [✔️] NaturesCompass-1.19-2.0.4-fabric
  [✔️] nears-fabric-1.19-1.2.2
  [✔️] notenoughanimations-fabric-1.6.0-mc1.19
  [✔️] Nullscape_v1.2a
  [✔️] ok_zoomer-5.0.0-beta.9+1.19
  [✔️] onsoulfire-1.19-2
  [✔️] oxidized-1.7.1
  [✔️] Paintings-fabric-1.19-10.0.0.0
  [✔️] paperdoll-fabric-1.1.0-mc1.19
  [✔️] powershot-1.4.0-1.19-fabric
  [✔️] PresenceFootsteps-1.6.1
  [✔️] qfapi-2.0.0-beta.4_qsl-2.0.0-beta.10_fapi-0.57.0_mc-1.19
  [✔️] SimpleRPC-fabric-1.19-3.0.2
  [✔️] sit-1.19-20
  [✔️] SmoothScrollingEverywhere-3.0.5
  [✔️] starlight-1.1.1+fabric.ae22326
  [✔️] Terraria Paintings Fabric 2.0.0 1.19
  [✔️] time-and-wind-ct-1.4.2+1.19
  [✔️] trinkets-3.4.0
  [✔️] visualoverhaul-4.1.1
  [✔️] wanderingcollector-1.1.3+mc1.19
  [✔️] windchimes-1.2.1
  [✔️] youre-in-grave-danger-1.4.1
commented

Fixed as of 2.0.17 :D