Jump to content

Recommended Posts

Posted

---- Minecraft Crash Report ----

WARNING: coremods are present:
  LoadingPlugin (RandomThings-MC1.12.2-4.2.7.4.jar)
  ForgelinPlugin (Forgelin-1.8.4.jar)
  MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar)
  OpenModsCorePlugin (OpenModsLib-1.12.2-0.12.2.jar)
  CXLibraryCore (cxlibrary-1.12.1-1.6.1.jar)
  CorePlugin (ForgeEndertech-1.12.2-4.5.5.0-build.0561.jar)
  ApotheosisCore (Apotheosis-1.12.2-1.12.5.jar)
  iceandfire (iceandfire-1.9.1-1.12.2.jar)
  Plugin (NotEnoughIDs-1.5.4.4.jar)
  llibrary (llibrary-core-1.0.11-1.12.2.jar)
  AstralCore (astralsorcery-1.12.2-1.10.27.jar)
  EnderCorePlugin (EnderCore-1.12.2-0.5.76-core.jar)
  SecretRoomsMod-Core (secretroomsmod-1.12.2-5.6.4.jar)
  MalisisCorePlugin (malisiscore-1.12.2-6.5.1.jar)
  TLSkinCapeHookLoader (tlskincape1.12.2-1.4.jar)
  FutureMC (future-mc-1.12.2-0.2.6.1.jar)
Contact their authors BEFORE contacting forge

// This doesn't make any sense!

Time: 6/2/21 3:56 AM
Description: Exception in server tick loop

net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/block/model/IBakedModel
    at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:89)
    at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:612)
    at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
    at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
    at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
    at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
    at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
    at com.google.common.eventbus.EventBus.post(EventBus.java:217)
    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
    at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
    at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
    at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
    at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
    at com.google.common.eventbus.EventBus.post(EventBus.java:217)
    at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
    at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:595)
    at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98)
    at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333)
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/block/model/IBakedModel
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
    at java.lang.Class.privateGetPublicMethods(Unknown Source)
    at java.lang.Class.getMethods(Unknown Source)
    at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:82)
    at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:82)
    ... 31 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.block.model.IBakedModel
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 37 more
Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@756b58a7 from coremod FMLCorePlugin
    at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:260)
    at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
    ... 39 more
Caused by: java.lang.RuntimeException: Attempted to load class cfy for invalid side SERVER
    at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:62)
    at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:256)
    ... 41 more


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

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_291, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 9657567312 bytes (9210 MB) / 10153885696 bytes (9683 MB) up to 10153885696 bytes (9683 MB)
    JVM Flags: 2 total; -Xmx10240M -Xms10240M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.5.2855 213 mods loaded, 213 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State | ID                                | Version                  | Source                                             | Signature                                |
    |:----- |:--------------------------------- |:------------------------ |:-------------------------------------------------- |:---------------------------------------- |
    | LC    | minecraft                         | 1.12.2                   | minecraft.jar                                      | None                                     |
    | LC    | mcp                               | 9.42                     | minecraft.jar                                      | None                                     |
    | LC    | FML                               | 8.0.99.99                | server.jar                                         | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LC    | forge                             | 14.23.5.2855             | server.jar                                         | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LC    | openmodscore                      | 0.12.2                   | minecraft.jar                                      | None                                     |
    | LC    | srm-hooks                         | 1.12.2-1.0.0             | minecraft.jar                                      | None                                     |
    | LC    | bspkrscore                        | 8.0.0                    | [1.12.2]bspkrscore-universal-8.0.1.jar             | None                                     |
    | LC    | armorstatushud                    | 1.30                     | [1.12.2]+Armor+Status+HUD+v1.3.0.jar               | None                                     |
    | LC    | damageindicatorsmod               | 1.0                      | [1.12.2]DamageIndicatorsMod-3.5.1.jar              | None                                     |
    | LC    | movillages                        | 1.5.4                    | [1.12]MoVillages-1.5.4.jar                         | None                                     |
    | LC    | actuallyadditions                 | 1.12.2-r152              | ActuallyAdditions-1.12.2-r152.jar                  | None                                     |
    | LC    | forgeendertech                    | 1.12.2-4.5.5.0           | ForgeEndertech-1.12.2-4.5.5.0-build.0561.jar       | None                                     |
    | LC    | adlods                            | 1.12.2-1.0.8.0           | AdLods-1.12.2-1.0.8.0-build.0504.jar               | None                                     |
    | LC    | appliedenergistics2               | rv6-stable-7             | appliedenergistics2-rv6-stable-7.jar               | dfa4d3ac143316c6f32aa1a1beda1e34d42132e5 |
    | LC    | bdlib                             | 1.14.3.12                | bdlib-1.14.3.12-mc1.12.2.jar                       | None                                     |
    | LC    | ae2stuff                          | 0.7.0.4                  | ae2stuff-0.7.0.4-mc1.12.2.jar                      | None                                     |
    | LC    | baubles                           | 1.5.2                    | Baubles-1.12-1.5.2.jar                             | None                                     |
    | LC    | endercore                         | 1.12.2-0.5.76            | EnderCore-1.12.2-0.5.76.jar                        | None                                     |
    | LC    | jei                               | 4.16.1.302               | jei_1.12.2-4.16.1.302.jar                          | None                                     |
    | LC    | thaumcraft                        | 6.1.BETA26               | Thaumcraft_1.12.2_6.1.BETA26.jar                   | None                                     |
    | LC    | codechickenlib                    | 3.2.3.358                | CodeChickenLib-1.12.2-3.2.3.358-universal.jar      | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
    | LC    | redstoneflux                      | 2.1.1                    | RedstoneFlux-1.12-2.1.1.1-universal.jar            | None                                     |
    | LC    | cofhcore                          | 4.6.6                    | CoFHCore-1.12.2-4.6.6.1-universal.jar              | None                                     |
    | LC    | brandonscore                      | 2.4.19                   | BrandonsCore-1.12.2-2.4.19.214-universal.jar       | None                                     |
    | LC    | cofhworld                         | 1.4.0                    | CoFHWorld-1.12.2-1.4.0.1-universal.jar             | None                                     |
    | LC    | thermalfoundation                 | 2.6.7                    | ThermalFoundation-1.12.2-2.6.7.1-universal.jar     | None                                     |
    | LC    | draconicevolution                 | 2.3.27                   | Draconic-Evolution-1.12.2-2.3.27.353-universal.jar | None                                     |
    | LC    | thermalexpansion                  | 5.5.7                    | ThermalExpansion-1.12.2-5.5.7.1-universal.jar      | None                                     |
    | LC    | enderio                           | 5.3.70                   | EnderIO-1.12.2-5.3.70.jar                          | None                                     |
    | LC    | mantle                            | 1.12-1.3.3.55            | Mantle-1.12-1.3.3.55.jar                           | None                                     |
    | LC    | chisel                            | MC1.12.2-1.0.2.45        | Chisel-MC1.12.2-1.0.2.45.jar                       | None                                     |
    | LC    | enderiointegrationtic             | 5.3.70                   | EnderIO-1.12.2-5.3.70.jar                          | None                                     |
    | LC    | twilightforest                    | 3.11.1021                | twilightforest-1.12.2-3.11.1021-universal.jar      | None                                     |
    | LC    | tconstruct                        | 1.12.2-2.13.0.183        | TConstruct-1.12.2-2.13.0.183.jar                   | None                                     |
    | LC    | p455w0rdslib                      | 2.3.161                  | p455w0rdslib-1.12.2-2.3.161.jar                    | 186bc454cd122c9c2f1aa4f95611254bcc543363 |
    | LC    | ae2wtlib                          | 1.0.34                   | AE2WTLib-1.12.2-1.0.34.jar                         | 186bc454cd122c9c2f1aa4f95611254bcc543363 |
    | LC    | extrautils2                       | 1.0                      | extrautils2-1.12-1.9.9.jar                         | None                                     |
    | LC    | flyringbaublemod                  | 0.3.1_1.12-d4e654e       | angelRingToBauble-1.12-0.3.1.50+d4e654e.jar        | None                                     |
    | LC    | placebo                           | 1.6.0                    | Placebo-1.12.2-1.6.0.jar                           | None                                     |
    | LC    | apotheosis                        | 1.12.4                   | Apotheosis-1.12.2-1.12.5.jar                       | None                                     |
    | LC    | architecturecraft                 | @VERSION@                | architecturecraft-1.12-3.98.jar                    | None                                     |
    | LC    | crafttweaker                      | 4.1.20                   | CraftTweaker2-1.12-4.1.20.646.jar                  | None                                     |
    | LC    | astralsorcery                     | 1.10.27                  | astralsorcery-1.12.2-1.10.27.jar                   | a0f0b759d895c15ceb3e3bcb5f3c2db7c582edf0 |
    | LC    | morphtool                         | 1.2-21                   | Morph-o-Tool-1.2-21.jar                            | None                                     |
    | LC    | autoreglib                        | 1.3-32                   | AutoRegLib-1.3-32.jar                              | None                                     |
    | LC    | avaritia                          | 3.3.0                    | Avaritia-1.12.2-3.3.0.37-universal.jar             | None                                     |
    | LC    | botania                           | r1.10-363                | Botania+r1.10-363.jar                              | None                                     |
    | LC    | avaritiatweaks                    | @VERSION@                | Avaritia's+Complement-1.12.2-1.4.jar               | None                                     |
    | LC    | wanionlib                         | 1.12.2-2.5               | WanionLib-1.12.2-2.5.jar                           | None                                     |
    | LC    | avaritiaddons                     | 1.12.2-1.2               | Avaritiaddons-1.12.2-1.2.jar                       | None                                     |
    | LC    | avaritiaio                        | @VERSION@                | avaritiaio-1.4.jar                                 | None                                     |
    | LC    | backpack                          | 3.0.2                    | backpack-3.0.2-1.12.2.jar                          | None                                     |
    | LC    | betterbuilderswands               | 0.13.2                   | BetterBuildersWands-1.12.2-0.13.2.271+5997513.jar  | None                                     |
    | LC    | bibliocraft                       | 2.4.5                    | BiblioCraft[v2.4.5][MC1.12.2].jar                  | None                                     |
    | LC    | biomesoplenty                     | 7.0.1.2444               | BiomesOPlenty-1.12.2-7.0.1.2444-universal.jar      | None                                     |
    | LC    | byg                               | 1.7.2                    | BiomesYouGo_1.7.2.jar                              | None                                     |
    | LC    | blockarmor                        | 2.4.12                   | BlockArmor-1.12.2-2.4.12.jar                       | None                                     |
    | LC    | blockcraftery                     | 1.12.2-1.3.1             | blockcraftery-1.12.2-1.3.1.jar                     | None                                     |
    | LC    | cyclicmagic                       | 1.20.8                   | Cyclic-1.12.2-1.20.9.jar                           | 0e5cb559be7d03f3fc18b8cba547d663e25f28af |
    | LC    | guideapi                          | 1.12-2.1.8-63            | Guide-API-1.12-2.1.8-63.jar                        | None                                     |
    | LC    | bloodmagic                        | 1.12.2-2.4.3-105         | BloodMagic-1.12.2-2.4.3-105.jar                    | None                                     |
    | LC    | bonsaitrees                       | 1.1.4                    | bonsaitrees-1.1.4-b170.jar                         | None                                     |
    | LC    | bookshelf                         | 2.3.590                  | Bookshelf-1.12.2-2.3.590.jar                       | d476d1b22b218a10d845928d1665d45fce301b27 |
    | LC    | bountifulbaubles                  | 0.0.1                    | Bountiful+Baubles-1.12.2-0.1.6.jar                 | None                                     |
    | LC    | carpentersblocks                  | 3.4.0-poc.6              | Carpenter's Blocks v3.4.0-poc.6 - MC 1.12.2.jar    | None                                     |
    | LC    | carryon                           | 1.12.3                   | carryon-1.12.2-1.12.4.16.jar                       | fd21553434f4905f2f73ea7838147ac4ea07bd88 |
    | LC    | chameleon                         | 1.12-4.1.3               | Chameleon-1.12-4.1.3.jar                           | None                                     |
    | LC    | chickenchunks                     | 2.4.2.74                 | ChickenChunks-1.12.2-2.4.2.74-universal.jar        | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
    | LC    | chickens                          | 6.1.0                    | chickens-6.1.0.jar                                 | None                                     |
    | LC    | chiselsandbits                    | 14.33                    | chiselsandbits-14.33.jar                           | None                                     |
    | LC    | clib                              | 1.0.2.31                 | CLib-1.0.2.31-universal.jar                        | None                                     |
    | LC    | clumps                            | 3.1.2                    | Clumps-3.1.2.jar                                   | None                                     |
    | LC    | collective                        | 2.26                     | collective-1.12.2-2.26.jar                         | None                                     |
    | LC    | cyclopscore                       | 1.6.7                    | CyclopsCore-1.12.2-1.6.7.jar                       | bd0353b3e8a2810d60dd584e256e364bc3bedd44 |
    | LC    | commoncapabilities                | 2.4.8                    | CommonCapabilities-1.12.2-2.4.8.jar                | bd0353b3e8a2810d60dd584e256e364bc3bedd44 |
    | LC    | colossalchests                    | 1.7.3                    | ColossalChests-1.12.2-1.7.3.jar                    | bd0353b3e8a2810d60dd584e256e364bc3bedd44 |
    | LC    | compactmachines3                  | 3.0.18                   | compactmachines3-1.12.2-3.0.18-b278.jar            | None                                     |
    | LC    | conarm                            | 1.2.5.10                 | conarm-1.12.2-1.2.5.10.jar                         | b33d2c8df492beff56d1bbbc92da49b8ab7345a1 |
    | LC    | cookingforblockheads              | 6.5.0                    | CookingForBlockheads_1.12.2-6.5.0.jar              | None                                     |
    | LC    | crackedzombiemod                  | 3.8.1                    | crackedzombiemod-1.12.2-3.8.1-95.jar               | None                                     |
    | LC    | craftingtweaks                    | 8.1.9                    | CraftingTweaks_1.12.2-8.1.9.jar                    | None                                     |
    | LC    | crafttweakerjei                   | 2.0.3                    | CraftTweaker2-1.12-4.1.20.646.jar                  | None                                     |
    | LC    | cucumber                          | 1.1.3                    | Cucumber-1.12.2-1.1.3.jar                          | None                                     |
    | LC    | cxlibrary                         | 1.6.1                    | cxlibrary-1.12.1-1.6.1.jar                         | None                                     |
    | LC    | waila                             | 1.8.26                   | Hwyla-1.8.26-B41_1.12.2.jar                        | None                                     |
    | LC    | darkutils                         | 1.8.230                  | DarkUtils-1.12.2-1.8.230.jar                       | d476d1b22b218a10d845928d1665d45fce301b27 |
    | LC    | props                             | 2.6.3                    | Decocraft-2.6.3_1.12.2.jar                         | None                                     |
    | LC    | patchouli                         | 1.0-23.6                 | Patchouli-1.0-23.6.jar                             | None                                     |
    | LC    | deepmoblearning                   | 1.12.2-2.5.4             | deepmoblearning-1.12.2-2.5.4-universal.jar         | None                                     |
    | LC    | doggytalents                      | 1.15.1.6                 | DoggyTalents-1.12.2-1.15.1.6.jar                   | None                                     |
    | LC    | doubledoors                       | 1.2                      | doubledoors_1.12-1.2.jar                           | None                                     |
    | LE    | doubleslabs                       | 0.11.0                   | DoubleSlabs-1.12-0.11.0.jar                        | None                                     |
    | L     | draconicadditions                 | 1.16.4                   | Draconic-Additions-1.12.2-1.16.4.44-universal.jar  | None                                     |
    | L     | dragonmounts                      | 1.12.2-1.6.3             | DragonMounts2-1.12.2-1.6.3.jar                     | None                                     |
    | L     | ebwizardry                        | 4.3.4                    | ElectroblobsWizardry-4.3.4-MC1.12.2.jar            | None                                     |
    | L     | elevatorid                        | 1.3.14                   | ElevatorMod-1.12.2-1.3.14.jar                      | None                                     |
    | L     | eplus                             | 5.0.179                  | EnchantingPlus-1.12.2-5.0.179.jar                  | None                                     |
    | L     | enderiobase                       | 5.3.70                   | EnderIO-1.12.2-5.3.70.jar                          | None                                     |
    | L     | enderioconduits                   | 5.3.70                   | EnderIO-1.12.2-5.3.70.jar                          | None                                     |
    | L     | enderioconduitsappliedenergistics | 5.3.70                   | EnderIO-1.12.2-5.3.70.jar                          | None                                     |
    | L     | enderioconduitsopencomputers      | 5.3.70                   | EnderIO-1.12.2-5.3.70.jar                          | None                                     |
    | L     | enderioconduitsrefinedstorage     | 5.3.70                   | EnderIO-1.12.2-5.3.70.jar                          | None                                     |
    | L     | enderiointegrationforestry        | 5.3.70                   | EnderIO-1.12.2-5.3.70.jar                          | None                                     |
    | L     | enderiointegrationticlate         | 5.3.70                   | EnderIO-1.12.2-5.3.70.jar                          | None                                     |
    | L     | enderioinvpanel                   | 5.3.70                   | EnderIO-1.12.2-5.3.70.jar                          | None                                     |
    | L     | ftblib                            | 5.4.7.2                  | FTBLib-5.4.7.2.jar                                 | None                                     |
    | L     | enderiomachines                   | 5.3.70                   | EnderIO-1.12.2-5.3.70.jar                          | None                                     |
    | L     | enderiopowertools                 | 5.3.70                   | EnderIO-1.12.2-5.3.70.jar                          | None                                     |
    | L     | enderstorage                      | 2.4.6.137                | EnderStorage-1.12.2-2.4.6.137-universal.jar        | None                                     |
    | L     | erebus                            | 1.0.32                   | Erebus-1.0.32.jar                                  | None                                     |
    | L     | motnt                             | 1.0.1                    | EvenMoreTNT-1.0.1.jar                              | None                                     |
    | L     | everyonepoops                     | 1.2.5                    | everyone_poops-1.2.5.jar                           | None                                     |
    | L     | extracells                        | 2.6.5                    | ExtraCells-1.12.2-2.6.5.jar                        | None                                     |
    | L     | extracpus                         | 1.1.0                    | extracpus-1.12.2-1.1.0.jar                         | None                                     |
    | L     | golems                            | 7.1.9                    | ExtraGolems-1.12-7.1.9.jar                         | None                                     |
    | L     | zerocore                          | 1.12.2-0.1.2.9           | zerocore-1.12.2-0.1.2.9.jar                        | None                                     |
    | L     | bigreactors                       | 1.12.2-0.4.5.68          | ExtremeReactors-1.12.2-0.4.5.68.jar                | None                                     |
    | L     | fastleafdecay                     | v14                      | FastLeafDecay-v14.jar                              | None                                     |
    | L     | fluxnetworks                      | 4.1.0                    | FluxNetworks-1.12.2-4.1.1.34.jar                   | None                                     |
    | L     | forgelin                          | 1.8.4                    | Forgelin-1.8.4.jar                                 | None                                     |
    | L     | ftbutilities                      | 5.4.1.131                | FTBUtilities-5.4.1.131.jar                         | None                                     |
    | L     | itemfilters                       | 1.0.4.2                  | ItemFilters-1.0.4.2.jar                            | None                                     |
    | L     | ftbquests                         | 1202.9.0.15              | FTBQuests-1202.9.0.15.jar                          | None                                     |
    | L     | cfm                               | 6.3.1                    | furniture-6.3.1-1.12.2.jar                         | None                                     |
    | L     | futuremc                          | 0.2.6                    | future-mc-1.12.2-0.2.6.1.jar                       | None                                     |
    | L     | gottschcore                       | 1.14.0                   | GottschCore-mc1.12.2-f14.23.5.2854-v1.14.0.jar     | None                                     |
    | L     | ichunutil                         | 7.2.2                    | iChunUtil-1.12.2-7.2.2.jar                         | None                                     |
    | L     | gravitygun                        | 7.1.0                    | GravityGun-1.12.2-7.1.0.jar                        | None                                     |
    | L     | growablecells                     | 3.1.0                    | Growable Cells-1.12.2-3.1.0.jar                    | None                                     |
    | L     | hats                              | 7.1.1                    | Hats-1.12.2-7.1.1.jar                              | None                                     |
    | L     | llibrary                          | 1.7.20                   | llibrary-1.7.20-1.12.2.jar                         | None                                     |
    | L     | iceandfire                        | 1.9.1                    | iceandfire-1.9.1-1.12.2.jar                        | None                                     |
    | L     | mekanism                          | 1.12.2-9.8.3.390         | Mekanism-1.12.2-9.8.3.390.jar                      | None                                     |
    | L     | teslacorelib                      | 1.0.17                   | tesla-core-lib-1.12.2-1.0.17.jar                   | None                                     |
    | L     | industrialforegoing               | 1.12.2-1.12.2            | industrialforegoing-1.12.2-1.12.13-237.jar         | None                                     |
    | L     | instantlava                       | 1.1.1                    | InstantLava_1.10.2-1.1.1.jar                       | None                                     |
    | L     | integrateddynamics                | 1.1.11                   | IntegratedDynamics-1.12.2-1.1.11.jar               | None                                     |
    | L     | integrateddynamicscompat          | 1.0.0                    | IntegratedDynamics-1.12.2-1.1.11.jar               | None                                     |
    | L     | inventorypets                     | 2.0.13                   | inventorypets-1.12-2.0.13.jar                      | None                                     |
    | L     | ironchest                         | 1.12.2-7.0.67.844        | ironchest_1.12.2_7.0.72.847.jar                    | None                                     |
    | L     | ironfurnaces                      | 1.3.5                    | ironfurnaces-1.3.5.jar                             | None                                     |
    | L     | ironjetpacks                      | 1.1.0                    | IronJetpacks-1.12-2-1.1.0.jar                      | None                                     |
    | L     | journeymap                        | 1.12.2-5.7.1             | journeymap-1.12.2-5.7.1.jar                        | None                                     |
    | L     | lootbags                          | 2.5.8.5                  | LootBags-1.12.2-2.5.8.5.jar                        | None                                     |
    | L     | magicclover                       | 1.12-0.7.8               | magicclover-1.12-0.7.8.jar                         | None                                     |
    | L     | malisiscore                       | 1.12.2-6.5.1-SNAPSHOT    | malisiscore-1.12.2-6.5.1.jar                       | None                                     |
    | L     | malisisdoors                      | 1.12.2-7.3.0             | malisisdoors-1.12.2-7.3.0.jar                      | None                                     |
    | L     | mcjtylib_ng                       | 3.5.4                    | mcjtylib-1.12-3.5.4.jar                            | None                                     |
    | L     | mcwbridges                        | 1.0.4                    | mcw-bridges-1.0.4-mc1.12.2.jar                     | None                                     |
    | L     | mcwdoors                          | 1.0                      | mcw-doors-1.0.0-mc1.12.2.jar                       | None                                     |
    | L     | mcwfurnitures                     | 1.0.1                    | mcw-furniture-1.0.1-mc1.12.2beta.jar               | None                                     |
    | L     | mcwroofs                          | 1.0.2                    | mcw-roofs-1.0.2-mc1.12.2.jar                       | None                                     |
    | L     | mcwtrpdoors                       | 1.0.2                    | mcw-trapdoors-1.0.2-mc1.12.2.jar                   | None                                     |
    | L     | mcwwindows                        | 1.0                      | mcw-windows-1.0.0-mc1.12.2.jar                     | None                                     |
    | L     | mekanismgenerators                | 1.12.2-9.8.3.390         | MekanismGenerators-1.12.2-9.8.3.390.jar            | None                                     |
    | L     | mekanismtools                     | 1.12.2-9.8.3.390         | MekanismTools-1.12.2-9.8.3.390.jar                 | None                                     |
    | L     | radixcore                         | 1.12.x-2.2.1             | RadixCore-1.12.x-2.2.1-universal.jar               | None                                     |
    | L     | mca                               | 1.12.2-5.3.1             | Minecraft-Comes-Alive-Mod-1.12.2.jar               | None                                     |
    | L     | moreavaritia                      | 3.4                      | moreavaritia-mc1.12.2-v4.jar                       | None                                     |
    | L     | morechickens                      | 3.2.0                    | morechickens-1.12.2-3.2.0.jar                      | None                                     |
    | L     | morefurnaces                      | 1.10.5                   | MoreFurnaces-1.12.2-1.10.6.jar                     | None                                     |
    | L     | morph                             | 7.2.0                    | Morph-1.12.2-7.2.1.jar                             | None                                     |
    | L     | mysticalagriculture               | 1.7.5                    | MysticalAgriculture-1.12.2-1.7.5.jar               | None                                     |
    | L     | mysticalagradditions              | 1.3.2                    | MysticalAgradditions-1.12.2-1.3.2.jar              | None                                     |
    | L     | mysticaladaptations               | 1.8.5                    | MysticalAdaptations-1.12.2-1.8.5.jar               | None                                     |
    | L     | mysticalcreations                 | 1.6.1                    | MysticalCreations-1.12.2-1.6.1.jar                 | None                                     |
    | L     | newwalls                          | 1.0.0-RC1                | NewWalls-1.12.2-1.0.0-RC1.jar                      | None                                     |
    | L     | neid                              | 1.5.4.4                  | NotEnoughIDs-1.5.4.4.jar                           | None                                     |
    | L     | projectintelligence               | 1.0.9                    | ProjectIntelligence-1.12.2-1.0.9.28-universal.jar  | None                                     |
    | L     | nei                               | 2.4.3                    | NotEnoughItems-1.12.2-2.4.3.245-universal.jar      | None                                     |
    | L     | openmods                          | 0.12.2                   | OpenModsLib-1.12.2-0.12.2.jar                      | None                                     |
    | L     | openblocks                        | 1.8.1                    | OpenBlocks-1.12.2-1.8.1.jar                        | None                                     |
    | L     | oreexcavation                     | 1.4.150                  | OreExcavation-1.4.150.jar                          | None                                     |
    | L     | harvestcraft                      | 1.12.2zb                 | Pam's+HarvestCraft+1.12.2zg.jar                    | None                                     |
    | L     | thermaldynamics                   | 2.5.6                    | ThermalDynamics-1.12.2-2.5.6.1-universal.jar       | None                                     |
    | L     | simplyjetpacks                    | 1.12.2-2.2.20.0          | SimplyJetpacks2-1.12.2-2.2.20.0.jar                | None                                     |
    | L     | plustic                           | @VERSION@                | plustic-8.0.3.jar                                  | None                                     |
    | L     | portalgun                         | 7.1.0                    | PortalGun-1.12.2-7.1.0.jar                         | None                                     |
    | L     | prefab                            | 1.3.0.26                 | prefab-1.3.0.26.jar                                | None                                     |
    | L     | randomthings                      | 4.2.7.4                  | RandomThings-MC1.12.2-4.2.7.4.jar                  | None                                     |
    | L     | rftools                           | 7.73                     | rftools-1.12-7.73.jar                              | None                                     |
    | L     | roost                             | 2.0.10                   | roost-1.12.2-2.0.10.jar                            | None                                     |
    | L     | secretroomsmod                    | 5.6.4                    | secretroomsmod-1.12.2-5.6.4.jar                    | None                                     |
    | L     | storagenetwork                    | 1.8.1                    | SimpleStorageNetwork-1.12.2-1.8.1.jar              | None                                     |
    | L     | solarflux                         | 12.4.11                  | SolarFluxReborn-1.12.2-12.4.11.jar                 | None                                     |
    | L     | storagedrawers                    | 5.2.2                    | StorageDrawers-1.12.2-5.4.2.jar                    | None                                     |
    | L     | supertnt                          | 1.0.1                    | SuperTNT_1.12.2_1.0.1_2.jar                        | None                                     |
    | L     | taiga                             | 1.12.2-1.3.3             | taiga-1.12.2-1.3.4.jar                             | None                                     |
    | L     | tfspellpack                       | 1.1.0                    | TFSpellPack-1.1.0-MC1.12.2.jar                     | None                                     |
    | L     | thaumicenergistics                | 2.2.3                    | thaumicenergistics-2.2.4.jar                       | None                                     |
    | L     | thaumictinkerer                   | 1.12.2-5.0-620a0c5       | thaumictinkerer-1.12.2-5.0-620a0c5.jar             | None                                     |
    | L     | thermalcultivation                | 0.3.6                    | ThermalCultivation-1.12.2-0.3.6.1-universal.jar    | None                                     |
    | L     | thermalinnovation                 | 0.3.6                    | ThermalInnovation-1.12.2-0.3.6.1-universal.jar     | None                                     |
    | L     | golems_tcon                       | 7.1.5-0                  | TinkersGolemsAddon-1.12-7.1.5-0.jar                | None                                     |
    | L     | tinkersjei                        | 1.2                      | tinkersjei-1.2.jar                                 | None                                     |
    | L     | tinkertoolleveling                | 1.12.2-1.1.0.DEV.b23e769 | TinkerToolLeveling-1.12.2-1.1.0.jar                | None                                     |
    | L     | tinymobfarm                       | 1.0.5                    | TinyMobFarm-1.12.2-1.0.5.jar                       | None                                     |
    | L     | tp                                | 3.2.34                   | tinyprogressions-1.12.2-3.3.34-Release.jar         | None                                     |
    | L     | tlauncher_custom_cape_skin        | 1.4                      | tlskincape1.12.2-1.4.jar                           | None                                     |
    | L     | torchslabmod                      | v1.5.2                   | torchslabmod-1.12.2-v1.5.2.jar                     | None                                     |
    | L     | totaltinkers                      | 0.6.0                    | totaltinkers-0.6.0.jar                             | None                                     |
    | L     | treasure2                         | 1.16.1                   | Treasure2-mc1.12.2-f14.23.5.2854-v1.16.1.jar       | None                                     |
    | L     | treegrowingsimulator              | 0.0.4                    | TreeGrowingSimulator2017-1.0.1.jar                 | None                                     |
    | L     | uslabs                            | 1.1                      | USlabs+v1.1+BETA.jar                               | None                                     |
    | L     | wawla                             | 2.6.275                  | Wawla-1.12.2-2.6.275.jar                           | None                                     |
    | L     | waystones                         | 4.1.0                    | Waystones_1.12.2-4.1.0.jar                         | None                                     |
    | L     | wct                               | 3.12.97                  | WirelessCraftingTerminal-1.12.2-3.12.97.jar        | None                                     |
    | L     | wft                               | 1.0.4                    | WirelessFluidTerminal-1.12.2-1.0.4.jar             | None                                     |
    | L     | wit                               | 1.0.2                    | WirelessInterfaceTerminal-1.12.2-1.0.2.jar         | None                                     |
    | L     | woot                              | 1.12.2-1.4.11            | woot-1.12.2-1.4.11.jar                             | None                                     |
    | L     | yoyos                             | 1.12.2-1.3.3.25          | yoyos_1.12.2-1.3.3.25.jar                          | None                                     |
    | L     | mysticallib                       | 1.12.2-1.10.0            | mysticallib-1.12.2-1.10.0.jar                      | None                                     |
    | L     | teslacorelib_registries           | 1.0.17                   | tesla-core-lib-1.12.2-1.0.17.jar                   | None                                     |

    Loaded coremods (and transformers):
LoadingPlugin (RandomThings-MC1.12.2-4.2.7.4.jar)
  lumien.randomthings.asm.ClassTransformer
ForgelinPlugin (Forgelin-1.8.4.jar)
 
MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar)
  mekanism.coremod.KeybindingMigrationHelper
OpenModsCorePlugin (OpenModsLib-1.12.2-0.12.2.jar)
  openmods.core.OpenModsClassTransformer
CXLibraryCore (cxlibrary-1.12.1-1.6.1.jar)
  cubex2.cxlibrary.CoreModTransformer
CorePlugin (ForgeEndertech-1.12.2-4.5.5.0-build.0561.jar)
 
ApotheosisCore (Apotheosis-1.12.2-1.12.5.jar)
  shadows.ApotheosisTransformer
iceandfire (iceandfire-1.9.1-1.12.2.jar)
  com.github.alexthe666.iceandfire.patcher.IceAndFireRuntimePatcher
Plugin (NotEnoughIDs-1.5.4.4.jar)
  ru.fewizz.neid.asm.Transformer
llibrary (llibrary-core-1.0.11-1.12.2.jar)
  net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer
  net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher
AstralCore (astralsorcery-1.12.2-1.10.27.jar)
 
EnderCorePlugin (EnderCore-1.12.2-0.5.76-core.jar)
  com.enderio.core.common.transform.EnderCoreTransformer
  com.enderio.core.common.transform.SimpleMixinPatcher
SecretRoomsMod-Core (secretroomsmod-1.12.2-5.6.4.jar)
  com.wynprice.secretroomsmod.core.SecretRoomsTransformer
MalisisCorePlugin (malisiscore-1.12.2-6.5.1.jar)
 
TLSkinCapeHookLoader (tlskincape1.12.2-1.4.jar)
  gloomyfolken.hooklib.minecraft.PrimaryClassTransformer
FutureMC (future-mc-1.12.2-0.2.6.1.jar)
  thedarkcolour.futuremc.asm.CoreTransformer
    OpenModsLib class transformers: [llama_null_fix:FINISHED],[horse_base_null_fix:FINISHED],[pre_world_render_hook:ENABLED],[player_render_hook:ENABLED],[horse_null_fix:FINISHED]
    AE2 Version: stable rv6-stable-7 for Forge 14.23.5.2768
    Ender IO: Found the following problem(s) with your installation (That does NOT mean that Ender IO caused the crash or was involved in it in any way. We add this information to help finding common problems, not as an invitation to post any crash you encounter to Ender IO's issue tracker. Always check the stack trace above to see which mod is most likely failing.):
                  * Offline mode for dedicated servers is NOT supported by Ender IO.
                 This may (look up the meaning of 'may' in the dictionary if you're not sure what it means) have caused the error. Try reproducing the crash WITHOUT this/these mod(s) before reporting it.
    Authlib is : /D:/server/minecraft_server.1.12.2.jar

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!You are looking at the diagnostics information, not at the crash.       !!!
    !!!Scroll up until you see the line with '---- Minecraft Crash Report ----'!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Pulsar/tconstruct loaded Pulses:
        - TinkerCommons (Enabled/Forced)
        - TinkerWorld (Enabled/Not Forced)
        - TinkerTools (Enabled/Not Forced)
        - TinkerHarvestTools (Enabled/Forced)
        - TinkerMeleeWeapons (Enabled/Forced)
        - TinkerRangedWeapons (Enabled/Forced)
        - TinkerModifiers (Enabled/Forced)
        - TinkerSmeltery (Enabled/Not Forced)
        - TinkerGadgets (Enabled/Not Forced)
        - TinkerOredict (Enabled/Forced)
        - TinkerIntegration (Enabled/Forced)
        - TinkerFluids (Enabled/Forced)
        - TinkerMaterials (Enabled/Forced)
        - TinkerModelRegister (Enabled/Forced)
        - chiselIntegration (Enabled/Not Forced)
        - chiselsandbitsIntegration (Enabled/Not Forced)
        - craftingtweaksIntegration (Enabled/Not Forced)
        - wailaIntegration (Enabled/Not Forced)

    Profiler Position: N/A (disabled)
    Is Modded: Definitely; Server brand changed to 'fml,forge'
    Type: Dedicated Server (map_server.txt)

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Version 1.19 - Forge 41.0.63 I want to create a wolf entity that I can ride, so far it seems to be working, but the problem is that when I get on the wolf, I can’t control it. I then discovered that the issue is that the server doesn’t detect that I’m riding the wolf, so I’m struggling with synchronization. However, it seems to not be working properly. As I understand it, the server receives the packet but doesn’t register it correctly. I’m a bit new to Java, and I’ll try to provide all the relevant code and prints *The comments and prints are translated by chatgpt since they were originally in Spanish* Thank you very much in advance No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. MountableWolfEntity package com.vals.valscraft.entity; import com.vals.valscraft.network.MountSyncPacket; import com.vals.valscraft.network.NetworkHandler; import net.minecraft.client.Minecraft; import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.network.syncher.EntityDataSerializers; import net.minecraft.network.syncher.SynchedEntityData; import net.minecraft.server.MinecraftServer; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.Mob; import net.minecraft.world.entity.ai.attributes.AttributeSupplier; import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.animal.Wolf; import net.minecraft.world.entity.player.Player; import net.minecraft.world.entity.Entity; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.network.PacketDistributor; public class MountableWolfEntity extends Wolf { private boolean hasSaddle; private static final EntityDataAccessor<Byte> DATA_ID_FLAGS = SynchedEntityData.defineId(MountableWolfEntity.class, EntityDataSerializers.BYTE); public MountableWolfEntity(EntityType<? extends Wolf> type, Level level) { super(type, level); this.hasSaddle = false; } @Override protected void defineSynchedData() { super.defineSynchedData(); this.entityData.define(DATA_ID_FLAGS, (byte)0); } public static AttributeSupplier.Builder createAttributes() { return Wolf.createAttributes() .add(Attributes.MAX_HEALTH, 20.0) .add(Attributes.MOVEMENT_SPEED, 0.3); } @Override public InteractionResult mobInteract(Player player, InteractionHand hand) { ItemStack itemstack = player.getItemInHand(hand); if (itemstack.getItem() == Items.SADDLE && !this.hasSaddle()) { if (!player.isCreative()) { itemstack.shrink(1); } this.setSaddle(true); return InteractionResult.SUCCESS; } else if (!level.isClientSide && this.hasSaddle()) { player.startRiding(this); MountSyncPacket packet = new MountSyncPacket(true); // 'true' means the player is mounted NetworkHandler.CHANNEL.sendToServer(packet); // Ensure the server handles the packet return InteractionResult.SUCCESS; } return InteractionResult.PASS; } @Override public void travel(Vec3 travelVector) { if (this.isVehicle() && this.getControllingPassenger() instanceof Player) { System.out.println("The wolf has a passenger."); System.out.println("The passenger is a player."); Player player = (Player) this.getControllingPassenger(); // Ensure the player is the controller this.setYRot(player.getYRot()); this.yRotO = this.getYRot(); this.setXRot(player.getXRot() * 0.5F); this.setRot(this.getYRot(), this.getXRot()); this.yBodyRot = this.getYRot(); this.yHeadRot = this.yBodyRot; float forward = player.zza; float strafe = player.xxa; if (forward <= 0.0F) { forward *= 0.25F; } this.flyingSpeed = this.getSpeed() * 0.1F; this.setSpeed((float) this.getAttributeValue(Attributes.MOVEMENT_SPEED) * 1.5F); this.setDeltaMovement(new Vec3(strafe, travelVector.y, forward).scale(this.getSpeed())); this.calculateEntityAnimation(this, false); } else { // The wolf does not have a passenger or the passenger is not a player System.out.println("No player is mounted, or the passenger is not a player."); super.travel(travelVector); } } public boolean hasSaddle() { return this.hasSaddle; } public void setSaddle(boolean hasSaddle) { this.hasSaddle = hasSaddle; } @Override protected void dropEquipment() { super.dropEquipment(); if (this.hasSaddle()) { this.spawnAtLocation(Items.SADDLE); this.setSaddle(false); } } @SubscribeEvent public static void onServerTick(TickEvent.ServerTickEvent event) { if (event.phase == TickEvent.Phase.START) { MinecraftServer server = net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer(); if (server != null) { for (ServerPlayer player : server.getPlayerList().getPlayers()) { if (player.isPassenger() && player.getVehicle() instanceof MountableWolfEntity) { MountableWolfEntity wolf = (MountableWolfEntity) player.getVehicle(); System.out.println("Tick: " + player.getName().getString() + " is correctly mounted on " + wolf); } } } } } private boolean lastMountedState = false; @Override public void tick() { super.tick(); if (!this.level.isClientSide) { // Only on the server boolean isMounted = this.isVehicle() && this.getControllingPassenger() instanceof Player; // Only print if the state changed if (isMounted != lastMountedState) { if (isMounted) { Player player = (Player) this.getControllingPassenger(); // Verify the passenger is a player System.out.println("Server: Player " + player.getName().getString() + " is now mounted."); } else { System.out.println("Server: The wolf no longer has a passenger."); } lastMountedState = isMounted; } } } @Override public void addPassenger(Entity passenger) { super.addPassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(true)); } } } @Override public void removePassenger(Entity passenger) { super.removePassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is no longer mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(false)); } } } @Override public boolean isControlledByLocalInstance() { Entity entity = this.getControllingPassenger(); return entity instanceof Player; } @Override public void positionRider(Entity passenger) { if (this.hasPassenger(passenger)) { double xOffset = Math.cos(Math.toRadians(this.getYRot() + 90)) * 0.4; double zOffset = Math.sin(Math.toRadians(this.getYRot() + 90)) * 0.4; passenger.setPos(this.getX() + xOffset, this.getY() + this.getPassengersRidingOffset() + passenger.getMyRidingOffset(), this.getZ() + zOffset); } } } MountSyncPacket package com.vals.valscraft.network; import com.vals.valscraft.entity.MountableWolfEntity; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.server.level.ServerLevel; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.player.Player; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class MountSyncPacket { private final boolean isMounted; public MountSyncPacket(boolean isMounted) { this.isMounted = isMounted; } public void encode(FriendlyByteBuf buffer) { buffer.writeBoolean(isMounted); } public static MountSyncPacket decode(FriendlyByteBuf buffer) { return new MountSyncPacket(buffer.readBoolean()); } public void handle(NetworkEvent.Context context) { context.enqueueWork(() -> { ServerPlayer player = context.getSender(); // Get the player from the context if (player != null) { // Verifies if the player has dismounted if (!isMounted) { Entity vehicle = player.getVehicle(); if (vehicle instanceof MountableWolfEntity wolf) { // Logic to remove the player as a passenger wolf.removePassenger(player); System.out.println("Server: Player " + player.getName().getString() + " is no longer mounted."); } } } }); context.setPacketHandled(true); // Marks the packet as handled } } networkHandler package com.vals.valscraft.network; import com.vals.valscraft.valscraft; import net.minecraft.resources.ResourceLocation; import net.minecraftforge.network.NetworkRegistry; import net.minecraftforge.network.simple.SimpleChannel; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class NetworkHandler { private static final String PROTOCOL_VERSION = "1"; public static final SimpleChannel CHANNEL = NetworkRegistry.newSimpleChannel( new ResourceLocation(valscraft.MODID, "main"), () -> PROTOCOL_VERSION, PROTOCOL_VERSION::equals, PROTOCOL_VERSION::equals ); public static void init() { int packetId = 0; // Register the mount synchronization packet CHANNEL.registerMessage( packetId++, MountSyncPacket.class, MountSyncPacket::encode, MountSyncPacket::decode, (msg, context) -> msg.handle(context.get()) // Get the context with context.get() ); } }  
    • Do you use features of inventory profiles next (ipnext) or is there a change without it?
    • Remove rubidium - you are already using embeddium, which is a fork of rubidium
  • Topics

×
×
  • Create New...

Important Information

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