Jump to content

so im making a modpack for me and my friends and whenever i try to get on the server it crashes


BlizzardFrst

Recommended Posts

I have no clue on how to fix it so ima just leave the crash log here and see if yall can help. 

 

---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.

Time: 2023-02-23 22:10:16
Description: Unexpected error

java.lang.NoClassDefFoundError: Could not initialize class net.minecraft.world.entity.ai.sensing.VillagerHostilesSensor
    at net.minecraft.world.entity.ai.sensing.SensorType.m_26827_(SensorType.java:42) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:forge-mca.mixin.json:MixinSensorType,pl:mixin:A}
    at net.minecraft.world.entity.ai.Brain.<init>(Brain.java:146) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,re:classloading,pl:mixin:APP:moonlight-common.mixins.json:accessor.BrainAccessor,pl:mixin:A}
    at net.minecraft.world.entity.ai.Brain$1.decode(Brain.java:93) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:classloading}
    at com.mojang.serialization.MapDecoder.lambda$compressedDecode$0(MapDecoder.java:52) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.MapDecoder.compressedDecode(MapDecoder.java:52) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.MapCodec$MapCodecCodec.decode(MapCodec.java:91) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.Decoder.parse(Decoder.java:18) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.codecs.FieldDecoder.decode(FieldDecoder.java:29) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.MapCodec$1.decode(MapCodec.java:34) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.MapDecoder.lambda$compressedDecode$0(MapDecoder.java:52) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.MapDecoder.compressedDecode(MapDecoder.java:52) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.MapCodec$MapCodecCodec.decode(MapCodec.java:91) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.Decoder.decode(Decoder.java:22) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.Decoder.parse(Decoder.java:26) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at net.minecraft.world.entity.ai.Brain$Provider.m_22073_(Brain.java:63) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:classloading}
    at forge.net.mca.entity.VillagerEntityMCA.m_8075_(VillagerEntityMCA.java:209) ~[minecraft-comes-alive-7.4.6+1.19.2-universal.jar%23259!/:?] {re:mixin,re:classloading}
    at net.minecraft.world.entity.LivingEntity.<init>(LivingEntity.java:245) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:LivingEntityMixin,pl:mixin:APP:bookshelf.common.mixins.json:entity.AccessorLivingEntity,pl:mixin:APP:bookshelf.common.mixins.json:entity.MixinLivingEntity,pl:mixin:APP:betterdeserttemples.mixins.json:PharaohKilledMixin,pl:mixin:APP:werewolves.mixins.json:LivingEntityAccessor,pl:mixin:APP:curios.mixins.json:MixinLivingEntity,pl:mixin:APP:vampirism.mixins.json:LivingEntityAccessor,pl:mixin:APP:vampirism.mixins.json:MixinLivingEntity,pl:mixin:APP:enhancedcelestials.mixins.json:MixinLivingEntity,pl:mixin:APP:obscure_api.mixins.json:LivingEntityMixin,pl:mixin:A}
    at net.minecraft.world.entity.Mob.<init>(Mob.java:121) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:bookshelf.common.mixins.json:entity.AccessorMob,pl:mixin:APP:vampirism.mixins.json:MixinMobEntity,pl:mixin:A}
    at net.minecraft.world.entity.PathfinderMob.<init>(PathfinderMob.java:14) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,re:classloading}
    at net.minecraft.world.entity.AgeableMob.<init>(AgeableMob.java:28) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,re:classloading}
    at net.minecraft.world.entity.npc.AbstractVillager.<init>(AbstractVillager.java:49) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.entity.npc.Villager.<init>(Villager.java:138) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:forge-mca.mixin.json:MixinVillagerEntity,pl:mixin:APP:friendsandfoes-common.mixins.json:VillagerEntityMixin,pl:mixin:APP:moonlight-common.mixins.json:VillagerMixin,pl:mixin:APP:werewolves.mixins.json:entity.MixinVillagerEntity,pl:mixin:A}
    at net.minecraft.world.entity.npc.Villager.<init>(Villager.java:134) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:forge-mca.mixin.json:MixinVillagerEntity,pl:mixin:APP:friendsandfoes-common.mixins.json:VillagerEntityMixin,pl:mixin:APP:moonlight-common.mixins.json:VillagerMixin,pl:mixin:APP:werewolves.mixins.json:entity.MixinVillagerEntity,pl:mixin:A}
    at forge.net.mca.entity.VillagerEntityMCA.<init>(VillagerEntityMCA.java:166) ~[minecraft-comes-alive-7.4.6+1.19.2-universal.jar%23259!/:?] {re:mixin,re:classloading}
    at forge.net.mca.entity.EntitiesMCA.lambda$static$0(EntitiesMCA.java:26) ~[minecraft-comes-alive-7.4.6+1.19.2-universal.jar%23259!/:?] {re:mixin,re:classloading}
    at net.minecraft.world.entity.EntityType.m_20615_(EntityType.java:469) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,re:classloading,pl:mixin:APP:forge-mca.mixin.json:MixinEntityType,pl:mixin:APP:architectury-common.mixins.json:inject.MixinEntityType,pl:mixin:A}
    at forge.net.mca.client.model.CommonVillagerModel.getVillager(CommonVillagerModel.java:87) ~[minecraft-comes-alive-7.4.6+1.19.2-universal.jar%23259!/:?] {re:mixin,re:classloading}
    at forge.net.mca.client.model.CommonVillagerModel.getVillager(CommonVillagerModel.java:96) ~[minecraft-comes-alive-7.4.6+1.19.2-universal.jar%23259!/:?] {re:mixin,re:classloading}
    at net.minecraft.client.renderer.GameRenderer.handler$zbe000$onCameraSet(GameRenderer.java:1542) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.GameRenderer.m_109148_(GameRenderer.java:609) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.m_91398_(Minecraft.java:1777) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:weeping_angels-common.mixins.json:MinecraftMixin,pl:mixin:APP:neat.mixins.json:MinecraftMixin,pl:mixin:APP:bookshelf.common.mixins.json:client.AccessorMinecraft,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1078) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:weeping_angels-common.mixins.json:MinecraftMixin,pl:mixin:APP:neat.mixins.json:MinecraftMixin,pl:mixin:APP:bookshelf.common.mixins.json:client.AccessorMinecraft,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:700) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:weeping_angels-common.mixins.json:MinecraftMixin,pl:mixin:APP:neat.mixins.json:MinecraftMixin,pl:mixin:APP:bookshelf.common.mixins.json:client.AccessorMinecraft,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.m_239872_(Main.java:212) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:51) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:classloading,pl:runtimedistcleaner:A}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
    at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19.2-43.2.0.jar%2395!/:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {}


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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.world.entity.ai.sensing.SensorType.m_26827_(SensorType.java:42) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:forge-mca.mixin.json:MixinSensorType,pl:mixin:A}
    at net.minecraft.world.entity.ai.Brain.<init>(Brain.java:146) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,re:classloading,pl:mixin:APP:moonlight-common.mixins.json:accessor.BrainAccessor,pl:mixin:A}
    at net.minecraft.world.entity.ai.Brain$1.decode(Brain.java:93) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:classloading}
    at com.mojang.serialization.MapDecoder.lambda$compressedDecode$0(MapDecoder.java:52) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.MapDecoder.compressedDecode(MapDecoder.java:52) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.MapCodec$MapCodecCodec.decode(MapCodec.java:91) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.Decoder.parse(Decoder.java:18) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.codecs.FieldDecoder.decode(FieldDecoder.java:29) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.MapCodec$1.decode(MapCodec.java:34) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.MapDecoder.lambda$compressedDecode$0(MapDecoder.java:52) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.MapDecoder.compressedDecode(MapDecoder.java:52) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.MapCodec$MapCodecCodec.decode(MapCodec.java:91) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.Decoder.decode(Decoder.java:22) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at com.mojang.serialization.Decoder.parse(Decoder.java:26) ~[datafixerupper-5.0.28.jar%23120!/:?] {}
    at net.minecraft.world.entity.ai.Brain$Provider.m_22073_(Brain.java:63) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:classloading}
    at forge.net.mca.entity.VillagerEntityMCA.m_8075_(VillagerEntityMCA.java:209) ~[minecraft-comes-alive-7.4.6+1.19.2-universal.jar%23259!/:?] {re:mixin,re:classloading}
    at net.minecraft.world.entity.LivingEntity.<init>(LivingEntity.java:245) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:LivingEntityMixin,pl:mixin:APP:bookshelf.common.mixins.json:entity.AccessorLivingEntity,pl:mixin:APP:bookshelf.common.mixins.json:entity.MixinLivingEntity,pl:mixin:APP:betterdeserttemples.mixins.json:PharaohKilledMixin,pl:mixin:APP:werewolves.mixins.json:LivingEntityAccessor,pl:mixin:APP:curios.mixins.json:MixinLivingEntity,pl:mixin:APP:vampirism.mixins.json:LivingEntityAccessor,pl:mixin:APP:vampirism.mixins.json:MixinLivingEntity,pl:mixin:APP:enhancedcelestials.mixins.json:MixinLivingEntity,pl:mixin:APP:obscure_api.mixins.json:LivingEntityMixin,pl:mixin:A}
    at net.minecraft.world.entity.Mob.<init>(Mob.java:121) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:bookshelf.common.mixins.json:entity.AccessorMob,pl:mixin:APP:vampirism.mixins.json:MixinMobEntity,pl:mixin:A}
    at net.minecraft.world.entity.PathfinderMob.<init>(PathfinderMob.java:14) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,re:classloading}
    at net.minecraft.world.entity.AgeableMob.<init>(AgeableMob.java:28) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,re:classloading}
    at net.minecraft.world.entity.npc.AbstractVillager.<init>(AbstractVillager.java:49) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.entity.npc.Villager.<init>(Villager.java:138) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:forge-mca.mixin.json:MixinVillagerEntity,pl:mixin:APP:friendsandfoes-common.mixins.json:VillagerEntityMixin,pl:mixin:APP:moonlight-common.mixins.json:VillagerMixin,pl:mixin:APP:werewolves.mixins.json:entity.MixinVillagerEntity,pl:mixin:A}
    at net.minecraft.world.entity.npc.Villager.<init>(Villager.java:134) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:forge-mca.mixin.json:MixinVillagerEntity,pl:mixin:APP:friendsandfoes-common.mixins.json:VillagerEntityMixin,pl:mixin:APP:moonlight-common.mixins.json:VillagerMixin,pl:mixin:APP:werewolves.mixins.json:entity.MixinVillagerEntity,pl:mixin:A}
    at forge.net.mca.entity.VillagerEntityMCA.<init>(VillagerEntityMCA.java:166) ~[minecraft-comes-alive-7.4.6+1.19.2-universal.jar%23259!/:?] {re:mixin,re:classloading}
    at forge.net.mca.entity.EntitiesMCA.lambda$static$0(EntitiesMCA.java:26) ~[minecraft-comes-alive-7.4.6+1.19.2-universal.jar%23259!/:?] {re:mixin,re:classloading}
    at net.minecraft.world.entity.EntityType.m_20615_(EntityType.java:469) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,re:classloading,pl:mixin:APP:forge-mca.mixin.json:MixinEntityType,pl:mixin:APP:architectury-common.mixins.json:inject.MixinEntityType,pl:mixin:A}
    at forge.net.mca.client.model.CommonVillagerModel.getVillager(CommonVillagerModel.java:87) ~[minecraft-comes-alive-7.4.6+1.19.2-universal.jar%23259!/:?] {re:mixin,re:classloading}
    at forge.net.mca.client.model.CommonVillagerModel.getVillager(CommonVillagerModel.java:96) ~[minecraft-comes-alive-7.4.6+1.19.2-universal.jar%23259!/:?] {re:mixin,re:classloading}
    at net.minecraft.client.renderer.GameRenderer.handler$zbe000$onCameraSet(GameRenderer.java:1542) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.GameRenderer.m_109148_(GameRenderer.java:609) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
-- Affected level --
Details:
    All players: 1 total; [LocalPlayer['BlizzardFrst'/496, l='ClientLevel', x=181.50, y=69.00, z=-21.50]]
    Chunk stats: 289, 169
    Level dimension: minecraft:overworld
    Level spawn location: World: (176,70,-32), Section: (at 0,6,0 in 11,4,-2; chunk contains blocks 176,-64,-32 to 191,319,-17), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1)
    Level time: 9210 game time, 9210 day time
    Server brand: forge
    Server type: Non-integrated multiplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.ClientLevel.m_6026_(ClientLevel.java:450) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,xf:fml:xaerominimap:xaero_clientworldclass,pl:runtimedistcleaner:A,re:classloading,xf:fml:xaerominimap:xaero_clientworldclass,pl:mixin:APP:citadel.mixins.json:client.ClientLevelMixin,pl:mixin:APP:architectury.mixins.json:MixinClientLevel,pl:mixin:APP:enhancedcelestials.mixins.json:client.MixinClientWorld,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2278) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:weeping_angels-common.mixins.json:MinecraftMixin,pl:mixin:APP:neat.mixins.json:MinecraftMixin,pl:mixin:APP:bookshelf.common.mixins.json:client.AccessorMinecraft,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:722) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:weeping_angels-common.mixins.json:MinecraftMixin,pl:mixin:APP:neat.mixins.json:MinecraftMixin,pl:mixin:APP:bookshelf.common.mixins.json:client.AccessorMinecraft,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.m_239872_(Main.java:212) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:51) ~[client-1.19.2-20220805.130853-srg.jar%23289!/:?] {re:classloading,pl:runtimedistcleaner:A}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
    at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19.2-43.2.0.jar%2395!/:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2382!/:?] {}
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {}


-- Last reload --
Details:
    Reload number: 1
    Reload reason: initial
    Finished: Yes
    Packs: Default, Mod Resources, Immersive Weathering Generated Pack

-- System Details --
Details:
    Minecraft Version: 1.19.2
    Minecraft Version ID: 1.19.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 17.0.3, Microsoft
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
    Memory: 325058560 bytes (310 MiB) / 2363490304 bytes (2254 MiB) up to 4294967296 bytes (4096 MiB)
    CPUs: 6
    Processor Vendor: AuthenticAMD
    Processor Name: AMD Ryzen 5 3500 6-Core Processor              
    Identifier: AuthenticAMD Family 23 Model 113 Stepping 0
    Microarchitecture: Zen 2
    Frequency (GHz): 3.59
    Number of physical packages: 1
    Number of physical CPUs: 6
    Number of logical CPUs: 6
    Graphics card #0 name: NVIDIA GeForce GTX 1650
    Graphics card #0 vendor: NVIDIA (0x10de)
    Graphics card #0 VRAM (MB): 4095.00
    Graphics card #0 deviceId: 0x1f82
    Graphics card #0 versionInfo: DriverVersion=31.0.15.1694
    Memory slot #0 capacity (MB): 8192.00
    Memory slot #0 clockSpeed (GHz): 2.67
    Memory slot #0 type: DDR4
    Memory slot #1 capacity (MB): 8192.00
    Memory slot #1 clockSpeed (GHz): 2.67
    Memory slot #1 type: DDR4
    Virtual memory max (MB): 24201.85
    Virtual memory used (MB): 19273.12
    Swap memory total (MB): 7904.75
    Swap memory used (MB): 319.12
    JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m
    Launched Version: forge-43.2.0
    Backend library: LWJGL version 3.3.1 build 7
    Backend API: NVIDIA GeForce GTX 1650/PCIe/SSE2 GL version 3.2.0 NVIDIA 516.94, NVIDIA Corporation
    Window size: 1024x768
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: 
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    Graphics mode: fancy
    Resource Packs: 
    Current Language: English (US)
    CPU: 6x AMD Ryzen 5 3500 6-Core Processor 
    ModLauncher: 10.0.8+10.0.8+main.0ef7e830
    ModLauncher launch target: forgeclient
    ModLauncher naming: srg
    ModLauncher services: 
        mixin-0.8.5.jar mixin PLUGINSERVICE 
        eventbus-6.0.3.jar eventbus PLUGINSERVICE 
        fmlloader-1.19.2-43.2.0.jar slf4jfixer PLUGINSERVICE 
        fmlloader-1.19.2-43.2.0.jar object_holder_definalize PLUGINSERVICE 
        fmlloader-1.19.2-43.2.0.jar runtime_enum_extender PLUGINSERVICE 
        fmlloader-1.19.2-43.2.0.jar capability_token_subclass PLUGINSERVICE 
        accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE 
        fmlloader-1.19.2-43.2.0.jar runtimedistcleaner PLUGINSERVICE 
        modlauncher-10.0.8.jar mixin TRANSFORMATIONSERVICE 
        modlauncher-10.0.8.jar fml TRANSFORMATIONSERVICE 
    FML Language Providers: 
        [email protected]
        lowcodefml@null
        javafml@null
    Mod List: 
        easy_mob_farm_1.19.2-4.5.0.jar                    |Easy Mob Farm                 |easy_mob_farm                 |4.5.0               |DONE      |Manifest: NOSIGNATURE
        YungsBetterDungeons-1.19.2-Forge-3.2.2.jar        |YUNG's Better Dungeons        |betterdungeons                |1.19.2-Forge-3.2.2  |DONE      |Manifest: NOSIGNATURE
        YungsBetterWitchHuts-1.19.2-Forge-2.1.0.jar       |YUNG's Better Witch Huts      |betterwitchhuts               |1.19.2-Forge-2.1.0  |DONE      |Manifest: NOSIGNATURE
        Weeping-Angels-43.0.9-forge.jar                   |Weeping Angels                |weeping_angels                |43.0.9              |DONE      |Manifest: NOSIGNATURE
        jei-1.19.2-forge-11.6.0.1011.jar                  |Just Enough Items             |jei                           |11.6.0.1011         |DONE      |Manifest: NOSIGNATURE
        libraryferret-forge-1.19.2-3.0.0.jar              |Library ferret                |libraryferret                 |3.0.0               |DONE      |Manifest: NOSIGNATURE
        obscure_api-14.jar                                |Obscure API                   |obscure_api                   |14                  |DONE      |Manifest: NOSIGNATURE
        immersive_weathering-1.19.2-1.2.8-forge.jar       |Immersive Weathering          |immersive_weathering          |1.19.2-1.2.8        |DONE      |Manifest: NOSIGNATURE
        Neat-1.19-32.jar                                  |Neat                          |neat                          |1.19-32             |DONE      |Manifest: NOSIGNATURE
        Clumps-forge-1.19.2-9.0.0+14.jar                  |Clumps                        |clumps                        |9.0.0+14            |DONE      |Manifest: NOSIGNATURE
        comforts-forge-6.0.3+1.19.2.jar                   |Comforts                      |comforts                      |6.0.3+1.19.2        |DONE      |Manifest: NOSIGNATURE
        citadel-2.1.1-1.19.jar                            |Citadel                       |citadel                       |2.1.1               |DONE      |Manifest: NOSIGNATURE
        alexsmobs-1.21.1.jar                              |Alex's Mobs                   |alexsmobs                     |1.21.1              |DONE      |Manifest: NOSIGNATURE
        TravelersBackpack-1.19.2-8.2.16.jar               |Traveler's Backpack           |travelersbackpack             |8.2.16              |DONE      |Manifest: NOSIGNATURE
        YungsApi-1.19.2-Forge-3.8.7.jar                   |YUNG's API                    |yungsapi                      |1.19.2-Forge-3.8.7  |DONE      |Manifest: NOSIGNATURE
        DungeonCrawl-1.19-2.3.11.jar                      |Dungeon Crawl                 |dungeoncrawl                  |2.3.11              |DONE      |Manifest: NOSIGNATURE
        Bookshelf-Forge-1.19.2-16.2.17.jar                |Bookshelf                     |bookshelf                     |16.2.17             |DONE      |Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5
        YungsBetterDesertTemples-1.19.2-Forge-2.2.1.jar   |YUNG's Better Desert Temples  |betterdeserttemples           |1.19.2-Forge-2.2.1  |DONE      |Manifest: NOSIGNATURE
        balm-4.5.3.jar                                    |Balm                          |balm                          |4.5.3               |DONE      |Manifest: NOSIGNATURE
        JustEnoughResources-1.19.2-1.2.1.193.jar          |Just Enough Resources         |jeresources                   |1.2.1.193           |DONE      |Manifest: NOSIGNATURE
        [Universal]Immersive Structures-2.0.7.jar         |Immersive Structure           |imst                          |2.0.7               |DONE      |Manifest: NOSIGNATURE
        cloth-config-8.2.88-forge.jar                     |Cloth Config v8 API           |cloth_config                  |8.2.88              |DONE      |Manifest: NOSIGNATURE
        forge-1.19.2-43.2.0-universal.jar                 |Forge                         |forge                         |43.2.0              |DONE      |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90
        twilightforest-1.19.2-4.2.1518-universal.jar      |The Twilight Forest           |twilightforest                |4.2.1518            |DONE      |Manifest: NOSIGNATURE
        ultris-v5.6.7f.jar                                |Ultris: Boss Expansion        |ultris_mr                     |5.6.7f              |DONE      |Manifest: NOSIGNATURE
        friendsandfoes-forge-mc1.19.2-1.6.8.jar           |Friends&Foes                  |friendsandfoes                |1.6.8               |DONE      |Manifest: NOSIGNATURE
        easy_piglins-1.19.2-1.0.0.jar                     |Easy Piglins                  |easy_piglins                  |1.19.2-1.0.0        |DONE      |Manifest: NOSIGNATURE
        ironchest-1.19.2-14.2.7.jar                       |Iron Chests                   |ironchest                     |1.19.2-14.2.7       |DONE      |Manifest: NOSIGNATURE
        friendsandfoes-flowerymooblooms-forge-mc1.19.2-1.0|Friends&Foes - Flowery Moobloo|flowerymooblooms              |1.0.0               |DONE      |Manifest: NOSIGNATURE
        client-1.19.2-20220805.130853-srg.jar             |Minecraft                     |minecraft                     |1.19.2              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
        mcw-bridges-2.0.6-mc1.19.2forge.jar               |Macaw's Bridges               |mcwbridges                    |2.0.6               |DONE      |Manifest: NOSIGNATURE
        FarmersDelight-1.19-1.2.0.jar                     |Farmer's Delight              |farmersdelight                |1.19-1.2.0          |DONE      |Manifest: NOSIGNATURE
        EnchantmentDescriptions-Forge-1.19.2-13.0.14.jar  |EnchantmentDescriptions       |enchdesc                      |13.0.14             |DONE      |Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5
        TerraBlender-forge-1.19.2-2.0.1.128.jar           |TerraBlender                  |terrablender                  |2.0.1.128           |DONE      |Manifest: NOSIGNATURE
        swingthroughgrass-1.19.2-1.10.0.jar               |SwingThroughGrass             |swingthroughgrass             |1.19.2-1.10.0       |DONE      |Manifest: NOSIGNATURE
        moonlight-1.19.2-2.2.9-forge.jar                  |Moonlight Library             |moonlight                     |1.19.2-2.2.9        |DONE      |Manifest: NOSIGNATURE
        MouseTweaks-forge-mc1.19-2.23.jar                 |Mouse Tweaks                  |mousetweaks                   |2.23                |DONE      |Manifest: NOSIGNATURE
        signpost-1.19.2-2.01.0.jar                        |Signpost                      |signpost                      |1.19.2-2.01.0       |DONE      |Manifest: NOSIGNATURE
        BiomesOPlenty-1.19.2-17.1.1.162.jar               |Biomes O' Plenty              |biomesoplenty                 |17.1.1.162          |DONE      |Manifest: NOSIGNATURE
        Hunting_Delight Forge 1.19.2 2.9.9.jar            |Hunting delight               |hunting_delight               |2.9.9               |DONE      |Manifest: NOSIGNATURE
        obscure_tooltips-1.0.api9-1.19.jar                |Obscure Tooltips              |obscure_tooltips              |1.0.api9            |DONE      |Manifest: NOSIGNATURE
        ironfurnaces-1.19.2-3.6.5.jar                     |Iron Furnaces                 |ironfurnaces                  |3.6.5               |DONE      |Manifest: NOSIGNATURE
        Unwrecked-Ships-0.0.3-Forge.jar                   |Unwrecked Ships               |unwrecked_ships               |0.0.3               |DONE      |Manifest: NOSIGNATURE
        material_elements_1.19.2-6.3.0.jar                |Material Elements             |material_elements             |6.3.0               |DONE      |Manifest: NOSIGNATURE
        spectrelib-forge-0.11.0+1.19.jar                  |SpectreLib                    |spectrelib                    |0.11.0+1.19         |DONE      |Manifest: NOSIGNATURE
        NethersDelight-1.19-3.0.jar                       |Nether's Delight              |nethersdelight                |1.19-3.0            |DONE      |Manifest: NOSIGNATURE
        easy_villagers-1.19.2-1.0.0.jar                   |Easy Villagers                |easy_villagers                |1.19.2-1.0.0        |DONE      |Manifest: NOSIGNATURE
        curios-forge-1.19.2-5.1.2.2.jar                   |Curios API                    |curios                        |1.19.2-5.1.2.2      |DONE      |Manifest: NOSIGNATURE
        ydms_redpanda-forge-1.19.x-1.0.2.jar              |YDM's Red Panda               |ydms_redpanda                 |1.19-1.0.0          |DONE      |Manifest: NOSIGNATURE
        Xaeros_Minimap_23.1.0_Forge_1.19.1.jar            |Xaero's Minimap               |xaerominimap                  |23.1.0              |DONE      |Manifest: NOSIGNATURE
        Alexs Armoury v1.4.1-1.19.2.jar                   |Alex's Armoury                |alexs_armoury                 |1.4.1               |DONE      |Manifest: NOSIGNATURE
        polymorph-forge-0.46.1+1.19.2.jar                 |Polymorph                     |polymorph                     |0.46.1+1.19.2       |DONE      |Manifest: NOSIGNATURE
        bettervillage-forge-1.19.2-2.0.0.jar              |Better village                |bettervillage                 |2.0.0               |DONE      |Manifest: NOSIGNATURE
        YungsBetterStrongholds-1.19.2-Forge-3.2.0.jar     |YUNG's Better Strongholds     |betterstrongholds             |1.19.2-Forge-3.2.0  |DONE      |Manifest: NOSIGNATURE
        cfm-7.0.0-pre35-1.19.2.jar                        |MrCrayfish's Furniture Mod    |cfm                           |7.0.0-pre35         |DONE      |Manifest: NOSIGNATURE
        architectury-6.5.69-forge.jar                     |Architectury                  |architectury                  |6.5.69              |DONE      |Manifest: NOSIGNATURE
        minecraft-comes-alive-7.4.6+1.19.2-universal.jar  |Minecraft Comes Alive         |mca                           |7.4.6+1.19.2        |DONE      |Manifest: NOSIGNATURE
        appleskin-forge-mc1.19-2.4.2.jar                  |AppleSkin                     |appleskin                     |2.4.2+mc1.19        |DONE      |Manifest: NOSIGNATURE
        alexsdelight-1.4.1.jar                            |Alex's Delight                |alexsdelight                  |1.4.1               |DONE      |Manifest: NOSIGNATURE
        Vampirism-1.19.2-1.9.2.jar                        |Vampirism                     |vampirism                     |1.9.2               |DONE      |Manifest: NOSIGNATURE
        VampirismIntegrations-1.19.2-1.8.0-beta.3.jar     |Vampirism Integrations        |vampirism_integrations        |1.8.0-beta.3        |DONE      |Manifest: NOSIGNATURE
        VampiresNeedUmbrellas-1.19.2-1.0.jar              |Vampires Need Umbrellas       |vampiresneedumbrellas         |1.0                 |DONE      |Manifest: NOSIGNATURE
        Werewolves-1.19.2-1.1.0.0.jar                     |Werewolves                    |werewolves                    |1.1.0.0             |DONE      |Manifest: NOSIGNATURE
        Enhanced_Celestials-forge-1.19.2-2.1.0.5.jar      |Enhanced Celestials           |enhancedcelestials            |2.1.0.5             |DONE      |Manifest: NOSIGNATURE
        CorgiLib-forge-1.19.2-1.0.0.24.jar                |CorgiLib                      |corgilib                      |1.0.0.24            |DONE      |Manifest: NOSIGNATURE
        PizzaCraft-1.19.2-6.2.2.jar                       |PizzaCraft                    |pizzacraft                    |6.2.2               |DONE      |Manifest: NOSIGNATURE
        smallships-1.19.2-2.0.0-Alpha-0.4.jar             |Small Ships Mod               |smallships                    |2.0.0-a0.4          |DONE      |Manifest: NOSIGNATURE
        FastLeafDecay-30.jar                              |FastLeafDecay                 |fastleafdecay                 |30                  |DONE      |Manifest: NOSIGNATURE
        Delightful-1.19.2-3.2.2.jar                       |Delightful                    |delightful                    |3.2.2               |DONE      |Manifest: NOSIGNATURE
        CosmeticArmorReworked-1.19.2-v1a.jar              |CosmeticArmorReworked         |cosmeticarmorreworked         |1.19.2-v1a          |DONE      |Manifest: 5e:ed:25:99:e4:44:14:c0:dd:89:c1:a9:4c:10:b5:0d:e4:b1:52:50:45:82:13:d8:d0:32:89:67:56:57:01:53
        YungsBetterMineshafts-1.19.2-Forge-3.2.0.jar      |YUNG's Better Mineshafts      |bettermineshafts              |1.19.2-Forge-3.2.0  |DONE      |Manifest: NOSIGNATURE
        geckolib-forge-1.19-3.1.40.jar                    |GeckoLib                      |geckolib3                     |3.1.40              |DONE      |Manifest: NOSIGNATURE
        drinkbeer-refill-1.19.2-1.0.1.jar                 |Drink Beer Refill             |drinkbeer                     |1.0.1               |DONE      |Manifest: NOSIGNATURE
        BetterAdvancements-1.19.2-0.2.2.142.jar           |Better Advancements           |betteradvancements            |0.2.2.142           |DONE      |Manifest: NOSIGNATURE
    Crash Report UUID: 4fef5d38-6ea6-4222-802a-ec39bbaab5eb
    FML: 43.2
    Forge: net.minecraftforge:43.2.0

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hello everyone.  I need help.  I'm relatively new to modding Minecraft and can't make heads-or-tails of the crash-logs.  I have both the actual crash report and the "latest" log file to look at. This only began happening recently, and I cannot figure out exactly what the cause is.  Some sources I've had look at it have said perhaps it's Cupboard.  Others have said it may be related to the Forgified API and "Connections", but I've attempted break-down with removing both of those and still have gotten the crashes. Regardless, I am uncertain what to do.  Admittedly I don't want to get rid of Cupboard, as I have several additional QOL mods that depend on it.  Also, I would like to know if there's an Embeddium-friendly version of Entity Texture Features, as apparently my version seems to have issue with it?  According to an Embeddium post near the top of the crash log. The files are enclosed below.  Thank you in advance. - TheMegaNerd    
    • i keep getting these errors and im not sure how to fix them or if i can just leave them be :PS i know about the missing tags i just dont have the mods required to add those extra villages Here is the log  https://paste.ee/p/KpYoV
    • Minecraft: 1.18.2, Forge: 40.2.21 I created some code that renders a custom particle. The particle renders without depth test: `disableDepthTest()` and should be visible through other blocks. Locally, all works fine. When I install it on the server and client, it also works fine. But when the mod is removed from the server, it no longer works.   The particle is registered under the name "DEPTH_VISION", and if i check if it is present `ModParticles.DEPTH_VISION.isPresent()`, while the mod is not on the server, I get a `false` back.   So my question is: - Is it even possible to make a custom particle, while staying client side only? - What do I need to change to make it work?    ModParticles.java import net.minecraft.core.particles.SimpleParticleType; import net.minecraft.core.particles.ParticleType; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; import net.minecraftforge.registries.RegistryObject; public class ModParticles { public static final DeferredRegister<ParticleType<?>> REGISTRY = DeferredRegister.create(ForgeRegistries.PARTICLE_TYPES, SomeNameMod.MODID); public static final RegistryObject<SimpleParticleType> DEPTH_VISION = REGISTRY.register("depth_vision", () -> new SimpleParticleType(true)); }    SomeNameMod.java import com.peet.somename.HighlightBlock; import com.peet.somename.DepthVisionParticle; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.texture.TextureAtlas; import net.minecraft.core.particles.ParticleType; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.level.Level; import net.minecraft.world.entity.player.Player; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import net.minecraftforge.client.event.ParticleFactoryRegisterEvent; import net.minecraftforge.client.event.TextureStitchEvent; @Mod(com.peet.somename.SomeNameMod.MODID) public class SomeNameMod { public static final String MODID = "somename"; private static int tickCounter = 0; // Counter to track ticks public SomeNameMod() { IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus(); modEventBus.addListener(this::onTextureStitch); modEventBus.addListener(this::registerParticleFactories); ModParticles.REGISTRY.register(modEventBus); MinecraftForge.EVENT_BUS.register(this); } @SubscribeEvent public void registerParticleFactories(ParticleFactoryRegisterEvent event) { Minecraft.getInstance().particleEngine.register((ParticleType) ModParticles.DEPTH_VISION.get(), DepthVisionParticle.Factory::new); } @SubscribeEvent public void onWorldTick(TickEvent.WorldTickEvent event) { if (event.phase == TickEvent.Phase.END) { Level world = event.world; if (!world.isClientSide) return; if (tickCounter++ >= 20) { // 5 seconds = 100 ticks Player player = Minecraft.getInstance().player; if (player != null) { HighlightBlock.spawnParticles(world, player); } tickCounter = 0; // Reset the counter after spawning particles } } } @SubscribeEvent public void onClientTick(TickEvent.ClientTickEvent event) { } @SubscribeEvent public void onTextureStitch(TextureStitchEvent.Pre event) { if (event.getAtlas().location().equals(TextureAtlas.LOCATION_PARTICLES)) { event.addSprite(new ResourceLocation(MODID, "particles/depth_vision")); } } }    HighlightBlock.java import com.peet.somename.ModParticles; import net.minecraft.network.chat.TextComponent; import net.minecraft.world.entity.player.Player; import net.minecraft.world.level.Level; import net.minecraft.client.Minecraft; import net.minecraft.client.particle.ParticleEngine; public class HighlightBlock { public static <ExceptionType> void spawnParticles(Level world, Player player ) { ParticleEngine particleEngine = Minecraft.getInstance().particleEngine; if (!ModParticles.DEPTH_VISION.isPresent()) { Minecraft.getInstance().player.sendMessage(new TextComponent("DEPTH_VISION particle is not registered."), Minecraft.getInstance().player.getUUID()); return; } particleEngine.createParticle(ModParticles.DEPTH_VISION.get(), 0, 0, 0, 0.0, 0.0, 0.0); } }    DepthVisionParticle.java package com.peet.somename.particles; import net.minecraft.client.particle.Particle; import net.minecraft.core.particles.SimpleParticleType; import net.minecraft.client.particle.ParticleProvider; import com.mojang.blaze3d.vertex.Tesselator; import com.mojang.blaze3d.systems.RenderSystem; import net.minecraft.client.renderer.texture.TextureManager; import com.mojang.blaze3d.vertex.BufferBuilder; import net.minecraft.world.entity.player.Player; import net.minecraft.client.Minecraft; import net.minecraft.client.Camera; import com.mojang.blaze3d.vertex.VertexConsumer; import net.minecraft.client.particle.SpriteSet; import net.minecraft.client.multiplayer.ClientLevel; import net.minecraft.client.particle.ParticleRenderType; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; import net.minecraft.client.particle.SimpleAnimatedParticle; @OnlyIn(Dist.CLIENT) public class DepthVisionParticle extends SimpleAnimatedParticle { private static final ParticleRenderType DEPTH_PARTICLE_SHEET_TRANSLUCENT; private DepthVisionParticle(final ClientLevel world, final double x, final double y, final double z, final double motionX, final double motionY, final double motionZ, final SpriteSet spriteWithAge) { super(world, x, y, z, spriteWithAge, 0.0f); this.xd = motionX; this.yd = motionY; this.zd = motionZ; this.lifetime = 20; this.setSpriteFromAge(spriteWithAge); } public void render(final VertexConsumer buffer, final Camera renderInfo, final float partialTicks) { final Player player = Minecraft.getInstance().player; super.render(buffer, renderInfo, partialTicks); } public void tick() { super.tick(); this.setSprite(this.sprite); if (this.age++ >= this.lifetime) { this.remove(); } } public ParticleRenderType getRenderType() { return com.peet.somename.particles.DepthVisionParticle.DEPTH_PARTICLE_SHEET_TRANSLUCENT; } static { DEPTH_PARTICLE_SHEET_TRANSLUCENT = new ParticleRenderType() { public void begin(BufferBuilder buffer, TextureManager textureManager) { RenderSystem.disableDepthTest(); ParticleRenderType.PARTICLE_SHEET_TRANSLUCENT.begin(buffer, textureManager); } public void end(Tesselator tessellator) { ParticleRenderType.PARTICLE_SHEET_TRANSLUCENT.end(tessellator); RenderSystem.enableDepthTest(); } }; } @OnlyIn(Dist.CLIENT) public static class Factory implements ParticleProvider<SimpleParticleType> { private final SpriteSet spriteSet; public Factory(final SpriteSet spriteSet) { this.spriteSet = spriteSet; } public Particle createParticle(final SimpleParticleType type, final ClientLevel world, final double x, final double y, final double z, final double xSpeed, final double ySpeed, final double zSpeed ) { final com.peet.somename.particles.DepthVisionParticle particle = new com.peet.somename.particles.DepthVisionParticle(world, x, y, z, 0.0, 0.0, 0.0, this.spriteSet); particle.setParticleSpeed((float) xSpeed, (float) ySpeed, (float) zSpeed); return particle; } } }  
    • no, but do you know  any alternatives that will give me access to shaders?
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.