LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-04-2024, 11:36 AM   #1
ultimate_kidd
LQ Newbie
 
Registered: Feb 2024
Posts: 5

Rep: Reputation: 0
Problem with Pixelmon mod-Minecraft Java Server-Mods-Debian 12


I have started a new Minecraft Java server in Debian 12 (Linux) and downloaded the Pixelmon Mod to go with it. The server itself runs fine, but the Pixelmon mod has a lot of problems. One of the people I know joined the server and every time they try to attack and kill a pokemon, it gives us this error saying that the battle could not be completed and they earned no xp for battling that pokemon

[21:08:07] [Server thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: class com.pixelmonmod.api.parsing.ParseAttempt cannot be cast to class com.pixelmonmod.api.Specification (com.pixelmonmod.api.parsing.ParseAttempt and com.pixelmonmod.api.Specification are in module pixelmon@9.2.3 of loader 'TRANSFORMER' @44ed0a8f)
Index: 1
Listeners:
0: NORMAL
1: ASM: com.pixelmonmod.pixelmon.quests.listeners.EntityListeners@60fa3a61 onKnockout(Lcom/pixelmonmod/pixelmon/api/events/PixelmonKnockoutEventV
2: net.minecraftforge.eventbus.EventBus$$Lambda$4123/0x00007f45e8a23318@739bc85a
java.lang.ClassCastException: class com.pixelmonmod.api.parsing.ParseAttempt cannot be cast to class com.pixelmonmod.api.Specification (com.pixelmonmod.api.parsing.ParseAttempt and com.pixelmonmod.api.Specification are in module pixelmon@9.2.3 of loader 'TRANSFORMER' @44ed0a8f)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.quests.objectives.objectives.entity.PokemonObjective.test(PokemonObjective. java:65)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.quests.objectives.Objective.test(Objective.java:43)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.quests.objectives.Objective.receive(Objective.java:61)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.storage.playerData.QuestData.receiveInternal(QuestData.java:94)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.storage.playerData.QuestData.receive(QuestData.java:110)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.quests.listeners.EntityListeners.onKnockout(EntityListeners.java:99)
at com.pixelmonmod.pixelmon.quests.listeners.__EntityListeners_onKnockout_PixelmonKnockoutEvent.invoke( .dynamic)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.doBattleDamage(PixelmonWrap per.java:3201)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.attacks.Attack.executeAttackEffects(Attack.java:890)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.attacks.Attack.useAttackEffects(Attack.java:813)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.attacks.Attack.use(Attack.java:472)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.j ava:1028)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.j ava:950)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.takeTurn(PixelmonWrapper.ja va:1854)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.BattleController.takeTurn(BattleController.java:1370)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.BattleController.update(BattleController.java:575)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:273)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:13)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.__BattleTickHandler_tickStart_LevelTickEvent.invoke(.dynamic)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
at TRANSFORMER/forge@47.2.0/net.minecraftforge.event.ForgeEventFactory.onPostLevelTick(ForgeEventFactory.java:930)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:899)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:283)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251)
at java.base/java.lang.Thread.run(Thread.java:840)

[21:08:07] [Server thread/ERROR] [co.pi.pi.Pixelmon/]: Caught error in battle. Continuing...
java.lang.ClassCastException: class com.pixelmonmod.api.parsing.ParseAttempt cannot be cast to class com.pixelmonmod.api.Specification (com.pixelmonmod.api.parsing.ParseAttempt and com.pixelmonmod.api.Specification are in module pixelmon@9.2.3 of loader 'TRANSFORMER' @44ed0a8f)
at com.pixelmonmod.pixelmon.quests.objectives.objectives.entity.PokemonObjective.test(PokemonObjective. java:65) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.objectives.Objective.test(Objective.java:43) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.objectives.Objective.receive(Objective.java:61) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.storage.playerData.QuestData.receiveInternal(QuestData.java:94) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.storage.playerData.QuestData.receive(QuestData.java:110) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.listeners.EntityListeners.onKnockout(EntityListeners.java:99) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.listeners.__EntityListeners_onKnockout_PixelmonKnockoutEvent.invoke( .dynamic) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading,pl:eventbus:B}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.doBattleDamage(PixelmonWrap per.java:3201) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.attacks.Attack.executeAttackEffects(Attack.java:890) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.attacks.Attack.useAttackEffects(Attack.java:813) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.attacks.Attack.use(Attack.java:472) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.j ava:1028) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.j ava:950) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.takeTurn(PixelmonWrapper.ja va:1854) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.BattleController.takeTurn(BattleController.java:1370) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.BattleController.update(BattleController.java:575) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:273) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:13) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.__BattleTickHandler_tickStart_LevelTickEvent.invoke(.dynamic) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading,pl:eventbus:B}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.event.ForgeEventFactory.onPostLevelTick(ForgeEventFactory.java:930) ~[forge-1.20.1-47.2.0-universal.jar%23108!/:?] {re:classloading}
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:899) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:283) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:840) ~[?:?] {}
[21:08:07] [Server thread/ERROR] [co.pi.pi.Pixelmon/]: ===Too many errors detected in battle, force-ending===

I have tried to look up a few different things on Google but couldn't find anything to solve my problem. Does anyone know a fix to this?
 
Old 03-25-2024, 01:47 PM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
This seems to have been fixed in version 9.2.4. Install the newest.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I am trying to make a Minecraft Java Edition server on Debian 12 with mods ultimate_kidd Linux - Newbie 5 02-29-2024 05:19 PM
[SOLVED] Launch Minecraft and Minecraft server as non-root user Hasek39 Linux - General 4 01-04-2016 03:06 AM
Minecraft world trickery (and even minecraft on ipad) lhartvik LinuxQuestions.org Member Success Stories 2 05-28-2015 01:32 AM
LXer: GOL MineCraft Weekly. Grab Issue 2 Today, Linux Minecraft server LXer Syndicated Linux News 0 08-04-2013 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration