Jump to content

Recommended Posts

Posted (edited)

Well, i started up minecraft... and then i got an error:

 

Firsr try:

Spoiler

[11:05:35] [Client thread/INFO]: Setting user: Derptard
[11:05:38] [Client thread/INFO]: LWJGL Version: 2.9.1
[11:05:40] [Client thread/INFO]: Reloading ResourceManager: The 5zig Mod, Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TimeChanger 1.8, FMLFileResourcePack:ToggleSneak
[11:05:41] [Sound Library Loader/INFO]: Starting up SoundSystem...
[11:05:41] [Thread-10/INFO]: Initializing LWJGL OpenAL
[11:05:41] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:05:41] [Thread-10/INFO]: OpenAL initialized.
[11:05:41] [Sound Library Loader/INFO]: Sound engine started
[11:05:42] [Client thread/INFO]: Created: 16x16 textures-atlas
[11:05:43] [Client thread/INFO]: Reloading ResourceManager: The 5zig Mod, Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TimeChanger 1.8, FMLFileResourcePack:ToggleSneak
[11:05:43] [Client thread/INFO]: SoundSystem shutting down...
[11:05:43] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[11:05:43] [Sound Library Loader/INFO]: Starting up SoundSystem...
[11:05:44] [Thread-12/INFO]: Initializing LWJGL OpenAL
[11:05:44] [Thread-12/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:05:44] [Thread-12/INFO]: OpenAL initialized.
[11:05:44] [Sound Library Loader/INFO]: Sound engine started
[11:05:45] [Client thread/INFO]: Created: 512x512 textures-atlas
[11:05:52] [Server thread/INFO]: Starting integrated minecraft server version 1.8
[11:05:52] [Server thread/INFO]: Generating keypair
[11:05:52] [Server thread/INFO]: Preparing start region for level 0
[11:05:53] [Server thread/INFO]: Changing view distance to 8, from 10
[11:05:53] [Server thread/INFO]: Hqer[local:E:1b6438e2] logged in with entity id 0 at (192.43893899486315, 56.0, -1102.9431288093522)
[11:05:53] [Server thread/INFO]: Hqer (formerly known as Derptard) joined the game
[11:05:57] [Server thread/INFO]: Saving and pausing game...
[11:05:57] [Server thread/INFO]: Saving chunks for level 'test'/Overworld
[11:05:57] [Server thread/INFO]: Saving chunks for level 'test'/Nether
[11:05:57] [Server thread/INFO]: Saving chunks for level 'test'/The End
[11:06:06] [Client thread/INFO]: Reloading ResourceManager: The 5zig Mod, Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TimeChanger 1.8, FMLFileResourcePack:ToggleSneak, LegendPack - By Vetorix.zip
[11:06:07] [Client thread/INFO]: SoundSystem shutting down...
[11:06:07] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[11:06:07] [Sound Library Loader/INFO]: Starting up SoundSystem...
[11:06:08] [Thread-21/INFO]: Initializing LWJGL OpenAL
[11:06:08] [Thread-21/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:06:08] [Thread-21/INFO]: OpenAL initialized.
[11:06:08] [Sound Library Loader/INFO]: Sound engine started
[11:06:12] [Client thread/INFO]: textures: dropping miplevel from 6 to 4, because of minimum power of two: 16
[11:06:13] [Client thread/INFO]: Created: 4096x4096 textures-atlas
[11:06:42] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 3445ms behind, skipping 68 tick(s)
[11:06:58] [Client thread/INFO]: [CHAT] You do not have permission to use this command
[11:07:00] [Server thread/INFO]: Saving and pausing game...
[11:07:00] [Server thread/INFO]: Saving chunks for level 'test'/Overworld
[11:07:00] [Server thread/INFO]: Saving chunks for level 'test'/Nether
[11:07:00] [Server thread/INFO]: Saving chunks for level 'test'/The End
[11:07:05] [Client thread/INFO]: Reloading ResourceManager: The 5zig Mod, Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TimeChanger 1.8, FMLFileResourcePack:ToggleSneak
[11:07:19] [Client thread/INFO]: SoundSystem shutting down...
[11:07:20] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

 

Second try:

Spoiler

[11:07:20] [Sound Library Loader/INFO]: Starting up SoundSystem...
[11:07:20] [Thread-24/INFO]: Initializing LWJGL OpenAL
[11:07:20] [Thread-24/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:07:20] [Thread-24/INFO]: OpenAL initialized.
[11:07:22] [Sound Library Loader/INFO]: Sound engine started
[11:07:31] [Client thread/INFO]: Created: 512x512 textures-atlas
[11:07:36] [Client thread/INFO]: Reloading ResourceManager: The 5zig Mod, Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TimeChanger 1.8, FMLFileResourcePack:ToggleSneak
[11:07:36] [Client thread/INFO]: SoundSystem shutting down...
[11:07:37] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[11:07:37] [Sound Library Loader/INFO]: Starting up SoundSystem...
[11:07:37] [Thread-26/INFO]: Initializing LWJGL OpenAL
[11:07:37] [Thread-26/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:07:37] [Thread-26/INFO]: OpenAL initialized.
[11:07:37] [Sound Library Loader/INFO]: Sound engine started
[11:07:38] [Client thread/INFO]: Created: 512x512 textures-atlas
[11:07:38] [Client thread/INFO]: Reloading ResourceManager: The 5zig Mod, Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TimeChanger 1.8, FMLFileResourcePack:ToggleSneak
[11:07:38] [Client thread/INFO]: SoundSystem shutting down...
[11:07:38] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[11:07:38] [Sound Library Loader/INFO]: Starting up SoundSystem...
[11:07:38] [Thread-28/INFO]: Initializing LWJGL OpenAL
[11:07:38] [Thread-28/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:07:39] [Thread-28/INFO]: OpenAL initialized.
[11:07:39] [Sound Library Loader/INFO]: Sound engine started
[11:07:39] [Client thread/INFO]: Created: 512x512 textures-atlas
[11:08:08] [Server thread/INFO]: <Hqer> Hi
[11:08:08] [Client thread/INFO]: [CHAT] <Hqer> Hi
[11:08:13] [Server thread/INFO]: Saving and pausing game...
[11:08:13] [Server thread/INFO]: Saving chunks for level 'test'/Overworld
[11:08:13] [Server thread/INFO]: Saving chunks for level 'test'/Nether
[11:08:13] [Server thread/INFO]: Saving chunks for level 'test'/The End
[11:11:37] [Server thread/INFO]: Saving and pausing game...
[11:11:37] [Server thread/INFO]: Saving chunks for level 'test'/Overworld
[11:11:37] [Server thread/INFO]: Saving chunks for level 'test'/Nether
[11:11:37] [Server thread/INFO]: Saving chunks for level 'test'/The End
[11:23:18] [Client thread/INFO]: Reloading ResourceManager: The 5zig Mod, Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TimeChanger 1.8, FMLFileResourcePack:ToggleSneak, ! §3C & C Frozen Core.zip
[11:23:18] [Client thread/INFO]: SoundSystem shutting down...
[11:23:19] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[11:23:19] [Sound Library Loader/INFO]: Starting up SoundSystem...
[11:23:19] [Thread-36/INFO]: Initializing LWJGL OpenAL
[11:23:19] [Thread-36/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:23:19] [Thread-36/INFO]: OpenAL initialized.
[11:23:19] [Sound Library Loader/INFO]: Sound engine started
[11:23:20] [Client thread/INFO]: Created: 1024x512 textures-atlas
[11:23:29] [Client thread/INFO]: [CHAT] You do not have permission to use this command
[11:23:33] [Server thread/INFO]: Saving and pausing game...
[11:23:33] [Server thread/INFO]: Saving chunks for level 'test'/Overworld
[11:23:33] [Server thread/INFO]: Saving chunks for level 'test'/Nether
[11:23:33] [Server thread/INFO]: Saving chunks for level 'test'/The End
[11:23:36] [Server thread/INFO]: Saving and pausing game...
[11:23:36] [Server thread/INFO]: Saving chunks for level 'test'/Overworld
[11:23:36] [Server thread/INFO]: Saving chunks for level 'test'/Nether
[11:23:36] [Server thread/INFO]: Saving chunks for level 'test'/The End
[11:23:38] [Server thread/INFO]: Stopping server
[11:23:38] [Server thread/INFO]: Saving players
[11:23:38] [Server thread/INFO]: Saving worlds
[11:23:38] [Server thread/INFO]: Saving chunks for level 'test'/Overworld
[11:23:38] [Server thread/INFO]: Saving chunks for level 'test'/Nether
[11:23:38] [Server thread/INFO]: Saving chunks for level 'test'/The End
[11:23:51] [Server thread/INFO]: Starting integrated minecraft server version 1.8
[11:23:51] [Server thread/INFO]: Generating keypair
[11:23:51] [Server thread/INFO]: Converting map!
[11:23:51] [Server thread/INFO]: Scanning folders...
[11:23:51] [Server thread/INFO]: Total conversion count is 0
[11:23:51] [Server thread/INFO]: Preparing start region for level 0
[11:23:52] [Server thread/INFO]: Preparing spawn area: 8%
[11:23:53] [Server thread/INFO]: Preparing spawn area: 16%
[11:23:54] [Server thread/INFO]: Preparing spawn area: 26%
[11:23:55] [Server thread/INFO]: Preparing spawn area: 38%
[11:23:56] [Server thread/INFO]: Preparing spawn area: 51%
[11:23:57] [Server thread/INFO]: Preparing spawn area: 64%
[11:23:58] [Server thread/INFO]: Preparing spawn area: 77%
[11:23:59] [Server thread/INFO]: Preparing spawn area: 90%
[11:24:00] [Server thread/INFO]: Changing view distance to 8, from 10
[11:24:00] [Server thread/INFO]: Derptard[local:E:239648e6] logged in with entity id 102902 at (163.5, 64.0, 248.5)
[11:24:00] [Server thread/INFO]: Derptard joined the game
[11:24:06] [Server thread/INFO]: Derptard has just earned the achievement [Taking Inventory]
[11:24:06] [Client thread/INFO]: [CHAT] Derptard has just earned the achievement [Taking Inventory]
[11:24:34] [Server thread/INFO]: Saving and pausing game...
[11:24:34] [Server thread/INFO]: Saving chunks for level 'Test-'/Overworld
[11:24:34] [Server thread/INFO]: Saving chunks for level 'Test-'/Nether
[11:24:34] [Server thread/INFO]: Saving chunks for level 'Test-'/The End
[11:24:38] [Client thread/INFO]: Reloading ResourceManager: The 5zig Mod, Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TimeChanger 1.8, FMLFileResourcePack:ToggleSneak, !  §3§lC & C Aegean Blue.zip
[11:24:38] [Client thread/INFO]: SoundSystem shutting down...
[11:24:39] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[11:24:39] [Sound Library Loader/INFO]: Starting up SoundSystem...
[11:24:39] [Thread-41/INFO]: Initializing LWJGL OpenAL
[11:24:39] [Thread-41/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:24:39] [Thread-41/INFO]: OpenAL initialized.
[11:24:39] [Sound Library Loader/INFO]: Sound engine started
[11:24:40] [Client thread/INFO]: Created: 2048x2048 textures-atlas
[11:24:49] [Server thread/INFO]: Saving and pausing game...
[11:24:49] [Server thread/INFO]: Saving chunks for level 'Test-'/Overworld
[11:24:49] [Server thread/INFO]: Saving chunks for level 'Test-'/Nether
[11:24:49] [Server thread/INFO]: Saving chunks for level 'Test-'/The End
[11:24:54] [Client thread/INFO]: Reloading ResourceManager: The 5zig Mod, Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TimeChanger 1.8, FMLFileResourcePack:ToggleSneak, !  §1§lC & C Aqua FPS.zip
[11:24:55] [Client thread/INFO]: SoundSystem shutting down...
[11:24:56] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[11:24:56] [Sound Library Loader/INFO]: Starting up SoundSystem...
[11:24:56] [Thread-44/INFO]: Initializing LWJGL OpenAL
[11:24:56] [Thread-44/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:24:56] [Thread-44/INFO]: OpenAL initialized.
[11:24:56] [Sound Library Loader/INFO]: Sound engine started
[11:24:57] [Client thread/INFO]: Created: 2048x1024 textures-atlas
[11:25:02] [Server thread/INFO]: Saving and pausing game...
[11:25:02] [Server thread/INFO]: Saving chunks for level 'Test-'/Overworld
[11:25:02] [Server thread/INFO]: Saving chunks for level 'Test-'/Nether
[11:25:02] [Server thread/INFO]: Saving chunks for level 'Test-'/The End
[11:25:07] [Client thread/INFO]: Reloading ResourceManager: The 5zig Mod, Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TimeChanger 1.8, FMLFileResourcePack:ToggleSneak, !  §3§lC & C Aegean Blue.zip
[11:25:08] [Client thread/INFO]: SoundSystem shutting down...
[11:25:08] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[11:25:08] [Sound Library Loader/INFO]: Starting up SoundSystem...
[11:25:08] [Thread-46/INFO]: Initializing LWJGL OpenAL
[11:25:08] [Thread-46/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:25:08] [Thread-46/INFO]: OpenAL initialized.
[11:25:09] [Sound Library Loader/INFO]: Sound engine started
[11:25:09] [Client thread/INFO]: Created: 2048x2048 textures-atlas
[11:25:15] [Server thread/INFO]: Saving and pausing game...
[11:25:15] [Server thread/INFO]: Saving chunks for level 'Test-'/Overworld
[11:25:15] [Server thread/INFO]: Saving chunks for level 'Test-'/Nether
[11:25:15] [Server thread/INFO]: Saving chunks for level 'Test-'/The End
[11:25:16] [Server thread/INFO]: Stopping server
[11:25:16] [Server thread/INFO]: Saving players
[11:25:16] [Server thread/INFO]: Saving worlds
[11:25:16] [Server thread/INFO]: Saving chunks for level 'Test-'/Overworld
[11:25:16] [Server thread/INFO]: Saving chunks for level 'Test-'/Nether
[11:25:16] [Server thread/INFO]: Saving chunks for level 'Test-'/The End
[11:27:06] [Client thread/INFO]: Connecting to EU.HY-PVP.NET, 25565
[11:27:07] [Server Connector #1/ERROR]: Couldn't connect to server
java.net.ConnectException: Connection refused: no further information: EU.HY-PVP.NET/67.205.158.194:25565
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:1.8.0_144]
    at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[?:1.8.0_144]
    at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:191) ~[NioSocketChannel.class:4.0.15.Final]
    at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:255) ~[AbstractNioChannel$AbstractNioUnsafe.class:4.0.15.Final]
    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:502) ~[NioEventLoop.class:4.0.15.Final]
    at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:452) ~[NioEventLoop.class:4.0.15.Final]
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:346) ~[NioEventLoop.class:4.0.15.Final]
    at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) ~[SingleThreadEventExecutor$2.class:4.0.15.Final]
    at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_144]
[11:29:49] [Client thread/INFO]: Connecting to DEV123.POTPVP.COM, 25565
[11:29:53] [Server Connector #2/ERROR]: Couldn't connect to server
java.net.UnknownHostException: DEV123.POTPVP.COM
    at java.net.InetAddress.getAllByName0(Unknown Source) ~[?:1.8.0_144]
    at java.net.InetAddress.getAllByName(Unknown Source) ~[?:1.8.0_144]
    at java.net.InetAddress.getAllByName(Unknown Source) ~[?:1.8.0_144]
    at java.net.InetAddress.getByName(Unknown Source) ~[?:1.8.0_144]
    at net.minecraft.client.multiplayer.GuiConnecting$1.run(GuiConnecting.java:69) [bwc.class:?]
[11:30:01] [Client thread/INFO]: Connecting to EU.VALUX.NET, 25565
[11:30:05] [Client thread/INFO]: Connecting to EU.VALUX.NET, 25565
[11:30:11] [Client thread/INFO]: Connecting to EU.VALUX.NET, 25565
[11:30:17] [Client thread/INFO]: Connecting to EU.VALUX.NET, 25565
[11:30:22] [Client thread/INFO]: Connecting to CTLSERV.FR, 25565
[11:30:30] [Client thread/INFO]: Connecting to play.jartexnetwork.net, 25565
[11:30:31] [Client thread/INFO]: [CHAT]                                      
[11:30:31] [Client thread/INFO]: [CHAT] §A§n§t§i§M§i§n§i§m§a§p
[11:30:31] [Client thread/INFO]: [CHAT] §3 §6 §3 §6 §3 §6 §e
[11:30:31] [Client thread/INFO]: [CHAT] §0§0§1§2§3§5§e§f
[11:30:31] [Client thread/INFO]: [CHAT] §0§0§c§d§e§f
[11:30:32] [Client thread/INFO]: [CHAT] ==========================================
[11:30:32] [Client thread/INFO]: [CHAT] 
[11:30:32] [Client thread/INFO]: [CHAT]           Welcome, Derptard to JartexNetwork
[11:30:32] [Client thread/INFO]: [CHAT] 
[11:30:32] [Client thread/INFO]: [CHAT]                      SITE jartexnetwork.com
[11:30:32] [Client thread/INFO]: [CHAT]                  VOTE jartexnetwork.com/vote
[11:30:32] [Client thread/INFO]: [CHAT]                 STORE store.jartexnetwork.com
[11:30:32] [Client thread/INFO]: [CHAT] 
[11:30:32] [Client thread/INFO]: [CHAT] ==========================================
[11:30:32] [Client thread/INFO]: [CHAT] JartexNetwork » You are connected to Lobby3
[11:30:33] [Client thread/INFO]: [CHAT] LOGIN » Please login with /login <password>
[11:30:41] [Client thread/INFO]: Connecting to play.cubecraft.net, 25565
[11:31:46] [Client thread/INFO]: Stopping!
[11:31:46] [Client thread/INFO]: SoundSystem shutting down...
[11:31:46] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com


 

Please help me

Edited by diesieben07
spoiler
Posted (edited)

i tried it and this is the new error:

 

Spoiler

[18:17:26] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR.
[18:17:26] [main/INFO] [FML/]: Forge Mod Loader version 11.14.4.1563 for Minecraft 1.8 loading
[18:17:26] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_144, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_144
[18:17:26] [main/DEBUG] [FML/]: Java classpath at launch is C:\Users\Sander\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.8-11.14.4.1563\forge-1.8-11.14.4.1563.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.0.15.Final\netty-all-4.0.15.Final.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.12\launchwrapper-1.12.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\5.0.3\asm-all-5.0.3.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\typesafe\akka\akka-actor_2.11\2.3.3\akka-actor_2.11-2.3.3.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\typesafe\config\1.2.1\config-1.2.1.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-actors-migration_2.11\1.1.0\scala-actors-migration_2.11-1.1.0.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-compiler\2.11.1\scala-compiler-2.11.1.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\scala-lang\plugins\scala-continuations-library_2.11\1.0.2\scala-continuations-library_2.11-1.0.2.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\scala-lang\plugins\scala-continuations-plugin_2.11.1\1.0.2\scala-continuations-plugin_2.11.1-1.0.2.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-library\2.11.1\scala-library-2.11.1.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-parser-combinators_2.11\1.0.1\scala-parser-combinators_2.11-1.0.1.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-reflect\2.11.1\scala-reflect-2.11.1.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-swing_2.11\1.0.1\scala-swing_2.11-1.0.1.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-xml_2.11\1.0.2\scala-xml_2.11-1.0.2.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\mojang\netty\1.6\netty-1.6.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.5.2\vecmath-1.5.2.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.6\jopt-simple-4.6.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.0.15.Final\netty-all-4.0.15.Final.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\17.0\guava-17.0.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.3.2\commons-lang3-3.3.2.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\commons-codec\commons-codec\1.9\commons-codec-1.9.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.5.21\authlib-1.5.21.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\com\mojang\realms\1.6.1\realms-1.6.1.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-compress\1.8.1\commons-compress-1.8.1.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.1\lwjgl-2.9.1.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.1\lwjgl_util-2.9.1.jar;C:\Users\Sander\AppData\Roaming\.minecraft\libraries\tv\twitch\twitch\6.5\twitch-6.5.jar;C:\Users\Sander\AppData\Roaming\.minecraft\versions\1.8\1.8.jar
[18:17:26] [main/DEBUG] [FML/]: Java library path at launch is C:\Users\Sander\AppData\Roaming\.minecraft\versions\1.8-forge1.8-11.14.4.1563\1.8-forge1.8-11.14.4.1563-natives-1484513104458
[18:17:26] [main/DEBUG] [FML/]: Enabling runtime deobfuscation
[18:17:26] [main/DEBUG] [FML/]: Instantiating coremod class FMLCorePlugin
[18:17:26] [main/DEBUG] [FML/]: Added access transformer class net.minecraftforge.fml.common.asm.transformers.AccessTransformer to enqueued access transformers
[18:17:26] [main/DEBUG] [FML/]: Enqueued coremod FMLCorePlugin
[18:17:26] [main/DEBUG] [FML/]: Instantiating coremod class FMLForgePlugin
[18:17:26] [main/DEBUG] [FML/]: Enqueued coremod FMLForgePlugin
[18:17:26] [main/DEBUG] [FML/]: All fundamental core mods are successfully located
[18:17:26] [main/DEBUG] [FML/]: Attempting to load commandline specified mods, relative to C:\Users\Sander\AppData\Roaming\.minecraft
[18:17:26] [main/DEBUG] [FML/]: Discovering coremods
[18:17:26] [main/DEBUG] [FML/]: Examining for coremod candidacy BetterFps-1.1.1.jar
[18:17:26] [main/INFO] [FML/]: Loading tweaker me.guichaguri.betterfps.tweaker.BetterFpsTweaker from BetterFps-1.1.1.jar
[18:17:26] [main/DEBUG] [FML/]: Examining for coremod candidacy FastChat 1.8 & 1.7.jar
[18:17:26] [main/INFO] [FML/]: Loading tweaker pw.cinque.fastchat.FastChat from FastChat 1.8 & 1.7.jar
[18:17:26] [main/DEBUG] [FML/]: Examining for coremod candidacy fastcraft-1.25.jar
[18:17:26] [main/INFO] [FML/]: Loading tweaker fastcraft.Tweaker from fastcraft-1.25.jar
[18:17:26] [main/DEBUG] [FML/]: Examining for coremod candidacy FastCraft.jar
[18:17:26] [main/INFO] [FML/]: Loading tweaker fastcraft.Tweaker from FastCraft.jar
[18:17:26] [main/DEBUG] [FML/]: Examining for coremod candidacy Fps SideBar.jar
[18:17:26] [main/DEBUG] [FML/]: Not found coremod data in Fps SideBar.jar
[18:17:26] [main/DEBUG] [FML/]: Examining for coremod candidacy FpsPlus.jar
[18:17:26] [main/DEBUG] [FML/]: Examining for coremod candidacy OptiFine_1.8.0_HD_U_H8.jar
[18:17:26] [main/INFO] [FML/]: Loading tweaker optifine.OptiFineForgeTweaker from OptiFine_1.8.0_HD_U_H8.jar
[18:17:26] [main/DEBUG] [FML/]: Examining for coremod candidacy PlayerAPI-1.8-1.1 (4).jar
[18:17:26] [main/TRACE] [FML/]: Adding PlayerAPI-1.8-1.1 (4).jar to the list of known coremods, it will not be examined again
[18:17:26] [main/DEBUG] [FML/]: Instantiating coremod class PlayerAPIPlugin
[18:17:26] [main/DEBUG] [FML/]: The coremod api.player.forge.PlayerAPIPlugin requested minecraft version 1.8 and minecraft is 1.8. It will be loaded.
[18:17:26] [main/DEBUG] [FML/]: Enqueued coremod PlayerAPIPlugin
[18:17:26] [main/DEBUG] [FML/]: Examining for coremod candidacy The 5zig Mod v3.11.7 for Minecraft 1.8.jar
[18:17:26] [main/INFO] [FML/]: Loading tweaker eu.the5zig.mod.asm.ClassTweaker from The 5zig Mod v3.11.7 for Minecraft 1.8.jar
[18:17:26] [main/DEBUG] [FML/]: Examining for coremod candidacy TimeChanger 1.8.jar
[18:17:26] [main/DEBUG] [FML/]: Not found coremod data in TimeChanger 1.8.jar
[18:17:26] [main/DEBUG] [FML/]: Examining for coremod candidacy ToggleSneak-(1.8)-v3.1.0 (4).jar
[18:17:26] [main/DEBUG] [FML/]: Not found coremod data in ToggleSneak-(1.8)-v3.1.0 (4).jar
[18:17:26] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:17:26] [main/INFO] [LaunchWrapper/]: Loading tweak class name me.guichaguri.betterfps.tweaker.BetterFpsTweaker
[18:17:26] [main/INFO] [LaunchWrapper/]: Loading tweak class name pw.cinque.fastchat.FastChat
[18:17:26] [main/INFO] [LaunchWrapper/]: Loading tweak class name fastcraft.Tweaker
[18:17:26] [main/WARN] [LaunchWrapper/]: Tweak class name fastcraft.Tweaker has already been visited -- skipping
[18:17:26] [main/INFO] [LaunchWrapper/]: Loading tweak class name optifine.OptiFineForgeTweaker
[18:17:26] [main/INFO] [LaunchWrapper/]: Loading tweak class name eu.the5zig.mod.asm.ClassTweaker
[18:17:26] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[18:17:26] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:17:26] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:17:26] [main/INFO] [LaunchWrapper/]: Calling tweak class optifine.OptiFineForgeTweaker
[18:17:26] [main/INFO] [STDOUT/]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: acceptOptions
[18:17:26] [main/INFO] [STDOUT/]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: injectIntoClassLoader
[18:17:26] [main/INFO] [STDOUT/]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine ClassTransformer
[18:17:26] [main/INFO] [STDOUT/]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine URL: file:/C:/Users/Sander/AppData/Roaming/.minecraft/mods/OptiFine_1.8.0_HD_U_H8.jar
[18:17:26] [main/INFO] [STDOUT/]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine ZIP file: C:\Users\Sander\AppData\Roaming\.minecraft\mods\OptiFine_1.8.0_HD_U_H8.jar
[18:17:26] [main/INFO] [LaunchWrapper/]: Calling tweak class eu.the5zig.mod.asm.ClassTweaker
[18:17:26] [main/INFO] [LaunchWrapper/]: Minecraft Version: 1.8-forge1.8-11.14.4.1563
[18:17:26] [main/TRACE] [LaunchWrapper/]: Checking for Forge
[18:17:26] [main/INFO] [LaunchWrapper/]: Forge detected!
[18:17:26] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:17:26] [main/DEBUG] [FML/]: Injecting coremod FMLCorePlugin {net.minecraftforge.fml.relauncher.FMLCorePlugin} class transformers
[18:17:26] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.BlamingTransformer
[18:17:26] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer
[18:17:26] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriptionTransformer
[18:17:26] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriberTransformer
[18:17:26] [main/DEBUG] [FML/]: Injection complete
[18:17:26] [main/DEBUG] [FML/]: Running coremod plugin for FMLCorePlugin {net.minecraftforge.fml.relauncher.FMLCorePlugin}
[18:17:26] [main/DEBUG] [FML/]: Running coremod plugin FMLCorePlugin
[18:17:27] [main/DEBUG] [FML/]: Read 790 binary patches
[18:17:28] [main/INFO] [FML/]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[18:17:28] [main/ERROR] [FML/]: FML appears to be missing any signature data. This is not a good thing
[18:17:28] [main/DEBUG] [FML/]: Coremod plugin class FMLCorePlugin run successfully
[18:17:28] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:17:28] [main/DEBUG] [FML/]: Injecting coremod FMLForgePlugin {net.minecraftforge.classloading.FMLForgePlugin} class transformers
[18:17:28] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.classloading.FluidIdTransformer
[18:17:28] [main/DEBUG] [FML/]: Injection complete
[18:17:28] [main/DEBUG] [FML/]: Running coremod plugin for FMLForgePlugin {net.minecraftforge.classloading.FMLForgePlugin}
[18:17:28] [main/DEBUG] [FML/]: Running coremod plugin FMLForgePlugin
[18:17:28] [main/DEBUG] [FML/]: Coremod plugin class FMLForgePlugin run successfully
[18:17:28] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:17:28] [main/DEBUG] [FML/]: Injecting coremod PlayerAPIPlugin {api.player.forge.PlayerAPIPlugin} class transformers
[18:17:28] [main/TRACE] [FML/]: Registering transformer api.player.forge.PlayerAPITransformer
[18:17:28] [main/DEBUG] [FML/]: Injection complete
[18:17:28] [main/DEBUG] [FML/]: Running coremod plugin for PlayerAPIPlugin {api.player.forge.PlayerAPIPlugin}
[18:17:28] [main/DEBUG] [FML/]: Running coremod plugin PlayerAPIPlugin
[18:17:28] [main/DEBUG] [FML/]: Coremod plugin class PlayerAPIPlugin run successfully
[18:17:28] [main/INFO] [LaunchWrapper/]: Calling tweak class pw.cinque.fastchat.FastChat
[18:17:28] [main/INFO] [LaunchWrapper/]: Calling tweak class me.guichaguri.betterfps.tweaker.BetterFpsTweaker
[18:17:28] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[18:17:28] [main/DEBUG] [FML/]: Loaded 159 rules from AccessTransformer config file forge_at.cfg
[18:17:28] [main/DEBUG] [FML/]: Validating minecraft
[18:17:28] [main/DEBUG] [FML/]: Minecraft validated, launching...
[18:17:28] [main/INFO] [LaunchWrapper/]: Calling tweak class fastcraft.Tweaker
[18:17:28] [main/DEBUG] [FastCraft/]: Mod detection results: {AsRuins=false, Bukkit=false, ColoredLights=false, OptiFine=true, ShadersMod=true, DynamicLights=false, NotEnoughIds=false}
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.NoClassDefFoundError: cpw/mods/fml/common/asm/transformers/deobf/FMLDeobfuscatingRemapper
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at fastcraft.B.c(F:4505)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at fastcraft.B.c(F:146)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at fastcraft.a.b(F:50)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at fastcraft.L.<init>(F:13)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.lang.reflect.Constructor.newInstance(Unknown Source)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.lang.Class.newInstance(Unknown Source)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at fastcraft.Tweaker.injectIntoClassLoader(F:17)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.ClassNotFoundException: cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.lang.ClassLoader.loadClass(Unknown Source)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.lang.ClassLoader.loadClass(Unknown Source)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     ... 12 more
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at org.objectweb.asm.ClassReader.readShort(Unknown Source)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at org.objectweb.asm.ClassReader.<init>(Unknown Source)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at org.objectweb.asm.ClassReader.<init>(Unknown Source)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at net.minecraftforge.fml.common.asm.transformers.DeobfuscationTransformer.transform(DeobfuscationTransformer.java:33)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
[18:17:28] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     ... 14 more

 

Edited by diesieben07
spoiler

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

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