Giter Club home page Giter Club logo

coloredglowlib's People

Contributors

emafire003 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

coloredglowlib's Issues

[1.19.2] Failure to launch on Forge

Forge 1.19.2 31.1.38
coloredglowlib-2.0.1-forge1.19

Output log throws these errors:

Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [coloredglowlib.mixins.json:ClearGlowOnDeath] from phase [DEFAULT] in config [coloredglowlib.mixins.json] FAILED during APPLY

org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on injectRemoveGlow could not find any targets matching 'remove' in net.minecraft.world.entity.Entity. No refMap loaded. [PREINJECT Applicator Phase -> coloredglowlib.mixins.json:ClearGlowOnDeath -> Prepare Injections -> -> handler$zza000$injectRemoveGlow(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]

debug.log

Rainbow Glow Not Working

Hello, I'm using your GlowLib version 1.0.0 in my mod (https://github.com/fzzyhmstrs/ai/tree/1.18.1), and I can't get the rainbow glowing effect to work. I set the entity to have rainbow color, but it doesn't show up in game.

I did some checking, and the setRainbowColorToEntity doesn't seem to be setting anything. I checked with getEntityRainbowColor immediately after setting, and it comes back false. Not sure what I could be doing wrong here. Here's the snippet of code I'm using:

(GlowColorUtil is my Object)

if (GlowColorUtil.oreIsRainbow(entityBlock)){
                ColoredGlowLib.setRainbowColorToEntity(this,true)
                println("i'm a ranibow")
                println(ColoredGlowLib.getEntityRainbowColor(this))  //this is displaying as false even though I just set it to true two line prior
            } else {
                val color = GlowColorUtil.oreGlowColor(entityBlock)
                ColoredGlowLib.setColorToEntity(this, color)
            }
            this.addStatusEffect(StatusEffectInstance(StatusEffects.GLOWING, 260))

This is the console output of the two printlns:
image

And this is what I see in game. You can see that the other visible (and underground) ore blocks are showing various colors. The Ancient Debris, however, is showing as plain white instead of the desired rainbow. It is properly identifying as needing a rainbow via oreIsRainbow.
image

I even mixed in to your code and println'ed my own entitytype_rainbow_list.contains(entity.getUuid()), and that came back TRUE, which is a very fascinating outcome. I do not know how I can get a different result at the head of the getEntityRainbowColor method compared to at the return statement!

Weird server log

[11:23:16] [Server thread/INFO]: Getting variables values from the data file...
[11:23:16] [Server thread/ERROR]: There was an error while reading on the file
[11:23:16] [Server thread/INFO]: [STDERR]: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 2 path $
[11:23:16] [Server thread/INFO]: [STDERR]: at com.google.gson.Gson.fromJson(Gson.java:975)
[11:23:16] [Server thread/INFO]: [STDERR]: at com.google.gson.Gson.fromJson(Gson.java:928)
[11:23:16] [Server thread/INFO]: [STDERR]: at com.google.gson.Gson.fromJson(Gson.java:877)
[11:23:16] [Server thread/INFO]: [STDERR]: at me.emafire003.dev.coloredglowlib.util.DataSaver.getDefaultColor(DataSaver.java:190)
[11:23:16] [Server thread/INFO]: [STDERR]: at me.emafire003.dev.coloredglowlib.ColoredGlowLib.getValuesFromFile(ColoredGlowLib.java:186)
[11:23:16] [Server thread/INFO]: [STDERR]: at me.emafire003.dev.coloredglowlib.ColoredGlowLib.lambda$new$1(ColoredGlowLib.java:56)
[11:23:16] [Server thread/INFO]: [STDERR]: at net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.lambda$static$2(ServerLifecycleEvents.java:49)
[11:23:16] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.handler$edj000$afterSetupServer(MinecraftServer.java:14301)
[11:23:16] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:644)
[11:23:16] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
[11:23:16] [Server thread/INFO]: [STDERR]: at java.base/java.lang.Thread.run(Thread.java:833)
[11:23:16] [Server thread/INFO]: [STDERR]: Caused by: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 2 path $
[11:23:16] [Server thread/INFO]: [STDERR]: at com.google.gson.stream.JsonReader.nextString(JsonReader.java:824)
[11:23:16] [Server thread/INFO]: [STDERR]: at com.google.gson.internal.bind.TypeAdapters$15.read(TypeAdapters.java:380)
[11:23:16] [Server thread/INFO]: [STDERR]: at com.google.gson.internal.bind.TypeAdapters$15.read(TypeAdapters.java:368)
[11:23:16] [Server thread/INFO]: [STDERR]: at com.google.gson.Gson.fromJson(Gson.java:963)
[11:23:16] [Server thread/INFO]: [STDERR]: ... 10 more

No crash, but curious about it:)

Error on server - java.lang.IllegalArgumentException: Payload may not be larger than 1048576 bytes

Hi, I am using Amethyst Imbuement mod on my modpack - https://www.curseforge.com/minecraft/modpacks/darkrpg
I was advised by the author to raise on here, could you please look into this?
in the server log it showed the following,

[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: java.lang.IllegalArgumentException: Payload may not be larger than 1048576 bytes
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_2658.<init>(class_2658.java:39)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.fabricmc.fabric.impl.networking.server.ServerNetworkingImpl.createPlayC2SPacket(ServerNetworkingImpl.java:536)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.createS2CPacket(ServerPlayNetworking.java:210)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.send(ServerPlayNetworking.java:249)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.emafire003.dev.coloredglowlib.ColoredGlowLib.sendDataPackets(ColoredGlowLib.java:237)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.emafire003.dev.coloredglowlib.ColoredGlowLib.sendDataPacketsToPlayers(ColoredGlowLib.java:228)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.emafire003.dev.coloredglowlib.ColoredGlowLib.updateData(ColoredGlowLib.java:98)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_imbuement.augment.DraconicVisionAugment.tickEffect(DraconicVisionAugment.kt:54)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_core.trinket_util.AugmentTasks$DefaultImpls.passiveEnchantmentTasks(AugmentTasks.kt:76)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_core.item_util.AbstractAugmentJewelryItem.passiveEnchantmentTasks(AbstractAugmentJewelryItem.kt:27)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_core.item_util.AbstractAugmentJewelryItem.intermittentTick(AbstractAugmentJewelryItem.kt:69)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_imbuement.item.ImbuedJewelryItem.intermittentTick(ImbuedJewelryItem.kt:53)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_core.item_util.AbstractAugmentJewelryItem.tick(AbstractAugmentJewelryItem.kt:64)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1661.md7e115c$lambda$updateItems$0$1(class_1661.java:3193)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at dev.emi.trinkets.api.LivingEntityTrinketComponent.forEach(LivingEntityTrinketComponent.java:362)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1661.md7e115c$lambda$updateItems$1$0(class_1661.java:3192)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at java.base/java.util.Optional.ifPresent(Optional.java:178)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1661.handler$dgb001$updateItems(class_1661.java:3191)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1661.method_7381(class_1661.java:259)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1657.method_6007(class_1657.java:567)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1309.method_5773(class_1309.java:2385)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1657.method_5773(class_1657.java:284)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_3222.method_14226(class_3222.java:487)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_3244.method_18784(class_3244.java:268)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_2535.method_10754(class_2535.java:248)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_3242.method_14357(class_3242.java:183)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:886)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_3176.method_3813(class_3176.java:289)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at java.base/java.lang.Thread.run(Thread.java:833)
[01.10 21:05:57] [Server] [Server thread/ERROR]: FAILED to send data packets to the client!
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: java.lang.IllegalArgumentException: Payload may not be larger than 1048576 bytes
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_2658.<init>(class_2658.java:39)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.fabricmc.fabric.impl.networking.server.ServerNetworkingImpl.createPlayC2SPacket(ServerNetworkingImpl.java:536)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.createS2CPacket(ServerPlayNetworking.java:210)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.send(ServerPlayNetworking.java:249)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.emafire003.dev.coloredglowlib.ColoredGlowLib.sendDataPackets(ColoredGlowLib.java:237)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.emafire003.dev.coloredglowlib.ColoredGlowLib.sendDataPacketsToPlayers(ColoredGlowLib.java:228)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.emafire003.dev.coloredglowlib.ColoredGlowLib.updateData(ColoredGlowLib.java:98)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_imbuement.augment.DraconicVisionAugment.tickEffect(DraconicVisionAugment.kt:54)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_core.trinket_util.AugmentTasks$DefaultImpls.passiveEnchantmentTasks(AugmentTasks.kt:76)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_core.item_util.AbstractAugmentJewelryItem.passiveEnchantmentTasks(AbstractAugmentJewelryItem.kt:27)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_core.item_util.AbstractAugmentJewelryItem.intermittentTick(AbstractAugmentJewelryItem.kt:69)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_imbuement.item.ImbuedJewelryItem.intermittentTick(ImbuedJewelryItem.kt:53)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_core.item_util.AbstractAugmentJewelryItem.tick(AbstractAugmentJewelryItem.kt:64)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1661.md7e115c$lambda$updateItems$0$1(class_1661.java:3193)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at dev.emi.trinkets.api.LivingEntityTrinketComponent.forEach(LivingEntityTrinketComponent.java:362)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1661.md7e115c$lambda$updateItems$1$0(class_1661.java:3192)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at java.base/java.util.Optional.ifPresent(Optional.java:178)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1661.handler$dgb001$updateItems(class_1661.java:3191)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1661.method_7381(class_1661.java:259)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1657.method_6007(class_1657.java:567)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1309.method_5773(class_1309.java:2385)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1657.method_5773(class_1657.java:284)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_3222.method_14226(class_3222.java:487)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_3244.method_18784(class_3244.java:268)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_2535.method_10754(class_2535.java:248)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_3242.method_14357(class_3242.java:183)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:886)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_3176.method_3813(class_3176.java:289)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at java.base/java.lang.Thread.run(Thread.java:833)
[01.10 21:05:57] [Server] [Server thread/ERROR]: FAILED to send data packets to the client!
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: java.lang.IllegalArgumentException: Payload may not be larger than 1048576 bytes
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_2658.<init>(class_2658.java:39)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.fabricmc.fabric.impl.networking.server.ServerNetworkingImpl.createPlayC2SPacket(ServerNetworkingImpl.java:536)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.createS2CPacket(ServerPlayNetworking.java:210)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.send(ServerPlayNetworking.java:249)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.emafire003.dev.coloredglowlib.ColoredGlowLib.sendDataPackets(ColoredGlowLib.java:237)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.emafire003.dev.coloredglowlib.ColoredGlowLib.sendDataPacketsToPlayers(ColoredGlowLib.java:228)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.emafire003.dev.coloredglowlib.ColoredGlowLib.updateData(ColoredGlowLib.java:98)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_imbuement.augment.DraconicVisionAugment.tickEffect(DraconicVisionAugment.kt:54)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_core.trinket_util.AugmentTasks$DefaultImpls.passiveEnchantmentTasks(AugmentTasks.kt:76)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_core.item_util.AbstractAugmentJewelryItem.passiveEnchantmentTasks(AbstractAugmentJewelryItem.kt:27)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_core.item_util.AbstractAugmentJewelryItem.intermittentTick(AbstractAugmentJewelryItem.kt:69)
[01.10 21:05:57] [Server] [Server thread/INFO]: [STDERR]: 	at me.fzzyhmstrs.amethyst_imbuement.item.ImbuedJewelryItem.intermittentTick(ImbuedJewelryItem.kt:53)```

no config file generated

minecraft: 1.20.1
quilt: 0.20.2 (tried with fabric as well)
colorglow lib: 2.1.0-fabric_1.20.1

not sure if im missing something but there doesnt seem to be any config for the mod anywhere, and you cant open the config from mod menu either. i tried changing the settings in game using commands but there was still no config generated, and i dont see a way to apply global settings per mob type (or it at least didnt apply globally).

Crash on Fabric 1.20.2 with the newest release 2.2.4

Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'coloredglowlib'!
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:388) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:386) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:63) ~[fabric-loader-0.15.0.jar:?]
at net.minecraft.server.Main.main(Main.java:109) ~[server-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) ~[minecraft_server.jar:0.11.2]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/class_2561$class_8822
at me.emafire003.dev.coloredglowlib.config.GsonConfigInstance.(GsonConfigInstance.java:47) ~[coloredglowlib-2.2.4+fabric_1.20.4.jar:?]
at me.emafire003.dev.coloredglowlib.config.GsonConfigInstance.(GsonConfigInstance.java:32) ~[coloredglowlib-2.2.4+fabric_1.20.4.jar:?]
at me.emafire003.dev.coloredglowlib.config.ConfigDataSaver.(ConfigDataSaver.java:16) ~[coloredglowlib-2.2.4+fabric_1.20.4.jar:?]
at me.emafire003.dev.coloredglowlib.ColoredGlowLibMod.onInitialize(ColoredGlowLibMod.java:32) ~[coloredglowlib-2.2.4+fabric_1.20.4.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384) ~[fabric-loader-0.15.0.jar:?]
... 7 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.class_2561$class_8822
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.15.0.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at me.emafire003.dev.coloredglowlib.config.GsonConfigInstance.(GsonConfigInstance.java:47) ~[coloredglowlib-2.2.4+fabric_1.20.4.jar:?]
at me.emafire003.dev.coloredglowlib.config.GsonConfigInstance.(GsonConfigInstance.java:32) ~[coloredglowlib-2.2.4+fabric_1.20.4.jar:?]
at me.emafire003.dev.coloredglowlib.config.ConfigDataSaver.(ConfigDataSaver.java:16) ~[coloredglowlib-2.2.4+fabric_1.20.4.jar:?]
at me.emafire003.dev.coloredglowlib.ColoredGlowLibMod.onInitialize(ColoredGlowLibMod.java:32) ~[coloredglowlib-2.2.4+fabric_1.20.4.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384) ~[fabric-loader-0.15.0.jar:?]
... 7 more

(The version is listed on Modrinth for 1.20-1.20.4, or is it just compatible with 1.20.4? Please correct the version listing then ๐Ÿ˜Š)

Config read error

Config doesn't read correctly so I can't set any entity color, restart game and keep seen this color. Please fix it, fabric 2.0.1, also tested on 2.0.2 forge version
log

Updating from 1.1.0 to 1.2.0 causes the server to kick players

MC 1.18.2
Fabric API 0.48.0
ColoredGlowLib 1.2.0

Not sure if these are the exact steps needed to reproduce the issue, but that's what caused it for me:

  1. Install version 1.1.0 and run the server
  2. Stop the server, update to 1.2.0 and run again
  3. Upon joining the world, I ran around for a few seconds, fell of a few blocks to reduce my saturation, ate a glowberry and got kicked from the server after 2-3sec
  4. Trying to join back causes an immediate disconnect with nothing useful in the server console (simply says player disconnected and failed to read packet upon rejoining)

Reverting back to 1.1.0 let me join and no issues happen no matter what I do.

I could post a full log, however it's 11k lines long and I believe only the following lines matter for the issue (as they are the only ones referencing your mod): https://gist.github.com/Footage2-Amply-Pounce/822dc316052bb7c9a4fc78a503e15c8a

setglowcolor doesnt accept entity type

minecraft: 1,20.1
quilt: 0.20.2
cgl: 2.1.1+fabric_1.20.1

using the setglowcolor command and trying to apply it to an entity type gives an error on the entity specification:
"expected whitespace to end one argument, but found trailing data at position 27: ... minecraft<--[HERE]".

using a specific entity works fine such as @e[type=horse] but it doesnt apply to all entities that were not in the area of effect, and it is not saved on reloading the world.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.