Dye to your heart's content! โข Downloads โข CurseForge
juuxel / paintersblocks Goto Github PK
View Code? Open in Web Editor NEWAdds a bunch of dyeable blocks! My ModFest 1.17 entry.
License: Mozilla Public License 2.0
Adds a bunch of dyeable blocks! My ModFest 1.17 entry.
License: Mozilla Public License 2.0
Dye to your heart's content! โข Downloads โข CurseForge
Hello! PaintersBlocks works well on single player, but seems to explode when it comes to multiplayer.
I'm running a test with a simplified fabric 1.18.2 setup, using the itgz/minecraft-server docker image. This image has been working pretty well for other servers so I believe it's not related to the problem and thus the problem could be replicated in any linux-based server environment.
Below is the entire logfile (minus two lines relating to giving players op). As you can see, the server crashes instantly because net/minecraft/class_4002
is not found.
[init] Resolving type given fabric
[init] Downloading https://meta.fabricmc.net/v2/versions/loader/1.18.2/0.14.8/0.11.0/server/jar ...
[init] server.properties already created, skipping
[init] Updating ops
[init] Checking for JSON files.
[init] Setting initial memory to 6G and max to 6G
[init] Starting the Minecraft server...
Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture
[20:02:58] [main/INFO]: Loading Minecraft 1.18.2 with Fabric Loader 0.14.8
[20:02:59] [main/INFO]: Loading 42 mods:
- fabric 0.58.0+1.18.2
- fabric-api-base 0.4.4+d7c144a860 via fabric
- fabric-api-lookup-api-v1 1.6.2+2373a54560 via fabric
- fabric-biome-api-v1 8.0.6+651bcc5960 via fabric
- fabric-command-api-v1 1.1.9+d7c144a860 via fabric
- fabric-commands-v0 0.2.8+b4f4f6cd60 via fabric
- fabric-containers-v0 0.1.23+d7c144a860 via fabric
- fabric-content-registries-v0 3.1.1+c85f2e3860 via fabric
- fabric-convention-tags-v1 1.0.1+474e4f7960 via fabric
- fabric-crash-report-info-v1 0.2.1+ee261a3e60 via fabric
- fabric-data-generation-api-v1 3.0.1+9fcb91d260 via fabric
- fabric-dimensions-v1 2.1.20+489d6f8260 via fabric
- fabric-entity-events-v1 1.4.8+d7c144a860 via fabric
- fabric-events-interaction-v0 0.4.19+d7c144a860 via fabric
- fabric-events-lifecycle-v0 0.2.19+d7c144a860 via fabric
- fabric-game-rule-api-v1 1.0.13+d7c144a860 via fabric
- fabric-item-api-v1 1.5.2+17cbbd4360 via fabric
- fabric-item-groups-v0 0.3.14+91896a4960 via fabric
- fabric-lifecycle-events-v1 2.1.0+cc71601c60 via fabric
- fabric-loot-api-v2 1.1.0+1997ad1260 via fabric
- fabric-loot-tables-v1 1.1.2+e747827960 via fabric
- fabric-mining-level-api-v1 2.1.4+cc71601c60 via fabric
- fabric-networking-api-v1 1.0.23+2d30af4b60 via fabric
- fabric-networking-v0 0.3.10+b4f4f6cd60 via fabric
- fabric-object-builder-api-v1 2.1.3+032c981d60 via fabric
- fabric-particles-v1 0.2.12+526dc1ac60 via fabric
- fabric-registry-sync-v0 0.9.10+0d9ab37260 via fabric
- fabric-rendering-data-attachment-v1 0.3.7+d7c144a860 via fabric
- fabric-rendering-fluids-v1 2.0.2+54e5b2ec60 via fabric
- fabric-resource-conditions-api-v1 2.0.3+91b7aa6660 via fabric
- fabric-resource-loader-v0 0.5.2+446e059560 via fabric
- fabric-screen-handler-api-v1 1.2.2+1f6558e860 via fabric
- fabric-transfer-api-v1 1.6.3+f4563ac860 via fabric
- fabric-transitive-access-wideners-v1 1.1.0+e747827960 via fabric
- fabricloader 0.14.8
- java 17
- libblockattributes_core 0.10.2 via libmultipart_deps_container
- libmultipart 0.7.2 via libmultipart_deps_container
- libmultipart_deps_container 0.7.2 via painters_blocks
- libnetworkstack 0.6.0 via libmultipart_deps_container
- minecraft 1.18.2
- painters_blocks 1.3.2+1.18.2
[20:02:59] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/data/libraries/net/fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
[20:02:59] [main/INFO]: Compatibility level set to JAVA_16
[20:03:13] [main/ERROR]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'painters_blocks'!
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.14.8.jar:?]
at net.minecraft.server.Main.main(Main.java:101) [server-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) [fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.14.8.jar:?]
at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) [fabric-server-mc.1.18.2-loader.0.14.8-launcher.0.11.0.jar:0.11.0]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/class_4002
at juuxel.paintersblocks.part.PbParts.<clinit>(PbParts.java:21) ~[PaintersBlocks-1.3.2+1.18.2.jar:?]
at juuxel.paintersblocks.PaintersBlocks.onInitialize(PaintersBlocks.java:29) ~[PaintersBlocks-1.3.2+1.18.2.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.8.jar:?]
... 8 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.class_4002
at jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) ~[?:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
at juuxel.paintersblocks.part.PbParts.<clinit>(PbParts.java:21) ~[PaintersBlocks-1.3.2+1.18.2.jar:?]
at juuxel.paintersblocks.PaintersBlocks.onInitialize(PaintersBlocks.java:29) ~[PaintersBlocks-1.3.2+1.18.2.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.8.jar:?]
... 8 more
2022-08-19T20:03:14.083-0700 INFO mc-server-runner Done
I write code but it's been a while since I've written java, but I tried to look through the stack trace and the source. I don't understand why PbParts.java
line 21
is at fault. The only import from net.minecraft.*
is for net.minecraft.block.Block
an import I would think is so fundamental to the game that it would probably be found.
I can play this mod just fine in single player, and even with it installed on the client while not present on the server (the UI shows up, but I can't add blocks to my inventory, which makes sense since it's missing on the server). However, when running a server with only 2 mods (fabric api and this mod), it crashes.
I tried to build this inside my IDE and received a message that the register
function was deprecated, but I'm not sure this is related to the issue.
I'm going to try this on another docker image to make sure that has nothing to do with the problem I'm experiencing. I'll update this issue if I find that's the case.
Just thought I'd mention that since this mod uses the Fabric rendering API it requires Indium to be installed if Sodium is present, or all the glowing blocks will have missing textures. It took me some messing around to figure that out, but it was a super easy fix once I did, so it might help someone else if you added a note about it to the curseforge description.
This mod is totally worth having biome blending turned off + I'm glad I was able to fix the missing textures as well! Thank you for the cool cubes. ๐
Hello, my game is crashing on startup.
Game version: 1.19.2
java.lang.NoSuchMethodError: 'int juuxel.paintersblocks.multiparts.item.PaintableSlabItem.getColor(net.minecraft.class_1799)'
at juuxel.paintersblocks.multiparts.item.PaintableSlabItem.lambda$useOnBlock$0(PaintableSlabItem.java:65)
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.