Jump to content

Need help with this error


BesTiaPanDa

Recommended Posts

When I load minecraft singleplayer it works but when I try to load the server with multicraft, it crashes:

09.02 22:10:22 [Multicraft] Received start command
09.02 22:10:22 [Multicraft] Loading server properties
09.02 22:10:22 [Multicraft] Starting server!
09.02 22:10:22 [Multicraft] Loaded config for "Custom Forge with Java 17 ( Name Forge Installer: custom_forge_installer.jar )"
09.02 22:10:22 [Multicraft] JAR file not found, copying from global JAR directory
09.02 22:10:22 [Multicraft] Failed to copy jarfile from global JAR directory
09.02 22:10:22 [Multicraft] JAR file not found. Go to "Settings"-"Update Minecraft" to download the JAR file.
09.02 22:10:22 [Multicraft] Updating eula.txt file
09.02 22:10:25 [Server] INFO 2023-02-09 22:10:25,425 main WARN Advanced terminal features are not available in this environment
09.02 22:10:25 [Server] main/INFO ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.2.3, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853]
09.02 22:10:25 [Server] main/INFO ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17 by Oracle Corporation; OS Linux arch amd64 version 4.15.0-192-generic
09.02 22:10:27 [Server] main/INFO SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/custom_forge/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER
09.02 22:10:28 [Server] main/WARN Mod file /custom_forge/libraries/net/minecraftforge/fmlcore/1.19.2-43.2.3/fmlcore-1.19.2-43.2.3.jar is missing mods.toml file
09.02 22:10:28 [Server] main/WARN Mod file /custom_forge/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.2.3/javafmllanguage-1.19.2-43.2.3.jar is missing mods.toml file
09.02 22:10:28 [Server] main/WARN Mod file /custom_forge/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.2.3/lowcodelanguage-1.19.2-43.2.3.jar is missing mods.toml file
09.02 22:10:28 [Server] main/WARN Mod file /custom_forge/libraries/net/minecraftforge/mclanguage/1.19.2-43.2.3/mclanguage-1.19.2-43.2.3.jar is missing mods.toml file
09.02 22:10:28 [Server] main/INFO Found 14 dependencies adding them to mods collection
09.02 22:10:35 [Server] main/ERROR Mixin config dynamiclightsreforged.mixins.json does not specify "minVersion" property
09.02 22:10:35 [Server] main/INFO Compatibility level set to JAVA_17
09.02 22:10:36 [Server] main/ERROR Mixin config forge-mavapi.mixins.json does not specify "minVersion" property
09.02 22:10:36 [Server] main/ERROR Mixin config entity_texture_features-forge.mixins.json does not specify "minVersion" property
09.02 22:10:36 [Server] main/ERROR Mixin config entity_texture_features-common.mixins.json does not specify "minVersion" property
09.02 22:10:36 [Server] main/ERROR Mixin config forge-mavm.mixins.json does not specify "minVersion" property
09.02 22:10:36 [Server] main/ERROR Mixin config rottencreatures-common.mixins.json does not specify "minVersion" property
09.02 22:10:36 [Server] main/ERROR Mixin config rottencreatures.mixins.json does not specify "minVersion" property
09.02 22:10:36 [Server] main/INFO Successfully loaded Mixin Connector [com.sonicether.soundphysics.MixinConnector]
09.02 22:10:36 [Server] main/INFO Successfully loaded Mixin Connector [com.aizistral.nochatreports.MixinConnector]
09.02 22:10:36 [Server] main/INFO Launching target 'forgeserver' with arguments []
09.02 22:10:36 [Server] main/INFO Loaded configuration file for Rubidium: 29 options available, 0 override(s) found
09.02 22:10:36 [Server] main/WARN Reference map 'yungsextras.refmap.json' for yungsextras.mixins.json could not be read. If this is a development environment you can ignore this message
09.02 22:10:36 [Server] main/WARN Reference map 'yungsextras.refmap.json' for yungsextras_forge.mixins.json could not be read. If this is a development environment you can ignore this message
09.02 22:10:37 [Server] main/WARN Option 'mixin.world.block_entity_ticking.world_border' requires 'mixin.util.world_border_listener=true' but found 'false'. Setting 'mixin.world.block_entity_ticking.world_border=false'.
09.02 22:10:37 [Server] main/INFO Loaded configuration file for Canary: 106 options available, 1 override(s) found
09.02 22:10:37 [Server] main/WARN Reference map 'v_slab_compat-common-refmap.json' for v_slab_compat-common.mixins.json could not be read. If this is a development environment you can ignore this message
09.02 22:10:37 [Server] main/WARN Reference map 'everycomp-common-refmap.json' for everycomp-common.mixins.json could not be read. If this is a development environment you can ignore this message
09.02 22:10:37 [Server] main/WARN Reference map 'everycomp.refmap.json' for everycomp.mixins.json could not be read. If this is a development environment you can ignore this message
09.02 22:10:37 [Server] main/WARN Reference map 'rottencreatures-forge-refmap.json' for rottencreatures.mixins.json could not be read. If this is a development environment you can ignore this message
09.02 22:10:37 [Server] Transformer Transforming m_47480_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Z)Z in net/minecraft/world/level/biome/Biome
09.02 22:10:38 [Server] Transformer Patched 1 calls
09.02 22:10:38 [Server] Transformer Transforming m_47519_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z in net/minecraft/world/level/biome/Biome
09.02 22:10:38 [Server] Transformer Successfully patched shouldSnow
09.02 22:10:38 [Server] Transformer Transforming m_8714_ (Lnet/minecraft/world/level/chunk/LevelChunk;I)V in net/minecraft/server/level/ServerLevel
09.02 22:10:38 [Server] Transformer Successfully patched tickChunk
09.02 22:10:40 [Server] main/WARN Force-disabling mixin 'world.player_chunk_tick.ChunkMapMixin' as rule 'mixin.world.player_chunk_tick' (added by mods [pluto]) disables it and children
09.02 22:10:40 [Server] main/WARN Error loading class: com/mojang/blaze3d/audio/Channel (java.lang.ClassNotFoundException: com.mojang.blaze3d.audio.Channel)
09.02 22:10:40 [Server] main/WARN @Mixin target com.mojang.blaze3d.audio.Channel was not found assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ChannelAccessor
09.02 22:10:41 [Server] main/INFO Mixing server.MixinDedicatedServer from nochatreports.mixins.json into net.minecraft.server.dedicated.DedicatedServer
09.02 22:10:43 [Server] Transformer Transforming m_8714_ (Lnet/minecraft/world/level/chunk/LevelChunk;I)V in net/minecraft/server/level/ServerLevel
09.02 22:10:43 [Server] Transformer Successfully patched tickChunk
09.02 22:10:43 [Server] main/INFO Mixing server.MixinPlayer from nochatreports.mixins.json into net.minecraft.world.entity.player.Player
09.02 22:10:46 [Server] main/INFO Constructing shapes for nodeWith 2.0, extensionWidth 2.0, nodeHeight 24.0, extensionBottom 0.0, extensionHeight 24.0 took 157ms
09.02 22:10:46 [Server] main/INFO Constructing shapes for nodeWith 2.0, extensionWidth 2.0, nodeHeight 16.0, extensionBottom 0.0, extensionHeight 16.0 took 189ms
09.02 22:10:46 [Server] main/INFO Constructing shapes for nodeWith 2.0, extensionWidth 1.0, nodeHeight 16.0, extensionBottom 6.0, extensionHeight 15.0 took 343ms
09.02 22:10:46 [Server] Transformer Transforming m_8107_ ()V in net/minecraft/world/entity/animal/SnowGolem
09.02 22:10:46 [Server] Transformer Patched 1 calls
09.02 22:10:49 [Server] main/INFO Building unoptimized datafixer
09.02 22:10:51 [Server] main/WARN @ModifyConstant conflict. Skipping repurposed_structures.mixins.json:structures.StructurePoolMixin->@ModifyConstant::repurposedstructures_increaseWeightLimitDev(I)I with priority 1000, already redirected by yungsapi_forge.mixins.json:IncreaseStructureWeightLimitMixinForge->@ModifyConstant::yungsapi_increaseWeightLimit(I)I with priority 1000
09.02 22:10:51 [Server] Transformer Transforming m_47480_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Z)Z in net/minecraft/world/level/biome/Biome
09.02 22:10:51 [Server] Transformer Patched 1 calls
09.02 22:10:51 [Server] Transformer Transforming m_47519_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z in net/minecraft/world/level/biome/Biome
09.02 22:10:51 [Server] Transformer Successfully patched shouldSnow
09.02 22:10:52 [Server] main/ERROR Attempted to load class net/minecraft/client/KeyMapping for invalid dist DEDICATED_SERVER
09.02 22:10:52 [Server] main/WARN Error loading class: net/minecraft/client/KeyMapping (java.lang.RuntimeException: Attempted to load class net/minecraft/client/KeyMapping for invalid dist DEDICATED_SERVER)
09.02 22:10:52 [Server] INFO Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:32)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
09.02 22:10:52 [Server] INFO at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)
09.02 22:10:52 [Server] INFO Caused by: java.lang.reflect.InvocationTargetException
09.02 22:10:52 [Server] INFO at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09.02 22:10:52 [Server] INFO at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
09.02 22:10:52 [Server] INFO at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09.02 22:10:52 [Server] INFO at java.base/java.lang.reflect.Method.invoke(Method.java:568)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:29)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
09.02 22:10:52 [Server] INFO ... 7 more
09.02 22:10:52 [Server] INFO Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)
09.02 22:10:52 [Server] INFO at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50)
09.02 22:10:52 [Server] INFO at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113)
09.02 22:10:52 [Server] INFO at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219)
09.02 22:10:53 [Multicraft] Server shut down (starting)
09.02 22:10:53 [Multicraft] Not restarting crashed server.
09.02 22:10:53 [Multicraft] Looks like a crash, check the server console. Return value: 1
09.02 22:10:53 [Multicraft] Server stopped

Link to comment
Share on other sites

15 hours ago, BesTiaPanDa said:

09.02 22:10:52 [Server] main/WARN Error loading class: net/minecraft/client/KeyMapping (java.lang.RuntimeException: Attempted to load class net/minecraft/client/KeyMapping for invalid dist DEDICATED_SERVER)

Some client side mod is likely on the server since it is attempting to load a client-only class. You should take a look through your mod list and find any that are only client side.

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

    • 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?
    • I used an alternative for this, this is a sheet template, which helped me simplify my task and I did not have to count, because every time I start counting again, I always get confused. In the same way, when I change something, in the template, I can edit everything and put it in the order I need.
  • Topics

×
×
  • Create New...

Important Information

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