Jump to content

Recommended Posts

Posted

[19:31:20] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[19:31:20] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[19:31:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[19:31:20] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2855 for Minecraft 1.12.2 loading
[19:31:20] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_291, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_291
[19:31:20] [main/INFO] [FML]: Searching C:\Users\lucas\Desktop\Forge Server\.\mods for mods
[19:31:20] [main/WARN] [FML]: Found FMLCorePluginContainsFMLMod marker in CreativeCore_v1.10.63_mc1.12.2.jar. This is not recommended, @Mods should be in a separate jar from the coremod.
[19:31:20] [main/WARN] [FML]: The coremod com.creativemd.creativecore.core.CreativePatchingLoader does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[19:31:20] [main/WARN] [FML]: The coremod CreativePatchingLoader (com.creativemd.creativecore.core.CreativePatchingLoader) is not signed!
[19:31:20] [main/WARN] [FML]: Found FMLCorePluginContainsFMLMod marker in CTM-MC1.12.2-1.0.2.31.jar. This is not recommended, @Mods should be in a separate jar from the coremod.
[19:31:20] [main/WARN] [FML]: The coremod team.chisel.ctm.client.asm.CTMCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[19:31:20] [main/WARN] [FML]: The coremod CTMCorePlugin (team.chisel.ctm.client.asm.CTMCorePlugin) is not signed!
[19:31:20] [main/WARN] [FML]: Found FMLCorePluginContainsFMLMod marker in Mekanism version -1.12.2-9.8.3.390.jar. This is not recommended, @Mods should be in a separate jar from the coremod.
[19:31:20] [main/WARN] [FML]: The coremod mekanism.coremod.MekanismCoremod does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[19:31:20] [main/WARN] [FML]: The coremod MekanismCoremod (mekanism.coremod.MekanismCoremod) is not signed!
[19:31:20] [main/INFO] [FML]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from phosphor-1.12.2-0.2.6+build50.jar
[19:31:20] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:31:20] [main/INFO] [LaunchWrapper]: Loading tweak class name org.spongepowered.asm.launch.MixinTweaker
[19:31:20] [main/INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.7.11 Source=file:/C:/Users/lucas/Desktop/Forge%20Server/./mods/memory_repo/me/jellysquid/mods/phosphor/1.12.2-0.2.6+build50/phosphor-1.12.2-0.2.6+build50.jar Service=LaunchWrapper Env=SERVER
[19:31:20] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[19:31:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:31:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:31:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:31:22] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[19:31:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:31:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:31:22] [main/INFO] [LaunchWrapper]: Calling tweak class org.spongepowered.asm.launch.MixinTweaker
[19:31:22] [main/INFO] [mixin]: Initialised Mixin FML Remapper Adapter with net.minecraftforge.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper@75b3673
[19:31:22] [main/INFO] [mixin]: Compatibility level set to JAVA_8
[19:31:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[19:31:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:31:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:31:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[19:31:22] [main/INFO] [LaunchWrapper]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker
[19:31:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[19:31:22] [main/INFO] [LaunchWrapper]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker
[19:31:23] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[19:31:23] [main/INFO] [STDOUT]: [team.chisel.ctm.client.asm.CTMTransformer:preTransform:230]: Transforming Class [net.minecraft.block.Block], Method [getExtendedState]
[19:31:23] [main/INFO] [STDOUT]: [team.chisel.ctm.client.asm.CTMTransformer:finishTransform:242]: Transforming net.minecraft.block.Block Finished.
[19:31:26] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting minecraft server version 1.12.2
[19:31:26] [Server thread/INFO] [FML]: MinecraftForge v14.23.5.2855 Initialized
[19:31:26] [Server console handler/ERROR] [net.minecraft.server.dedicated.DedicatedServer]: Exception handling console input
java.io.IOException: The handle is invalid
    at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_291]
    at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_291]
    at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_291]
    at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_291]
    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_291]
    at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_291]
    at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_291]
    at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_291]
    at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_291]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_291]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_291]
    at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:105) [nz$2.class:?]
[19:31:26] [Server thread/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[19:31:26] [Server thread/INFO] [FML]: Invalid recipe found with multiple oredict ingredients in the same ingredient...
[19:31:26] [Server thread/INFO] [FML]: Replaced 1227 ore ingredients
[19:31:27] [Server thread/INFO] [FML]: Searching C:\Users\lucas\Desktop\Forge Server\.\mods for mods
[19:31:27] [Server thread/WARN] [FML]: Mod securitycraft is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version v1.8.23.1
[19:31:27] [Server thread/INFO] [FML]: Disabling mod rpghud it is client side only.
[19:31:28] [Server thread/INFO] [FML]: Disabling mod ctm it is client side only.
[19:31:28] [Server thread/INFO] [FML]: Disabling mod enchdesc it is client side only.
[19:31:29] [Server thread/WARN] [FML]: Mod mekanismgenerators is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 1.12.2-9.8.3.390
[19:31:29] [Server thread/WARN] [FML]: Mod mekanismtools is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 1.12.2-9.8.3.390
[19:31:30] [Server thread/INFO] [FML]: Forge Mod Loader has identified 44 mods to load
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for FML: assets/fml/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for buildcraftbuilders: assets/buildcraftbuilders/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for buildcraftcore: assets/buildcraftcore/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for buildcraftenergy: assets/buildcraftenergy/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for buildcraftfactory: assets/buildcraftfactory/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for buildcraftrobotics: assets/buildcraftrobotics/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for buildcraftsilicon: assets/buildcraftsilicon/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for buildcrafttransport: assets/buildcrafttransport/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for ic2: assets/ic2/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for mantle: assets/mantle/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for mekanismgenerators: assets/mekanismgenerators/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for mekanismtools: assets/mekanismtools/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for redstoneflux: assets/redstoneflux/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for orbis-lib: assets/orbis-lib/lang/en_us.lang
[19:31:30] [Server thread/WARN] [FML]: Missing English translation for phosphor-lighting: assets/phosphor-lighting/lang/en_us.lang
[19:31:30] [Server thread/INFO] [FML]: FML has found a non-mod file [1.12][Forge]+RPG-HUD-3.8.1.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
[19:31:30] [Server thread/INFO] [FML]: FML has found a non-mod file CTM-MC1.12.2-1.0.2.31.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
[19:31:30] [Server thread/INFO] [FML]: FML has found a non-mod file EnchantmentDescriptions-1.12.2-1.1.15.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
[19:31:31] [Server thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, creativecoredummy, securitycraft, abyssalcraft, aether, baubles, buildcraftcompat, buildcraftbuilders, buildcraftcore, buildcraftenergy, buildcraftfactory, buildcraftlib, buildcraftrobotics, buildcraftsilicon, buildcrafttransport, btg, creativecore, ebwizardry, bigreactors, heroicarmory, ic2, jei, journeymap, lootbags, mantle, megaloot, mekanism, mekanismgenerators, mekanismtools, playerrevive, quantumflux, randomloot, redstoneflux, refinedstorage, tconstruct, treechopper, twilightforest, zerocore, orbis-lib, phosphor-lighting, betteranimalsplus] at CLIENT
[19:31:31] [Server thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, creativecoredummy, securitycraft, abyssalcraft, aether, baubles, buildcraftcompat, buildcraftbuilders, buildcraftcore, buildcraftenergy, buildcraftfactory, buildcraftlib, buildcraftrobotics, buildcraftsilicon, buildcrafttransport, btg, creativecore, ebwizardry, bigreactors, heroicarmory, ic2, jei, journeymap, lootbags, mantle, megaloot, mekanism, mekanismgenerators, mekanismtools, playerrevive, quantumflux, randomloot, redstoneflux, refinedstorage, tconstruct, treechopper, twilightforest, zerocore, orbis-lib, phosphor-lighting, betteranimalsplus] at SERVER
[19:31:32] [Server thread/INFO] [STDOUT]: [team.chisel.ctm.client.asm.CTMTransformer:preTransform:230]: Transforming Class [net.minecraft.block.Block], Method [getExtendedState]
[19:31:32] [Server thread/INFO] [STDOUT]: [team.chisel.ctm.client.asm.CTMTransformer:finishTransform:242]: Transforming net.minecraft.block.Block Finished.
[19:31:37] [Server thread/INFO] [Pulsar-tconstruct]: Skipping Pulse chiselIntegration; missing dependency: chisel
[19:31:37] [Server thread/INFO] [Pulsar-tconstruct]: Skipping Pulse chiselsandbitsIntegration; missing dependency: chiselsandbits
[19:31:37] [Server thread/INFO] [Pulsar-tconstruct]: Skipping Pulse craftingtweaksIntegration; missing dependency: craftingtweaks
[19:31:37] [Server thread/INFO] [Pulsar-tconstruct]: Skipping Pulse wailaIntegration; missing dependency: waila
[19:31:37] [Server thread/INFO] [Pulsar-tconstruct]: Skipping Pulse theoneprobeIntegration; missing dependency: theoneprobe
[19:31:37] [Server thread/INFO] [Pulsar-tconstruct]: Skipping Pulse quarkIntegration; missing dependency: quark
[19:31:37] [Server thread/INFO] [tconstruct]: Preparing to take over the world
[19:31:37] [Server thread/INFO] [FML]: Processing ObjectHolder annotations
[19:31:38] [Server thread/INFO] [FML]: Found 2649 ObjectHolder annotations
[19:31:38] [Server thread/INFO] [FML]: Identifying ItemStackHolder annotations
[19:31:38] [Server thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[19:31:39] [Server thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[19:31:39] [Forge Version Check/INFO] [forge.VersionCheck]: [buildcraftlib] Starting version check at https://mod-buildcraft.com/version/versions.json
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitycrate`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitydghead`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityphead`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitywhead`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityohead`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitycrystallizer`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitytransmutator`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitydradguardspawner`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitychagarothspawner`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityengraver`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitymaterializer`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityritualaltar`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityritualpedestal`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitystatue`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitydecorativestatue`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityshoggothbiomass`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityenergypedestal`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitysacrificialaltar`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitytieredenergypedestal`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitytieredsacrificialaltar`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityjzaharspawner`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitygatekeeperminionspawner`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityenergycollector`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityenergyrelay`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityenergycontainer`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitytieredenergycollector`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitytieredenergyrelay`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitytieredenergycontainer`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityrendingpedestal`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentitystatetransformer`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `tileentityenergydepositioner`, expected `abyssalcraft`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:41] [Forge Version Check/INFO] [forge.VersionCheck]: [buildcraftlib] Found status: AHEAD Target: null
[19:31:41] [Forge Version Check/INFO] [forge.VersionCheck]: [refinedstorage] Starting version check at https://refinedstorage.raoulvdberge.com/update
[19:31:41] [Forge Version Check/INFO] [forge.VersionCheck]: [buildcraftcompat] Starting version check at https://mod-buildcraft.com/version/versions-compat.json
[19:31:42] [Forge Version Check/INFO] [forge.VersionCheck]: [buildcraftcompat] Found status: AHEAD Target: null
[19:31:42] [Forge Version Check/INFO] [forge.VersionCheck]: [twilightforest] Starting version check at https://raw.githubusercontent.com/TeamTwilight/twilightforest/1.12.x/update.json
[19:31:42] [Server thread/INFO] [AbyssalCraft]: Starting the Integration Handler.
[19:31:42] [Forge Version Check/INFO] [forge.VersionCheck]: [twilightforest] Found status: AHEAD Target: null
[19:31:43] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.altar`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.holystone_furnace`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.skyroot_chest`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.skyroot_sign`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.multiblock_dummy`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.moa_egg`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.icestone_cooler`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.incubator`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.present`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.wildcard`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.masonry_bench`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.outpost_campfire`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.aether_teleporter`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:43] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `aether.skyroot_bed`, expected `aether`. This could be a intended override, but in most cases indicates a broken mod.
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/aechor_plant.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/aerbunny.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/burrukai.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/carrion_sprout.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/cockatrice.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/glactrix.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/glitterwing.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/kirrid.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/moa.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/sheepuff.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/skyroot_lizard.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/swet.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/taegore.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/tempest.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/varanys.json
[19:31:45] [Server thread/INFO] [AetherII]: Loading definitions from file /assets/aether/travellers_guidebook/definitions/zephyr.json
[19:31:45] [Server thread/INFO] [BuildCraft]: 
[19:31:45] [Server thread/INFO] [BuildCraft]: Starting BuildCraft 7.99.24.8
[19:31:45] [Server thread/INFO] [BuildCraft]: Copyright (c) the BuildCraft team, 2011-2018
[19:31:45] [Server thread/INFO] [BuildCraft]: https://www.mod-buildcraft.com
[19:31:45] [Server thread/INFO] [BuildCraft]: Detailed Build Information:
[19:31:45] [Server thread/INFO] [BuildCraft]:   Branch HEAD
[19:31:45] [Server thread/INFO] [BuildCraft]:   Commit 68370005a10488d02a4bb4b8df86bbc62633d216
[19:31:45] [Server thread/INFO] [BuildCraft]:     Bump version for release relase, fix a java 13+ compile error, tweak changelog, and fix engines chaining one block more than they should have.
[19:31:45] [Server thread/INFO] [BuildCraft]:     committed by AlexIIL
[19:31:45] [Server thread/INFO] [BuildCraft]: 
[19:31:45] [Server thread/INFO] [BuildCraft]: Loaded Modules:
[19:31:45] [Server thread/INFO] [BuildCraft]:   - lib
[19:31:45] [Server thread/INFO] [BuildCraft]:   - core
[19:31:45] [Server thread/INFO] [BuildCraft]:   - builders
[19:31:45] [Server thread/INFO] [BuildCraft]:   - energy
[19:31:45] [Server thread/INFO] [BuildCraft]:   - factory
[19:31:45] [Server thread/INFO] [BuildCraft]:   - robotics
[19:31:45] [Server thread/INFO] [BuildCraft]:   - silicon
[19:31:45] [Server thread/INFO] [BuildCraft]:   - transport
[19:31:45] [Server thread/INFO] [BuildCraft]:   - compat
[19:31:45] [Server thread/INFO] [BuildCraft]: Missing Modules:
[19:31:45] [Server thread/INFO] [BuildCraft]: 
[19:31:46] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
[19:31:46] [Forge Version Check/INFO] [forge.VersionCheck]: [buildcraftcore] Starting version check at https://mod-buildcraft.com/version/versions.json
[19:31:46] [Server thread/INFO] [BuildCraft]: [debugger] Not a dev environment!
[19:31:46] [Server thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[19:31:46] [Forge Version Check/INFO] [forge.VersionCheck]: [buildcraftcore] Found status: AHEAD Target: null
[19:31:46] [Forge Version Check/INFO] [forge.VersionCheck]: [abyssalcraft] Starting version check at https://raw.githubusercontent.com/Shinoow/AbyssalCraft/master/version.json
[19:31:47] [Forge Version Check/INFO] [forge.VersionCheck]: [abyssalcraft] Found status: OUTDATED Target: 1.10.4
[19:31:47] [Forge Version Check/INFO] [forge.VersionCheck]: [btg] Starting version check at https://raw.githubusercontent.com/Shinoow/By-The-Gods/master/version.json
[19:31:47] [Forge Version Check/INFO] [forge.VersionCheck]: [btg] Found status: OUTDATED Target: 1.1.1
[19:31:47] [Forge Version Check/INFO] [forge.VersionCheck]: [securitycraft] Starting version check at https://www.github.com/Geforce132/SecurityCraft/raw/master/Updates/Forge.json
[19:31:48] [Forge Version Check/INFO] [forge.VersionCheck]: [securitycraft] Found status: OUTDATED Target: v1.8.23.2
[19:32:04] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 354 out of 354 recipes for shaped recipes
[19:32:04] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 79 out of 79 recipes for shapeless recipes
[19:32:05] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 41 out of 41 recipes for solid uu recipes
[19:32:05] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 27 out of 27 recipes for furnace recipes
[19:32:05] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 5 out of 5 recipes for blast furnace recipes
[19:32:05] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 14 out of 14 recipes for block cutter recipes
[19:32:05] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 51 out of 51 recipes for compressor recipes
[19:32:05] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 14 out of 14 recipes for extractor recipes
[19:32:05] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 89 out of 89 recipes for macerator recipes
[19:32:05] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 5 out of 5 recipes for metal former cutting recipes
[19:32:05] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 10 out of 10 recipes for metal former extruding recipes
[19:32:05] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 14 out of 14 recipes for metal former rolling recipes
[19:32:05] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 8 out of 8 recipes for ore washing recipes
[19:32:05] [Server thread/INFO] [ic2.Recipe]: Successfully loaded 26 out of 26 recipes for thermal centrifuge recipes
[19:32:06] [Server thread/INFO] [BuildCraft]: 
[19:32:06] [Server thread/INFO] [BuildCraft]: Starting BuildCraftCompat 7.99.24.8
[19:32:06] [Server thread/INFO] [BuildCraft]: Copyright (c) the BuildCraft team, 2011-2017
[19:32:06] [Server thread/INFO] [BuildCraft]: https://www.mod-buildcraft.com
[19:32:06] [Server thread/INFO] [BuildCraft]: Detailed Build Information:
[19:32:06] [Server thread/INFO] [BuildCraft]:   Branch 8.0.x-1.12.2
[19:32:06] [Server thread/INFO] [BuildCraft]:   Commit 16adfdb3d6a3362ba3659be7d5e9b7d12af7eee5
[19:32:06] [Server thread/INFO] [BuildCraft]:     Bump for release.
[19:32:06] [Server thread/INFO] [BuildCraft]:     committed by AlexIIL
[19:32:06] [Server thread/INFO] [BuildCraft]: 
[19:32:06] [Server thread/INFO] [BuildCraft]: [compat] Module list:
[19:32:06] [Server thread/INFO] [BuildCraft]: [compat]   x forestry (It cannot load)
[19:32:06] [Server thread/INFO] [BuildCraft]: [compat]   x theoneprobe (It cannot load)
[19:32:06] [Server thread/INFO] [BuildCraft]: [compat]   x crafttweaker (It cannot load)
[19:32:06] [Server thread/INFO] [BuildCraft]: [compat]   + ic2
[19:32:07] [Server thread/WARN] [By The Gods]: EULA has not been accepted! Either remove the mod or accept the EULA (set the value in btg.cfg to true) before the next launch!
[19:32:07] [Server thread/WARN] [FML]: Java has been asked to exit (code 1)
[19:32:07] [Server thread/WARN] [FML]: This is an abortive exit and could cause world corruption or other things
[19:32:07] [Server thread/WARN] [FML]: Exit trace:
[19:32:07] [Server thread/WARN] [FML]:     com.shinoow.btg.ByTheGods.preInit(ByTheGods.java:59)
[19:32:07] [Server thread/WARN] [FML]:     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[19:32:07] [Server thread/WARN] [FML]:     sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[19:32:07] [Server thread/WARN] [FML]:     sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[19:32:07] [Server thread/WARN] [FML]:     java.lang.reflect.Method.invoke(Unknown Source)
[19:32:07] [Server thread/WARN] [FML]:     net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637)
[19:32:07] [Server thread/WARN] [FML]:     sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
[19:32:07] [Server thread/WARN] [FML]:     sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[19:32:07] [Server thread/WARN] [FML]:     java.lang.reflect.Method.invoke(Unknown Source)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.eventbus.EventBus.post(EventBus.java:217)
[19:32:07] [Server thread/WARN] [FML]:     net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
[19:32:07] [Server thread/WARN] [FML]:     net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
[19:32:07] [Server thread/WARN] [FML]:     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[19:32:07] [Server thread/WARN] [FML]:     sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[19:32:07] [Server thread/WARN] [FML]:     sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[19:32:07] [Server thread/WARN] [FML]:     java.lang.reflect.Method.invoke(Unknown Source)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
[19:32:07] [Server thread/WARN] [FML]:     com.google.common.eventbus.EventBus.post(EventBus.java:217)
[19:32:07] [Server thread/WARN] [FML]:     net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
[19:32:07] [Server thread/WARN] [FML]:     net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:629)
[19:32:07] [Server thread/WARN] [FML]:     net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:99)
[19:32:07] [Server thread/WARN] [FML]:     net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333)
[19:32:07] [Server thread/WARN] [FML]:     net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)
[19:32:07] [Server thread/WARN] [FML]:     net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
[19:32:07] [Server thread/WARN] [FML]:     java.lang.Thread.run(Unknown Source)
 

 

Help PLZ

Posted

1.12 is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

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.