Jump to content

My modded server kicking me out


Lezzy

Recommended Posts

Please help me with this logs...
Description: Ticking entity

java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Boolean
    at drzhark.mocreatures.entity.MoCEntityTameableAquatic.getIsTamed(MoCEntityTameableAquatic.java:89)
    at drzhark.mocreatures.entity.MoCEntityTameableAquatic.func_70094_T(MoCEntityTameableAquatic.java:452)
    at net.minecraft.entity.EntityLivingBase.func_70030_z(EntityLivingBase.java:232)
    at net.minecraft.entity.EntityLiving.func_70030_z(EntityLiving.java:269)
    at drzhark.mocreatures.entity.MoCEntityAquatic.func_70030_z(MoCEntityAquatic.java:914)
    at net.minecraft.entity.Entity.func_70071_h_(Entity.java:389)
    at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2089)
    at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:377)
    at net.minecraft.world.World.func_72866_a(World.java:1993)
    at net.minecraft.world.World.func_72870_g(World.java:1955)
    at net.minecraft.world.World.func_72939_s(World.java:1759)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1846)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1097)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

Its kicking me out from my server why ?????????????????????

I have mocreatures mod, look at more logs: 

-- Head --
Thread: Client thread
Stacktrace:
    at drzhark.mocreatures.entity.MoCEntityTameableAquatic.getIsTamed(MoCEntityTameableAquatic.java:89)
    at drzhark.mocreatures.entity.MoCEntityTameableAquatic.func_70094_T(MoCEntityTameableAquatic.java:452)
    at net.minecraft.entity.EntityLivingBase.func_70030_z(EntityLivingBase.java:232)
    at net.minecraft.entity.EntityLiving.func_70030_z(EntityLiving.java:269)
    at drzhark.mocreatures.entity.MoCEntityAquatic.func_70030_z(MoCEntityAquatic.java:914)
    at net.minecraft.entity.Entity.func_70071_h_(Entity.java:389)
    at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2089)
    at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:377)
    at net.minecraft.world.World.func_72866_a(World.java:1993)
    at net.minecraft.world.World.func_72870_g(World.java:1955)

-- Entity being ticked --
Details:
    Entity Type: mocreatures:shark (drzhark.mocreatures.entity.aquatic.MoCEntityShark)
    Entity ID: 1226
    Entity Name: Shark
    Entity's Exact location: -144.50, 24.00, 214.50
    Entity's Block location: World: (-145,24,214), Chunk: (at 15,1,6 in -10,13; contains blocks -160,0,208 to -145,255,223), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Entity's Momentum: 0.00, -0.08, 0.00
    Entity's Passengers: []
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.world.World.func_72939_s(World.java:1759)

..And its more and more and more... i think problem is with mocreatures mod but i really want it to my server, what should i do with these logs ?

Edited by Lezzy
Link to comment
Share on other sites

4 minutes ago, diesieben07 said:

This is caused by mods adding stuff to entities they do not own in an improper way (mainly EntityDataManager entries). It could be any one of the mods you have installed, most likely it is not MoCreatures.

I just have betterpvp,biomesoplenty,bookshelf,decocraft,mobends,mocreatures,ptrlib,rikmuldscore,twilightforest, which one i should uninstal ? I srlsy want to play mocreatures and other adventures mod, why i must have these errors..

Link to comment
Share on other sites

I don't know which mod it is, it could be any of them.

By the way, which Minecraft version are you running?

 

1 minute ago, Lezzy said:

why i must have these errors..

Unfortunately, because mod authors are often idiots. This error has been known for a long while, but people still do this wrong.

  • Like 1
Link to comment
Share on other sites

2 minutes ago, diesieben07 said:

I don't know which mod it is, it could be any of them.

By the way, which Minecraft version are you running?

 

Unfortunately, because mod authors are often idiots. This error has been known for a long while, but people still do this wrong.

I just have 1.12.2 and everything is good but this crash is terrible.. i srlsy want to play with my friend, i should delete one of mod and check if error comes again ?

Link to comment
Share on other sites

1 minute ago, Lezzy said:

hope it will be not mocreatures or twilight forest ;/ I really want to play this modds, but yeah i will take out mods one by one like you said, we will see what next in a 20 min :)

Due to the nature of this error, if you take out, say, mocreatures, the error might go away. However, the error is not caused by MoCreatures, it is caused by some other (unknown) mod messing with MoCreatures entities.

  • Like 1
Link to comment
Share on other sites

Problem is if i take out one mod i have error telling. There are 10 missing entries in this save.And i cant enter the server and i'm afraid if i will play and build idk a house and just playing like few hours and error show up soo i must delete whole world ;/

Link to comment
Share on other sites

Description: Ticking entity

java.lang.ClassCastException: com.google.common.base.Present cannot be cast to java.lang.Boolean
    at mca.actions.ActionProcreate.getIsProcreating(ActionProcreate.java:112)
    at mca.actions.ActionProcreate.onUpdateClient(ActionProcreate.java:38)
    at mca.entity.VillagerBehaviors.onUpdate(VillagerBehaviors.java:90)
    at mca.entity.EntityVillagerMCA.func_70071_h_(EntityVillagerMCA.java:178)
    at net.minecraft.world.World.func_72866_a(World.java:1993)
    at net.minecraft.world.World.func_72870_g(World.java:1955)
    at net.minecraft.world.World.func_72939_s(World.java:1759)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1846)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1097)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- Head --
Thread: Client thread
Stacktrace:
    at mca.actions.ActionProcreate.getIsProcreating(ActionProcreate.java:112)
    at mca.actions.ActionProcreate.onUpdateClient(ActionProcreate.java:38)
    at mca.entity.VillagerBehaviors.onUpdate(VillagerBehaviors.java:90)
    at mca.entity.EntityVillagerMCA.func_70071_h_(EntityVillagerMCA.java:178)
    at net.minecraft.world.World.func_72866_a(World.java:1993)
    at net.minecraft.world.World.func_72870_g(World.java:1955)

-- Entity being ticked --
Details:
    Entity Type: mca:villagermca (mca.entity.EntityVillagerMCA)
    Entity ID: 56583
    Entity Name: Steve
    Entity's Exact location: -189.33, 63.94, 165.30
    Entity's Block location: World: (-190,63,165), Chunk: (at 2,3,5 in -12,10; contains blocks -192,0,160 to -177,255,175), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Entity's Momentum: 0.00, -0.08, 0.00
    Entity's Passengers: []
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.world.World.func_72939_s(World.java:1759)

-- Affected level --
Details:
    Level name: MpServer
    All players: 2 total; [EntityPlayerSP['Dupplee'/74741, l='MpServer', x=8.50, y=65.00, z=8.50], EntityOtherPlayerMP['1Lezzy'/26318, l='MpServer', x=-65.59, y=64.00, z=32.89]]
    Chunk stats: MultiplayerChunkCache: 173, 173
    Level seed: 0
    Level generator: ID 06 - BIOMESOP, ver 0. Features enabled: false
    Level generator options: 
    Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 0 game time, 0 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    Forced entities: 76 total; [EntityPlayerSP['Dupplee'/74741, l='MpServer', x=8.50, y=65.00, z=8.50], EntityCreeper['Creeper'/73346, l='MpServer', x=-108.50, y=32.00, z=54.50], EntitySkeleton['Szkielet'/74757, l='MpServer', x=-181.50, y=22.00, z=60.50], EntitySlime['Szlam'/74756, l='MpServer', x=-179.64, y=22.12, z=63.79], EntityWolf['Wilk'/54918, l='MpServer', x=-90.50, y=71.00, z=73.34], EntityVillagerMCA['Steve'/56583, l='MpServer', x=-189.33, y=63.94, z=165.30], EntityCreeper['Creeper'/74248, l='MpServer', x=-91.50, y=30.00, z=134.50], EntityBat['Nietoperz'/73100, l='MpServer', x=-179.98, y=28.17, z=48.02], EntityCow['Krowa'/74767, l='MpServer', x=-208.50, y=82.00, z=192.50], EntityCow['Krowa'/74766, l='MpServer', x=-208.50, y=82.00, z=194.50], EntityWitch['Wiedźma'/74513, l='MpServer', x=-159.50, y=52.00, z=83.50], EntityZombie['Zombie'/74384, l='MpServer', x=-115.50, y=12.00, z=40.50], EntityWitch['Wiedźma'/74514, l='MpServer', x=-157.50, y=52.00, z=81.50], EntitySpider['Pająk'/74644, l='MpServer', x=-166.50, y=52.00, z=94.50], EntityCreeper['Creeper'/74013, l='MpServer', x=-145.85, y=25.00, z=52.41], EntityChicken['Kura'/57631, l='MpServer', x=-209.50, y=70.00, z=172.50], EntityChicken['Kura'/57632, l='MpServer', x=-210.50, y=71.00, z=173.50], EntityChicken['Kura'/57633, l='MpServer', x=-211.50, y=70.00, z=172.50], EntityBat['Nietoperz'/74528, l='MpServer', x=-90.32, y=60.07, z=110.26], EntityChicken['Kura'/57634, l='MpServer', x=-213.50, y=70.00, z=173.50], EntitySheep['Owca'/57637, l='MpServer', x=-212.50, y=63.00, z=47.50], EntityChicken['Kura'/52773, l='MpServer', x=-135.50, y=70.00, z=163.50], EntitySheep['Owca'/57638, l='MpServer', x=-209.20, y=64.00, z=43.64], EntityCreeper['Creeper'/71463, l='MpServer', x=-166.04, y=49.00, z=78.66], EntityChicken['Kura'/52774, l='MpServer', x=-133.50, y=69.00, z=163.50], EntityChicken['Kura'/52775, l='MpServer', x=-132.50, y=68.00, z=163.50], EntityChicken['Kura'/52776, l='MpServer', x=-135.50, y=69.00, z=162.50], EntityCreeper['Creeper'/74286, l='MpServer', x=-154.50, y=12.00, z=60.50], EntityZombie['Zombie'/74673, l='MpServer', x=-168.50, y=15.00, z=177.50], EntitySheep['Owca'/54832, l='MpServer', x=-135.50, y=68.00, z=76.73], EntitySheep['Owca'/54833, l='MpServer', x=-135.50, y=66.00, z=79.45], EntityVillagerMCA['Steve'/53938, l='MpServer', x=-162.27, y=71.00, z=157.51], EntitySheep['Owca'/54834, l='MpServer', x=-131.82, y=66.00, z=93.50], EntitySheep['Owca'/54835, l='MpServer', x=-138.50, y=64.00, z=82.50], EntityCow['Krowa'/74681, l='MpServer', x=-210.50, y=81.00, z=190.50], EntityCreeper['Creeper'/74169, l='MpServer', x=-116.50, y=17.00, z=102.50], EntityCow['Krowa'/74680, l='MpServer', x=-210.50, y=81.00, z=189.50], EntityCreeper['Creeper'/74168, l='MpServer', x=-115.50, y=17.00, z=106.50], EntityChicken['Kura'/74683, l='MpServer', x=-199.50, y=74.00, z=176.50], EntityChicken['Kura'/74682, l='MpServer', x=-199.50, y=74.00, z=176.50], EntitySquid['Kałamarnica'/71738, l='MpServer', x=-169.27, y=61.57, z=74.30], EntityChicken['Kura'/74684, l='MpServer', x=-192.40, y=71.00, z=176.25], EntitySpider['Pająk'/73792, l='MpServer', x=-155.14, y=53.00, z=80.12], EntityZombie['Zombie'/72387, l='MpServer', x=-162.50, y=18.00, z=73.50], EntityZombieVillager['Osadnik zombie'/73795, l='MpServer', x=-153.50, y=54.00, z=74.74], EntityCreeper['Creeper'/72907, l='MpServer', x=-175.50, y=37.00, z=77.50], EntityOtherPlayerMP['1Lezzy'/26318, l='MpServer', x=-65.59, y=64.00, z=32.89], EntitySkeleton['Szkielet'/73674, l='MpServer', x=-147.50, y=28.00, z=54.50], EntityOtherPlayerMP['1Lezzy'/26318, l='MpServer', x=-65.59, y=64.00, z=32.89], EntitySheep['Owca'/54351, l='MpServer', x=-130.73, y=64.00, z=116.55], EntitySheep['Owca'/54352, l='MpServer', x=-139.18, y=63.00, z=102.55], EntitySheep['Owca'/54353, l='MpServer', x=-143.48, y=63.00, z=113.77], EntityCow['Krowa'/54354, l='MpServer', x=-138.53, y=64.00, z=98.80], EntityCow['Krowa'/54355, l='MpServer', x=-135.77, y=64.00, z=100.50], EntityCow['Krowa'/54356, l='MpServer', x=-144.63, y=63.00, z=115.46], EntityCow['Krowa'/54357, l='MpServer', x=-142.99, y=64.00, z=104.22], EntityZombie['Zombie'/74455, l='MpServer', x=-121.52, y=62.00, z=91.24], EntityZombie['Zombie'/74456, l='MpServer', x=-121.50, y=62.00, z=88.50], EntitySquid['Kałamarnica'/73951, l='MpServer', x=-184.95, y=61.03, z=56.97], EntitySkeleton['Szkielet'/74214, l='MpServer', x=-152.50, y=16.00, z=92.50], EntityItem['item.item.dyePowder.black'/72809, l='MpServer', x=-143.06, y=55.00, z=87.14], EntityItem['item.item.reeds'/71912, l='MpServer', x=-154.25, y=63.00, z=135.69], EntityCreeper['Creeper'/74733, l='MpServer', x=-164.50, y=52.00, z=97.50], EntityCow['Krowa'/57325, l='MpServer', x=-201.13, y=67.00, z=141.82], EntityCow['Krowa'/57326, l='MpServer', x=-195.60, y=67.00, z=148.59], EntityCow['Krowa'/57327, l='MpServer', x=-196.50, y=68.00, z=151.50], EntityCow['Krowa'/57328, l='MpServer', x=-203.52, y=69.00, z=158.19], EntitySpider['Pająk'/73969, l='MpServer', x=-92.50, y=17.00, z=129.50], EntityChicken['Kura'/57330, l='MpServer', x=-198.50, y=71.00, z=172.50], EntityBat['Nietoperz'/74098, l='MpServer', x=-158.11, y=20.09, z=68.62], EntitySheep['Owca'/57333, l='MpServer', x=-206.52, y=63.00, z=42.66], EntitySpider['Pająk'/73719, l='MpServer', x=-146.50, y=23.00, z=56.50], EntityBat['Nietoperz'/74105, l='MpServer', x=-99.82, y=26.76, z=133.25], EntityZombie['Zombie'/73720, l='MpServer', x=-147.50, y=23.00, z=55.50], EntitySquid['Kałamarnica'/74621, l='MpServer', x=-152.86, y=61.85, z=98.62], EntitySquid['Kałamarnica'/74622, l='MpServer', x=-160.69, y=61.24, z=96.66]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Non-integrated multiplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:532)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2740)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:418)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

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
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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Use java 17. Mixin does not support java 20 (which only came out last week).
    • From what I understand (which might be incorrect, I am not an expert on this), it doesn't use the local client registry for those registries that have data sent from a multiplayer server. SoundEvents is one of those registries. So in multiplayer your SoundEvent effectively won't exist unless it is also registered on the server?   The logic can be found here (and its related methods): https://github.com/MinecraftForge/MinecraftForge/blob/bb49b9e6dc7525ae0fa935abf6eec18b36091bd6/src/main/java/net/minecraftforge/registries/GameData.java#L656
    • This comes up when i press start server and i have no idea what to do about it   2023-03-25 20:41:34,650 main WARN Advanced terminal features are not available in this environment [20:41:34] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.2.8, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [20:41:34] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 20 by Oracle Corporation; OS Windows 11 arch amd64 version 10.0 [20:41:35] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/conor/OneDrive/Desktop/CRezate%20server/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [20:41:35] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\conor\OneDrive\Desktop\CRezate server\libraries\net\minecraftforge\fmlcore\1.19.2-43.2.8\fmlcore-1.19.2-43.2.8.jar is missing mods.toml file [20:41:35] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\conor\OneDrive\Desktop\CRezate server\libraries\net\minecraftforge\javafmllanguage\1.19.2-43.2.8\javafmllanguage-1.19.2-43.2.8.jar is missing mods.toml file [20:41:35] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\conor\OneDrive\Desktop\CRezate server\libraries\net\minecraftforge\lowcodelanguage\1.19.2-43.2.8\lowcodelanguage-1.19.2-43.2.8.jar is missing mods.toml file [20:41:35] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\conor\OneDrive\Desktop\CRezate server\libraries\net\minecraftforge\mclanguage\1.19.2-43.2.8\mclanguage-1.19.2-43.2.8.jar is missing mods.toml file [20:41:35] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: flywheel. Using Mod File: C:\Users\conor\OneDrive\Desktop\CRezate server\mods\flywheel-forge-1.19.2-0.6.8.a.jar [20:41:35] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 1 dependencies adding them to mods collection [20:41:36] [main/INFO] [mixin/]: Compatibility level set to JAVA_17 [20:41:36] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments [] [20:41:36] [main/WARN] [mixin/]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 64) [20:41:36] [main/WARN] [mixin/]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 64) [20:41:36] [main/WARN] [mixin/]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 64) [20:41:36] [main/WARN] [mixin/]: Error loading class: java/util/Map$Entry (java.lang.IllegalArgumentException: Unsupported class file major version 64) [20:41:36] [main/WARN] [mixin/]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 64) [20:41:36] [main/WARN] [mixin/]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 64) [20:41:36] [main/WARN] [mixin/]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 64) [20:41:36] [main/WARN] [mixin/]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 64) [20:41:36] [main/WARN] [mixin/]: Error loading class: java/util/Map$Entry (java.lang.IllegalArgumentException: Unsupported class file major version 64) [20:41:36] [main/WARN] [mixin/]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 64) [20:41:36] [main/WARN] [mixin/]: Error loading class: java/util/concurrent/CompletableFuture (java.lang.IllegalArgumentException: Unsupported class file major version 64) Exception in thread "main" java.lang.RuntimeException: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:32)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)         at cpw.mods.bootstraplauncher@1.1.2/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50)         at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113)         at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219)         at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229)         at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219)         at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135)         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)         at java.base/java.lang.Class.getDeclaredMethods0(Native Method)         at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3502)         at java.base/java.lang.Class.getMethodsRecursive(Class.java:3643)         at java.base/java.lang.Class.getMethod0(Class.java:3629)         at java.base/java.lang.Class.getMethod(Class.java:2319)         at MC-BOOTSTRAP/fmlloader@1.19.2-43.2.8/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:29)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)         Caused by: org.spongepowered.asm.mixin.throwables.ClassMetadataNotFoundException: java.util.concurrent.CompletableFuture         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transformMethod(MixinPreProcessorStandard.java:754)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transform(MixinPreProcessorStandard.java:739)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:310)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:280)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1288)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
    • Hey, guys. I'm trying to play a sound in a mod, which is client-only. It works fine with single-player saves, but when trying to use in on a real multiplayer server (without installing the mod on server of course), I'm getting a crash: Here's the code: Registration: public class Sounds { public static final DeferredRegister<SoundEvent> SOUNDS = DeferredRegister.create(ForgeRegistries.SOUND_EVENTS, TrovoGration.MOD_ID); public static final RegistryObject<SoundEvent> SOUND_ACTION_NEGATIVE = SOUNDS.register("negative_action", () -> new SoundEvent(new ResourceLocation(TrovoGration.MOD_ID,"negative_action"))); public static final RegistryObject<SoundEvent> SOUND_ACTION_POSITIVE = SOUNDS.register("positive_action", () -> new SoundEvent(new ResourceLocation(TrovoGration.MOD_ID,"positive_action"))); public static final RegistryObject<SoundEvent> SOUND_COOLDOWN_START = SOUNDS.register("cooldown_start", () -> new SoundEvent(new ResourceLocation(TrovoGration.MOD_ID,"cooldown_start"))); public static final RegistryObject<SoundEvent> SOUND_COOLDOWN_END = SOUNDS.register("cooldown_end", () -> new SoundEvent(new ResourceLocation(TrovoGration.MOD_ID,"cooldown_end"))); } Main class constructor: public TrovoGration(){ Sounds.SOUNDS.register(FMLJavaModLoadingContext.get().getModEventBus()); } Play code: LocalPlayer player ... ; player.playSound(Sounds.SOUND_ACTION_NEGATIVE.get(), 0.7f, 1.0f); sounds.json: { "positive_action": { "category": "record", "subtitle": "trovogration.subtitle.positive_action", "sounds": [ "trovogration:positive_action" ] }, "negative_action": { "category": "record", "subtitle": "trovogration.subtitle.negative_action", "sounds": [ "trovogration:negative_action" ] }, "cooldown_start": { "category": "record", "subtitle": "trovogration.subtitle.cooldown_start", "sounds": [ "trovogration:cooldown_start" ] }, "cooldown_end": { "category": "record", "subtitle": "trovogration.subtitle.cooldown_end", "sounds": [ "trovogration:cooldown_end" ] } } Help!!
  • Topics

×
×
  • Create New...

Important Information

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