elmfrain / cnmcu

A mod that adds mos6502 based microcontrollers to the Minecraft so you can automate your redstone contraptions with assembly code.
GNU General Public License v3.0
24 stars 2 forks source link

models still don't work #18

Closed nosqd closed 6 months ago

nosqd commented 6 months ago

models still don't work

image

[12:53:19] [Datafixer Bootstrap/INFO]: 198 Datafixer optimizations took 205 milliseconds
[12:53:21] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[12:53:21] [Render thread/INFO]: Setting user: nosqd
[12:53:21] [Render thread/INFO]: Native library is not installed! Downloading...
[12:53:21] [Render thread/INFO]: Downloading asset from GitHub... libcnmcu-windows-x64.dll
[12:53:21] [Render thread/INFO]: Listing assets from GitHub...
[12:53:24] [Render thread/INFO]: vasm is not installed! Downloading...
[12:53:24] [Render thread/INFO]: Downloading asset from GitHub... vasm6502_oldstyle-windows-x64.exe
[12:53:26] [Render thread/INFO]: vobjdump is not installed! Downloading...
[12:53:26] [Render thread/INFO]: Downloading asset from GitHub... vobjdump-windows-x64.exe
[12:53:28] [Render thread/INFO]: cygwin1.dll is not installed! Downloading...
[12:53:28] [Render thread/INFO]: Downloading asset from GitHub... cygwin1.dll
[12:53:56] [Render thread/WARN]: Config file not found, creating new one...
[12:53:57] [Render thread/INFO]: CodeNode Microcontrollers is up to date.
[12:53:57] [Render thread/INFO]: Loading native library...
[12:53:58] [Render thread/INFO]: [Indigo] Different rendering plugin detected; not applying Indigo.
[12:53:58] [Render thread/INFO]: Backend library: LWJGL version 3.3.1 SNAPSHOT
[12:53:59] [Render thread/WARN]: Applying workaround: Prevent the NVIDIA OpenGL driver from using broken optimizations (NVIDIA_THREADED_OPTIMIZATIONS)
[12:53:59] [Render thread/INFO]: OpenGL Vendor: NVIDIA Corporation
[12:53:59] [Render thread/INFO]: OpenGL Renderer: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2
[12:53:59] [Render thread/INFO]: OpenGL Version: 3.2.0 NVIDIA 552.12
[12:54:01] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric, cnmcu, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-containers-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-events-lifecycle-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-message-api-v1, fabric-mining-level-api-v1, fabric-model-loading-api-v1, fabric-models-v0, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, sodium
[12:54:01] [Worker-Main-4/INFO]: Found unifont_all_no_pua-15.1.04.hex, loading
[12:54:03] [Worker-Main-8/WARN]: Unable to bake model: 'cnmcu:nano#facing=east': java.lang.NullPointerException: Cannot invoke "net.fabricmc.fabric.api.renderer.v1.Renderer.meshBuilder()" because "renderer" is null
[12:54:03] [Worker-Main-8/WARN]: Unable to bake model: 'cnmcu:nano#facing=north': java.lang.NullPointerException: Cannot invoke "net.fabricmc.fabric.api.renderer.v1.Renderer.meshBuilder()" because "renderer" is null
[12:54:03] [Worker-Main-8/WARN]: Unable to bake model: 'cnmcu:nano#facing=west': java.lang.NullPointerException: Cannot invoke "net.fabricmc.fabric.api.renderer.v1.Renderer.meshBuilder()" because "renderer" is null
[12:54:03] [Worker-Main-8/WARN]: Unable to bake model: 'cnmcu:nano#facing=south': java.lang.NullPointerException: Cannot invoke "net.fabricmc.fabric.api.renderer.v1.Renderer.meshBuilder()" because "renderer" is null
[12:54:03] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[12:54:03] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[12:54:03] [Render thread/WARN]: Missing sound for event: minecraft:entity.generic.wind_burst
[12:54:03] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on 22E1W (NVIDIA High Definition Audio)
[12:54:03] [Render thread/INFO]: Sound engine started
[12:54:03] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[12:54:03] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[12:54:03] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[12:54:03] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[12:54:03] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[12:54:03] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[12:54:03] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[12:54:03] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[12:54:03] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[12:54:04] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[12:54:04] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[12:54:04] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[12:54:04] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[12:54:04] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[12:54:26] [Render thread/INFO]: Flushed changes to Minecraft configuration
[12:54:29] [Render thread/INFO]: Flushed changes to Minecraft configuration
[12:54:35] [Render thread/INFO]: Loaded 7 recipes
[12:54:35] [Render thread/INFO]: Loaded 1271 advancements
[12:54:44] [Render thread/INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 1.415 ms
[12:54:44] [Server thread/INFO]: Starting integrated minecraft server version 1.20.4
[12:54:44] [Server thread/INFO]: Generating keypair
[12:54:45] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[12:54:46] [Render thread/INFO]: Preparing spawn area: 0%
[12:54:46] [Render thread/INFO]: Preparing spawn area: 0%
[12:54:46] [Render thread/INFO]: Preparing spawn area: 0%
[12:54:47] [Render thread/INFO]: Preparing spawn area: 0%
[12:54:47] [Render thread/INFO]: Preparing spawn area: 9%
[12:54:48] [Render thread/INFO]: Preparing spawn area: 22%
[12:54:48] [Render thread/INFO]: Preparing spawn area: 34%
[12:54:49] [Render thread/INFO]: Preparing spawn area: 48%
[12:54:49] [Render thread/INFO]: Preparing spawn area: 64%
[12:54:50] [Render thread/INFO]: Preparing spawn area: 81%
[12:54:50] [Render thread/INFO]: Preparing spawn area: 95%
[12:54:50] [Render thread/INFO]: Time elapsed: 5099 ms
[12:54:50] [Server thread/INFO]: Changing view distance to 12, from 10
[12:54:50] [Server thread/INFO]: Changing simulation distance to 12, from 0
[12:54:51] [Server thread/INFO]: nosqd[local:E:2046ef1f] logged in with entity id 1 at (9.5, 56.0, -1.5)
[12:54:51] [Server thread/INFO]: nosqd joined the game
[12:54:51] [Render thread/INFO]: Started 6 worker threads
[12:54:52] [Render thread/INFO]: Loaded 2 advancements
[12:55:04] [Server thread/INFO]: [nosqd: Gave 1 [block.cnmcu.nano] to nosqd]
[12:55:04] [Render thread/INFO]: [System] [CHAT] Gave 1 [block.cnmcu.nano] to nosqd
elmfrain commented 6 months ago

Bro this bug has been making me pull my hair out! Thanks for the log file, I'll dive into this issue deeper

Simon3244 commented 6 months ago

From Fabric FAQ

This is because Sodium does not yet support the Fabric Rendering API which some mods such as Continuity use. This is why you'll see java.lang.NullPointerException: Cannot invoke “net.fabricmc.fabric.api.renderer.v1.Renderer.meshBuilder()” because the return value of “net.fabricmc.fabric.api.renderer.v1.RendererAccess.getRenderer()” is null in your log. Add the Indium mod to resolve this.

If you are already using the Indium mod please send a list of all the mods you are currently using.

elmfrain commented 6 months ago

Thanks you Simon! I didn't know about this. I'll create JSON files for the models instead so that the mod works for everyone with minimal dependencies.