Jump to content

rail glitch in forge? [ EDIT WITH VIDEO ]


julialy

Recommended Posts

video:http://www.youtube.com/watch?v=ZoJcShZsljI

 

Whenever a minecart is on an slanted powered rail, it doesn't work properly.

 

Log:

 

*** MagicMinecraftLauncher 0.9.9 ***

Disable inactive mods

Disabled: mod_flyMod.zip

2012-08-24 16:15:25 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.0.71.289 for Minecraft client:1.3.2, server:1.3.2 loading

2012-08-24 16:15:28 [iNFO] [sTDOUT] 27 achievements

2012-08-24 16:15:28 [iNFO] [sTDOUT] 195 recipes

2012-08-24 16:15:28 [iNFO] [sTDOUT] Setting user: julialy, -7082251816772941242

2012-08-24 16:15:28 [iNFO] [sTDERR] Client asked for parameter: server

2012-08-24 16:15:28 [iNFO] [sTDOUT] LWJGL Version: 2.8.4

2012-08-24 16:15:29 [iNFO] [sTDOUT] OptiFine_1.3.2_HD_U_A3

2012-08-24 16:15:29 [iNFO] [sTDOUT] Fri Aug 24 16:15:29 CDT 2012

2012-08-24 16:15:29 [iNFO] [sTDOUT] OS: Windows XP (x86) version 5.1

2012-08-24 16:15:29 [iNFO] [sTDOUT] Java: 1.7.0_05, Oracle Corporation

2012-08-24 16:15:29 [iNFO] [sTDOUT] VM: Java HotSpot Client VM (mixed mode), Oracle Corporation

2012-08-24 16:15:29 [iNFO] [sTDOUT] LWJGL: 2.8.4

2012-08-24 16:15:29 [iNFO] [sTDOUT] OpenGL: GeForce GTX 550 Ti/PCIe/SSE2/3DNOW! version 4.2.0, NVIDIA Corporation

2012-08-24 16:15:29 [iNFO] [sTDOUT] OpenGL Version: 4.0

2012-08-24 16:15:29 [iNFO] [sTDOUT] Checking for new version

2012-08-24 16:15:29 [iNFO] [sTDOUT] FSAA Samples: 0

2012-08-24 16:15:29 [iNFO] [sTDOUT] Version found: B3

2012-08-24 16:15:29 [iNFO] [sTDOUT] Class not present: forge.ForgeHooksClient

2012-08-24 16:15:29 [iNFO] [sTDOUT] setupTexture: "/title/mojang.png", id: 1

2012-08-24 16:15:29 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization

2012-08-24 16:15:29 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization

2012-08-24 16:15:29 [iNFO] [ForgeModLoader] Forge Mod Loader has detected optifine OptiFine_1.3.2_HD_U_A3, enabling compatibility features

2012-08-24 16:15:29 [iNFO] [ForgeModLoader] Searching C:\Documents and Settings\Julian\Application Data\.minecraft\mods for mods

2012-08-24 16:15:29 [WARNING] [ForgeModLoader] Zip file TooManyItems2012_08_16_1.3.2.zip failed to read properly, it will be ignored

2012-08-24 16:15:30 [WARNING] [ForgeModLoader] Zip file AutoSwitchMod-v2.2.1-mc1.3.2.zip failed to read properly, it will be ignored

2012-08-24 16:15:30 [WARNING] [ForgeModLoader] Zip file CameraStudioV2.1(1.3.2).zip failed to read properly, it will be ignored

2012-08-24 16:15:30 [WARNING] [ForgeModLoader] Zip file InvTweaks-1.43b-1.3.2.zip failed to read properly, it will be ignored

2012-08-24 16:15:30 [WARNING] [ForgeModLoader] Zip file KeySprint.zip failed to read properly, it will be ignored

2012-08-24 16:15:30 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 8 mods to load

2012-08-24 16:15:31 [iNFO] [sTDERR] 2012-08-24 16:15:31 [iNFO] Liteloader for 1.3.1 starting up...

2012-08-24 16:15:31 [iNFO] Mods folder found, searching C:\Documents and Settings\Julian\Application Data\.minecraft\mods

2012-08-24 16:15:31 [iNFO] Found 1 mod file(s)

2012-08-24 16:15:31 [iNFO] Loading mods from class path

2012-08-24 16:15:31 [WARNING] Error loading from local class path: null

2012-08-24 16:15:31 [iNFO] Discovered 1 total mod(s)

2012-08-24 16:15:31 [iNFO] Loading mod from net.eq2online.macros.LiteModMacros

2012-08-24 16:15:31 [iNFO] Successfully added mod Macro / Keybind Mod version 0.9.2 dev

Macros: Loading macro templates...

2012-08-24 16:15:31 [iNFO] [sTDERR] Macros: Loading additional config: WorldEdit

2012-08-24 16:15:31 [iNFO] [sTDERR] Macros: Using config dir /mods/macros/

2012-08-24 16:15:32 [iNFO] [sTDERR] Macros: Script engine initialised, registered 0 script action(s)

2012-08-24 16:15:32 [iNFO] [sTDOUT] setupTexture: "/icons/friends.png", id: 8

2012-08-24 16:15:32 [iNFO] [sTDOUT] setupTexture: "/icons/towns.png", id: 9

2012-08-24 16:15:32 [iNFO] [sTDOUT] setupTexture: "/icons/homes.png", id: 10

2012-08-24 16:15:32 [iNFO] [sTDERR] Macros: Initialising JInput subsystem

2012-08-24 16:15:32 [iNFO] [sTDOUT] Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin

2012-08-24 16:15:33 [iNFO] [sTDOUT] Macros: JInput Component Registry initialised, found 2 controller(s) 120 component(s)

2012-08-24 16:15:33 [iNFO] [sTDERR] Macros: Hookable Timer initialised and registered ok

2012-08-24 16:15:33 [iNFO] [sTDOUT] Starting up SoundSystem...

2012-08-24 16:15:33 [iNFO] [sTDOUT] Initializing LWJGL OpenAL

2012-08-24 16:15:33 [iNFO] [sTDOUT]    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

2012-08-24 16:15:33 [iNFO] [sTDOUT] OpenAL initialized.

2012-08-24 16:15:34 [iNFO] [sTDOUT] setupTexture: "/terrain.png", id: 15

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: axh@143d53c, texId: 15, index: 237

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: axk@169d1ba, texId: 15, index: 205

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: axi@481658, texId: 15, index: 14

2012-08-24 16:15:34 [iNFO] [sTDOUT] setupTexture: "/gui/items.png", id: 272

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: axd@c0a42b, texId: 272, index: 54

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: axc@13511e5, texId: 272, index: 70

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: axj@8ede42, texId: 15, index: 206

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: axg@1a1fad6, texId: 15, index: 238

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: axf@15b2072, texId: 15, index: 31

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: axf@1af264b, texId: 15, index: 47

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX removed: axh@143d53c, texId: 15, index: 237

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: TextureHDLavaFX@7a1112, texId: 15, index: 237

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX removed: axk@169d1ba, texId: 15, index: 205

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: TextureHDWaterFX@1f6d2bc, texId: 15, index: 205

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX removed: axi@481658, texId: 15, index: 14

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: TextureHDPortalFX@1207f78, texId: 15, index: 14

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX removed: axj@8ede42, texId: 15, index: 206

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: TextureHDWaterFlowFX@90a603, texId: 15, index: 206

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX removed: axg@1a1fad6, texId: 15, index: 238

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: TextureHDLavaFlowFX@833847, texId: 15, index: 238

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX removed: axf@15b2072, texId: 15, index: 31

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: TextureHDFlamesFX@e3e282, texId: 15, index: 31

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX removed: axf@1af264b, texId: 15, index: 47

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: TextureHDFlamesFX@19f9598, texId: 15, index: 47

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX removed: axd@c0a42b, texId: 272, index: 54

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: TextureHDCompassFX@9bf23d, texId: 272, index: 54

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX removed: axc@13511e5, texId: 272, index: 70

2012-08-24 16:15:34 [iNFO] [sTDOUT] TextureFX registered: TextureHDWatchFX@8276c8, texId: 272, index: 70

2012-08-24 16:15:34 [iNFO] [sTDOUT] Loading custom colors: /misc/grasscolor.png

2012-08-24 16:15:34 [iNFO] [sTDOUT] Loading custom colors: /misc/foliagecolor.png

2012-08-24 16:15:34 [iNFO] [sTDOUT] setupTexture: "/ctm.png", id: 529

2012-08-24 16:15:34 [iNFO] [sTDOUT] MatchingCtmPng: true

2012-08-24 16:15:34 [iNFO] [sTDOUT] Registering default ConnectedTextures

2012-08-24 16:15:34 [iNFO] [sTDOUT] NaturalTextures: configuration "/natural.properties" not found

2012-08-24 16:15:34 [iNFO] [sTDOUT] Natural Textures: Using default configuration.

2012-08-24 16:15:35 [iNFO] [sTDOUT] ==================================================

2012-08-24 16:15:35 [iNFO] [sTDOUT] Welcome to Teken's Properties API

2012-08-24 16:15:35 [iNFO] [sTDOUT] File path generated

2012-08-24 16:15:35 [iNFO] [sTDOUT] Initialise properties for /config/KeySprint.cfg

2012-08-24 16:15:35 [iNFO] [sTDOUT] Loading Update_Checker_Enabled propertie

2012-08-24 16:15:35 [iNFO] [sTDOUT] Update_Checker_Enabled propertie has been loaded

2012-08-24 16:15:35 [iNFO] [sTDOUT] Finalising properties

2012-08-24 16:15:35 [iNFO] [sTDOUT] Properties finalised

2012-08-24 16:15:35 [iNFO] [sTDOUT] ==================================================

2012-08-24 16:15:35 [iNFO] [sTDOUT] ==================================================

2012-08-24 16:15:35 [iNFO] [sTDOUT] Welcome to Teken's Mod Version Checker

2012-08-24 16:15:35 [iNFO] [sTDOUT] Checking if Key Sprint is up-to-date

2012-08-24 16:15:35 [iNFO] [sTDOUT] Key Sprint is up-to-date

2012-08-24 16:15:35 [iNFO] [sTDOUT] ==================================================

2012-08-24 16:15:35 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 8 mods

2012-08-24 16:15:35 [iNFO] [sTDOUT] setupTexture: "/title/bg/panorama0.png", id: 790

2012-08-24 16:15:35 [iNFO] [sTDOUT] setupTexture: "/title/bg/panorama1.png", id: 791

2012-08-24 16:15:35 [iNFO] [sTDOUT] setupTexture: "/title/bg/panorama2.png", id: 792

2012-08-24 16:15:35 [iNFO] [sTDOUT] setupTexture: "/title/bg/panorama3.png", id: 793

2012-08-24 16:15:35 [iNFO] [sTDOUT] setupTexture: "/title/bg/panorama4.png", id: 794

2012-08-24 16:15:35 [iNFO] [sTDOUT] setupTexture: "/title/bg/panorama5.png", id: 795

2012-08-24 16:15:35 [iNFO] [sTDOUT] setupTexture: "/title/mclogo.png", id: 796

2012-08-24 16:15:35 [iNFO] [sTDOUT] setupTexture: "/gui/gui.png", id: 797

2012-08-24 16:15:35 [iNFO] [sTDOUT] setupTexture: "/gui/particles.png", id: 798

2012-08-24 16:15:35 [iNFO] [sTDOUT] setupTexture: "/gui/macros.png", id: 801

2012-08-24 16:15:37 [iNFO] [sTDOUT] setupTexture: "/gui/background.png", id: 803

2012-08-24 16:15:37 [iNFO] [sTDOUT] setupTexture: "/gui/icons.png", id: 804

2012-08-24 16:15:51 [iNFO] [sTDOUT] Class not present: forge.ForgeHooks

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/terrain/sun.png", id: 813

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/terrain/moon_phases.png", id: 814

2012-08-24 16:15:52 [iNFO] [sTDOUT] Class not present: LightCache

2012-08-24 16:15:52 [iNFO] [sTDERR] 2012-08-24 16:15:50 [iNFO] Starting integrated minecraft server version 1.3.2

2012-08-24 16:15:50 [iNFO] Generating keypair

2012-08-24 16:15:51 [iNFO] Preparing start region for level 0

2012-08-24 16:15:52 [iNFO] julialy[/127.0.0.1:0] logged in with entity id 269 at (517.1188397760596, 5.957189050800344, 740.2126071329911)

java.io.IOException: Server returned HTTP response code: 503 for URL: http://skins.minecraft.net/MinecraftCloaks/julialy.png

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at java.lang.reflect.Constructor.newInstance(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at java.security.AccessController.doPrivileged(Native Method)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at auy.run(SourceFile:33)

2012-08-24 16:15:52 [iNFO] [sTDERR] Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://skins.minecraft.net/MinecraftCloaks/julialy.png

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at auy.run(SourceFile:26)

2012-08-24 16:15:52 [iNFO] [sTDERR] java.io.IOException: Server returned HTTP response code: 503 for URL: http://skins.minecraft.net/MinecraftSkins/julialy.png

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at java.lang.reflect.Constructor.newInstance(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at java.security.AccessController.doPrivileged(Native Method)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at auy.run(SourceFile:33)

2012-08-24 16:15:52 [iNFO] [sTDERR] Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://skins.minecraft.net/MinecraftSkins/julialy.png

2012-08-24 16:15:52 [iNFO] [sTDERR]    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

2012-08-24 16:15:52 [iNFO] [sTDERR]    at auy.run(SourceFile:26)

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/environment/clouds.png", id: 815

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/chicken.png", id: 816

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/cow.png", id: 817

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/creeper.png", id: 818

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/enderman.png", id: 819

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/ozelot.png", id: 820

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/pig.png", id: 821

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/sheep.png", id: 822

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/skeleton.png", id: 823

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/slime.png", id: 824

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/spider.png", id: 825

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/squid.png", id: 826

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/wolf.png", id: 827

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/zombie.png", id: 828

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "/mob/char.png", id: 829

2012-08-24 16:15:52 [iNFO] [sTDOUT] setupTexture: "%blur%/misc/vignette.png", id: 830

2012-08-24 16:15:53 [iNFO] [sTDERR] Macros: OnConnectToServer: localhost:0

2012-08-24 16:15:54 [iNFO] [sTDOUT] setupTexture: "/item/cart.png", id: 835

2012-08-24 16:15:54 [iNFO] [sTDOUT] setupTexture: "%clamp%/misc/shadow.png", id: 836

2012-08-24 16:15:54 [iNFO] [sTDOUT] Class not present: forge.MinecraftForgeClient

2012-08-24 16:15:54 [iNFO] [sTDOUT] setupTexture: "/particles.png", id: 837

2012-08-24 16:15:54 [iNFO] [sTDOUT] Allocated subtessellator, count: 1

2012-08-24 16:15:54 [iNFO] [sTDOUT] setupTexture: "/item/largechest.png", id: 838

2012-08-24 16:15:54 [iNFO] [sTDOUT] setupTexture: "/item/sign.png", id: 839

2012-08-24 16:16:02 [iNFO] [sTDOUT] setupTexture: "/art/kz.png", id: 840

2012-08-24 16:16:02 [iNFO] [sTDOUT] setupTexture: "/mob/saddle.png", id: 841

2012-08-24 16:16:04 [iNFO] [sTDOUT] setupTexture: "/UIG/useful.png", id: 842

 

 

Link to comment
Share on other sites

Join the conversation

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

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • https://mclo.gs/4UC49Ao
    • Way back in the Forge 1.17 days, work started for adding JPMS (Java Platform Module Support) to ModLauncher and ForgeModLoader. This has been used internally by Forge and some libraries for a while now, but mods (those with mods.toml specifically) have not been able to take advantage of it. As of Forge 1.21.1 and 1.21.3, this is now possible!   What is JPMS and what does it mean for modders? JPMS is the Java Platform Module System, introduced in Java 9. It allows you to define modules, which are collections of packages and resources that can be exported or hidden from other modules. This allows for much more fine-tuned control over visibility, cleaner syntax for service declarations and support for sealed types across packages. For example, you might have a mod with a module called `com.example.mod` that exports `com.example.mod.api` and `com.example.mod.impl` to other mods, but hides `com.example.mod.internal` from them. This would allow you to have a clean API for other mods to use, while keeping your internal implementation details hidden from IDE hints, helping prevent accidental usage of internals that might break without prior notice. This is particularly useful if you'd like to use public records with module-private constructors or partially module-private record components, as you can create a sealed interface that only your record implements, having the interface be exported and the record hidden. It's also nice for declaring and using services, as you'll get compile-time errors from the Java compiler for typos and the like, rather than deferring to runtime errors. In more advanced cases, you can also have public methods that are only accessible to specific other modules -- handy if you want internal interactions between multiple of your own mods.   How do I bypass it? We understand there may be drama in implementing a system that prevents mods from accessing each other's internals when necessary (like when a mod is abandoned or you need to fix a compat issue) -- after all, we are already modding a game that doesn't have explicit support for Java mods yet. We have already thought of this and are offering APIs from day one to selectively bypass module restrictions. Let me be clear: Forge mods are not required to use JPMS. If you don't want to use it, you don't have to. The default behaviour is to have fully open, fully exported automatic modules. In Java, you can use the `Add-Opens` and `Add-Exports` manifest attributes to selectively bypass module restrictions of other mods at launch time, and we've added explicit support for these when loading your Forge mods. At compile-time, you can use existing solutions such as the extra-java-module-info Gradle plugin to deal with non-modular dependencies and add extra opens and exports to other modules. Here's an example on how to make the internal package `com.example.examplemod.internal` open to your mod in your build.gradle: tasks.named('jar', Jar) { manifest { attributes([ 'Add-Opens' : 'com.example.examplemod/com.example.examplemod.internal' 'Specification-Title' : mod_id, 'Specification-Vendor' : mod_authors // (...) ]) } } With the above in your mod's jar manifest, you can now reflectively access the classes inside that internal package. Multiple entries are separated with a space, as per Java's official spec. You can also use Add-Exports to directly call without reflection, however you'd need to use the Gradle plugin mentioned earlier to be able to compile. The syntax for Add-Exports is the same as Add-Opens, and instructions for the compile-time step with the Gradle plugin are detailed later in this post. Remember to prefer the opens and exports keywords inside module-info.java for sources you control. The Add-Opens/Add-Exports attributes are only intended for forcing open other mods.   What else is new with module support? Previously, the runtime module name was always forced to the first mod ID in your `mods.toml` file and all packages were forced fully open and exported. Module names are now distinguished from mod IDs, meaning the module name in your module-info.java can be different from the mod ID in your `mods.toml`. This allows you to have a more descriptive module name that doesn't have to be the same as your mod ID, however we strongly recommend including your mod ID as part of your module name to aid troubleshooting. The `Automatic-Module-Name` manifest attribute is now also honoured, allowing you to specify a module name for your mod without needing to create a `module-info.java` file. This is particularly useful for mods that don't care about JPMS features but want to have a more descriptive module name and easier integration with other mods that do use JPMS.   How do I use it? The first step is to create a `module-info.java` file in your mod's source directory. This file should be in the same package as your main mod class, and should look something like this: open module com.example.examplemod { requires net.minecraftforge.eventbus; requires net.minecraftforge.fmlcore; requires net.minecraftforge.forge; requires net.minecraftforge.javafmlmod; requires net.minecraftforge.mergetool.api; requires org.slf4j; requires logging; } For now, we're leaving the whole module open to reflection, which is a good starting point. When we know we want to close something off, we can remove the open modifier from the module and open or export individual packages instead. Remember that you need to be open to Forge (module name net.minecraftforge.forge), otherwise it can't call your mod's constructor. Next is fixing modules in Gradle. While Forge and Java support modules properly, Gradle does not put automatic modules on the module path by default, meaning that the logging module (from com.mojang:logging) is not found. To fix this, add the Gradle plugin and add a compile-time module definition for that Mojang library: plugins { // (...) id 'org.gradlex.extra-java-module-info' version "1.9" } // (...) extraJavaModuleInfo { failOnMissingModuleInfo = false automaticModule("com.mojang:logging", "logging") } The automatic module override specified in your build.gradle should match the runtime one to avoid errors. You can do the same for any library or mod dependency that is missing either a module-info or explicit Automatic-Module-Name, however be aware that you may need to update your mod once said library adds one. That's all you need to get started with module support in your mods. You can learn more about modules and how to use them at dev.java.
    • Faire la mise à jour grâce à ce lien m'a aider personnellement, merci à @Paint_Ninja. https://www.amd.com/en/support 
    • When I came across the 'Exit Code: I got a 1 error in my Minecraft mods, so I decided to figure out what was wrong. First, I took a look at the logs. In the mods folder (usually where you'd find logs or crash reports), I found the latest.log file or the corresponding crash report. I read it through carefully, looking for any lines with errors or warnings. Then I checked the Minecraft Forge support site, where you can often find info on what causes errors and how to fix them. I then disabled half of my mods and tried running the game. If the error disappeared, it meant that the problem was with the disabled mod. I repeated this several times to find the problem mod.
    • I have no idea - switch to a pre-configured modpack and use it as working base    
  • Topics

×
×
  • Create New...

Important Information

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