DimensionalDevelopment / Rift

A lightweight mod loader and API for Minecraft 1.13
MIT License
122 stars 52 forks source link

Game crashes with Optifine under 1.13 #57

Closed k-jiang closed 6 years ago

k-jiang commented 6 years ago

Game crashes with Optifine under 1.13. Minecraft: 1.13 Rift: 1.0.4-66 Optifine: 1.13_HD_U_E4

When entering multiplay games, game crashed. Both launchwrapper or put it in "mods" method are not working. I have no issue with Optifine alone (load with launchwrapper), it can run without Rift installed.

[11:37:39] [main/INFO]: Loading tweak class name org.dimdev.riftloader.launch.RiftLoaderClientTweaker [11:37:39] [main/INFO]: Using primary tweak class name org.dimdev.riftloader.launch.RiftLoaderClientTweaker [11:37:39] [main/INFO]: Calling tweak class org.dimdev.riftloader.launch.RiftLoaderClientTweaker [11:37:39] [main/INFO]: Searching mods on classpath [11:37:39] [main/INFO]: Loaded mod 'rift' [11:37:39] [main/INFO]: Searching for mods in /home/kenneth/MC/EverMC-linux/.minecraft/mods [11:37:39] [main/INFO]: Loaded mod 'neat' [11:37:39] [main/INFO]: Loaded 2 mods [11:37:39] [main/INFO]: Initializing mods [11:37:39] [main/INFO]: Loading Rift! [11:37:39] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.7.11 Source=file:/home/kenneth/MC/EverMC-linux/.minecraft/libraries/org/dimdev/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.jar Service=LaunchWrapper Env=UNKNOWN [11:37:39] [main/INFO]: FML platform manager could not load class cpw.mods.fml.relauncher.CoreModManager. Proceeding without FML support. [11:37:40] [main/INFO]: Compatibility level set to JAVA_8 [11:37:40] [main/INFO]: Done initializing mods [11:37:40] [main/INFO]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker [11:37:40] [main/INFO]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker [11:37:40] [main/INFO]: A re-entrant transformer 'org.dimdev.riftloader.RiftAccessTransformer' was detected and will no longer process meta class data [11:37:40] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main} [11:37:40] [main/INFO]: Setting user: kjiang [11:37:41] [main/INFO]: [OptiFine] *** Reflector Forge *** [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.Attributes [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: mods.betterfoliage.client.BetterFoliageClient [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.asm.transformers.BlamingTransformer [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.world.ChunkWatchEvent$UnWatch [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.relauncher.CoreModManager [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.DimensionManager [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.GuiScreenEvent$DrawScreenEvent$Pre [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.GuiScreenEvent$DrawScreenEvent$Post [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$CameraSetup [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$FogColors [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$RenderFogEvent [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.eventhandler.Event [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.eventhandler.EventBus [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.eventhandler.Event$Result [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.property.ExtendedBlockState [11:37:41] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.FMLClientHandler [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.FMLCommonHandler [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: cex.getCameraPosition [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: cex.updateRenderInfo [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: ayn.getWaterColorMultiplier [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: ayn$e.newInstance [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.addDestroyEffects [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.addHitEffects [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.canCreatureSpawn [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.canRenderInLayer [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.doesSideBlockRendering [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.doesSideBlockChestOpening [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.getBedDirection [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.getExtendedState [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.getFogColor [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.getLightOpacity [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.getLightValue [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.getSoundType [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.hasTileEntity [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.isAir [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.isBed [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.isBedFoot [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bcj.isSideSolid [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: dep.isAmbientOcclusion [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bkt.getLightValue [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: aye.isSideSolid [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: aeo.canRiderInteract [11:37:42] [main/INFO]: [OptiFine] (Reflector) Field not present: aeo.captureDrops [11:37:42] [main/INFO]: [OptiFine] (Reflector) Field not present: aeo.capturedDrops [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: aeo.shouldRenderInPass [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: aeo.shouldRiderSit [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.ForgeEventFactory [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeHooks [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.ForgeHooksClient [11:37:42] [main/INFO]: [OptiFine] (Reflector) Field not present: asw.delegate [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: asw.getDurabilityForDisplay [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: asw.getEquipmentSlot [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: asw.getTileEntityItemStackRenderer [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: asw.getRGBDurabilityForDisplay [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: asw.isShield [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: asw.onEntitySwing [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: asw.shouldCauseReequipAnimation [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: asw.showDurabilityBar [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: aqx.hasOverlay [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: cfe.setKeyConflictContext [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: cfe.setKeyModifierAndCode [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: cfe.getKeyModifier [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeModContainer [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: cus.parseFromReader [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: aeg.shouldRenderHUD [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: aeg.renderHUDEffect [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: aeh.isCurativeItem [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: biz.canRenderBreaking [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: biz.getRenderBoundingBox [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: biz.hasFastRenderer [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: biz.shouldRenderInPass [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: ddn$b.preDraw [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: ddn$b.postDraw [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: axs.countEntities [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: axs.getPerWorldStorage [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: axs.initCapabilities [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bnt.getCloudRenderer [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bnt.getSkyRenderer [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bnt.getWeatherRenderer [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bnt.getLightmapColors [11:37:42] [main/INFO]: [OptiFine] (Reflector) Method not present: bnt.getSaveFolder [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.GuiModList [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.property.IExtendedBlockState [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.IModel [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.IRenderHandler [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.ItemModelMesherForge [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.settings.KeyConflictContext [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.settings.KeyModifier [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.pipeline.LightUtil [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.Loader [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.MinecraftForge [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.MinecraftForgeClient [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.ModContainer [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.ModelLoader [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.gui.NotificationModUpdateScreen [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderBlockOverlayEvent$OverlayType [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.registry.RenderingRegistry [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderItemInFrameEvent [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Pre [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Post [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Specials$Pre [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Specials$Post [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.ScreenshotEvent [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.SplashProgress [11:37:42] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.world.WorldEvent$Load [11:37:42] [main/INFO]: [OptiFine] *** Reflector Vanilla *** [11:37:42] [main/INFO]: LWJGL Version: 3.1.6 build 14 [11:37:42] [main/INFO]: [OptiFine]  [11:37:42] [main/INFO]: [OptiFine] OptiFine_1.13_HD_U_E4 [11:37:42] [main/INFO]: [OptiFine] Build: 20181025-102956 [11:37:42] [main/INFO]: [OptiFine] OS: Linux (amd64) version 4.15.0-34-generic [11:37:42] [main/INFO]: [OptiFine] Java: 1.8.0_181, Oracle Corporation [11:37:42] [main/INFO]: [OptiFine] VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation [11:37:42] [main/INFO]: [OptiFine] LWJGL: 3.3.0 X11 GLX EGL clock_gettime evdev shared [11:37:42] [main/INFO]: [OptiFine] OpenGL: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2) , version 3.0 Mesa 18.3.0-devel, Intel Open Source Technology Center [11:37:42] [main/INFO]: [OptiFine] OpenGL Version: 3.0.0 [11:37:42] [main/INFO]: [OptiFine] Maximum texture size: 16384x16384 [11:37:42] [VersionCheck/INFO]: [OptiFine] Checking for new version [11:37:42] [main/INFO]: [Shaders] OpenGL Version: 3.0 Mesa 18.3.0-devel [11:37:42] [main/INFO]: [Shaders] Vendor:  Intel Open Source Technology Center [11:37:42] [main/INFO]: [Shaders] Renderer: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)  [11:37:42] [main/INFO]: [Shaders] Capabilities:  2.0  2.1  3.0  -  -  [11:37:42] [main/INFO]: [Shaders] GL_MAX_DRAW_BUFFERS: 8 [11:37:42] [main/INFO]: [Shaders] GL_MAX_COLOR_ATTACHMENTS_EXT: 8 [11:37:42] [main/INFO]: [Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 32 [11:37:42] [main/INFO]: [Shaders] Load shaders configuration. [11:37:42] [main/INFO]: [Shaders] Shaders can not be loaded, Fast Render is enabled. [11:37:42] [main/INFO]: [Shaders] No shaderpack loaded. [11:37:42] [main/INFO]: Reloading ResourceManager: Default, Neat [11:37:42] [main/INFO]: [OptiFine] *** Reloading textures *** [11:37:42] [main/INFO]: [OptiFine] Resource packs: Neat [11:37:42] [VersionCheck/INFO]: [OptiFine] Version found: E4 [11:37:43] [Sound Library Loader/INFO]: Starting up SoundSystem... [11:37:43] [Thread-2/INFO]: Initializing No Sound [11:37:43] [Thread-2/INFO]: (Silent Mode) [11:37:43] [Thread-2/INFO]: OpenAL initialized. [11:37:43] [Sound Library Loader/INFO]: Preloading sound minecraft:sounds/ambient/underwater/underwater_ambience.ogg [11:37:43] [Sound Library Loader/INFO]: Sound engine started [11:37:44] [main/INFO]: [OptiFine] Mipmap levels: 4 [11:37:44] [main/INFO]: [OptiFine] Multitexture: false [11:37:44] [main/INFO]: [OptiFine] Multipass connected textures: false [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/0_glass_white/glass_pane_white.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/0_glass_white/glass_white.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/10_glass_purple/glass_pane_purple.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/10_glass_purple/glass_purple.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/11_glass_blue/glass_blue.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/11_glass_blue/glass_pane_blue.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/12_glass_brown/glass_brown.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/12_glass_brown/glass_pane_brown.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/13_glass_green/glass_green.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/13_glass_green/glass_pane_green.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/14_glass_red/glass_pane_red.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/14_glass_red/glass_red.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/15_glass_black/glass_black.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/15_glass_black/glass_pane_black.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/1_glass_orange/glass_orange.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/1_glass_orange/glass_pane_orange.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/2_glass_magenta/glass_magenta.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/2_glass_magenta/glass_pane_magenta.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/3_glass_light_blue/glass_light_blue.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/3_glass_light_blue/glass_pane_light_blue.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/4_glass_yellow/glass_pane_yellow.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/4_glass_yellow/glass_yellow.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/5_glass_lime/glass_lime.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/5_glass_lime/glass_pane_lime.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/6_glass_pink/glass_pane_pink.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/6_glass_pink/glass_pink.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/7_glass_gray/glass_gray.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/7_glass_gray/glass_pane_gray.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/8_glass_light_gray/glass_light_gray.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/8_glass_light_gray/glass_pane_light_gray.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/9_glass_cyan/glass_cyan.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/9_glass_cyan/glass_pane_cyan.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/bookshelf.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/glass.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/glass_pane.properties [11:37:44] [main/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/sandstone.properties [11:37:44] [main/INFO]: [OptiFine] Multipass connected textures: false [11:37:44] [main/INFO]: [OptiFine] BetterGrass: Parsing default configuration optifine/bettergrass.properties [11:37:44] [main/INFO]: Created: 1024x512 textures-atlas [11:37:45] [main/INFO]: [OptiFine] Animated sprites: 27 [11:37:46] [main/INFO]: Narrator library successfully loaded [11:37:46] [main/INFO]: [OptiFine] *** Reloading custom textures *** [11:37:57] [main/INFO]: Connecting to gs.evermc.net., 10111 [11:38:01] [main/WARN]: Unknown custom packed identifier: minecraft:register [11:38:03] [main/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException     at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_181]     at k.a(Util.java:157) [k.class:?]     at cfi.c(SourceFile:808) [cfi.class:?]     at cfi.a(SourceFile:392) [cfi.class:?]     at net.minecraft.client.main.Main.main(SourceFile:144) [Main.class:?]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] Caused by: java.lang.NullPointerException     at cue.updateVboRegion(ViewFrustum.java:214) ~[cue.class:?]     at cue.a(ViewFrustum.java:58) ~[cue.class:?]     at cue. (ViewFrustum.java:38) ~[cue.class:?]     at ctt.a(RenderGlobal.java:707) ~[ctt.class:?]     at ctt.a(RenderGlobal.java:620) ~[ctt.class:?]     at cfi.a(SourceFile:1538) ~[cfi.class:?]     at cfi.a(SourceFile:1499) ~[cfi.class:?]     at cqs.a(SourceFile:323) ~[cqs.class:?]     at kj.a(SourceFile:76) ~[kj.class:?]     at kj.a(SourceFile:13) ~[kj.class:?]     at ix.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:20) ~[ix.class:?]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]     at k.a(Util.java:156) ~[k.class:?]     ... 9 more [11:38:03] [main/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException     at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_181]     at k.a(Util.java:157) [k.class:?]     at cfi.c(SourceFile:808) [cfi.class:?]     at cfi.a(SourceFile:392) [cfi.class:?]     at net.minecraft.client.main.Main.main(SourceFile:144) [Main.class:?]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] Caused by: java.lang.NullPointerException     at cqs.a(SourceFile:1658) ~[cqs.class:?]     at jy.a(SourceFile:57) ~[jy.class:?]     at jy.a(SourceFile:10) ~[jy.class:?]     at ix.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:20) ~[ix.class:?]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]     at k.a(Util.java:156) ~[k.class:?]     ... 9 more [11:38:03] [main/WARN]: Unknown custom packed identifier: minecraft:register [11:38:03] [main/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException     at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_181]     at k.a(Util.java:157) [k.class:?]     at cfi.c(SourceFile:808) [cfi.class:?]     at cfi.a(SourceFile:392) [cfi.class:?]     at net.minecraft.client.main.Main.main(SourceFile:144) [Main.class:?]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] Caused by: java.lang.NullPointerException     at cqs.a(SourceFile:1658) ~[cqs.class:?]     at jy.a(SourceFile:57) ~[jy.class:?]     at jy.a(SourceFile:10) ~[jy.class:?]     at ix.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:20) ~[ix.class:?]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]     at k.a(Util.java:156) ~[k.class:?]     ... 9 more [11:38:03] [main/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException     at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_181]     at k.a(Util.java:157) [k.class:?]     at cfi.c(SourceFile:808) [cfi.class:?]     at cfi.a(SourceFile:392) [cfi.class:?]     at net.minecraft.client.main.Main.main(SourceFile:144) [Main.class:?]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] Caused by: java.lang.NullPointerException     at cqs.a(SourceFile:1487) ~[cqs.class:?]     at kp.a(SourceFile:72) ~[kp.class:?]     at kp.a(SourceFile:9) ~[kp.class:?]     at ix.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:20) ~[ix.class:?]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]     at k.a(Util.java:156) ~[k.class:?]     ... 9 more [11:38:03] [main/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException     at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_181]     at k.a(Util.java:157) [k.class:?]     at cfi.c(SourceFile:808) [cfi.class:?]     at cfi.a(SourceFile:392) [cfi.class:?]     at net.minecraft.client.main.Main.main(SourceFile:144) [Main.class:?]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] Caused by: java.lang.NullPointerException     at cqs.a(SourceFile:556) ~[cqs.class:?]     at le.a(SourceFile:32) ~[le.class:?]     at le.a(SourceFile:9) ~[le.class:?]     at ix.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:20) ~[ix.class:?]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]     at k.a(Util.java:156) ~[k.class:?]     ... 9 more [11:38:03] [main/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException     at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_181]     at k.a(Util.java:157) [k.class:?]     at cfi.c(SourceFile:808) [cfi.class:?]     at cfi.a(SourceFile:392) [cfi.class:?]     at net.minecraft.client.main.Main.main(SourceFile:144) [Main.class:?]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] Caused by: java.lang.NullPointerException     at cqv.a(WorldClient.java:346) ~[cqv.class:?]     at kb.a(SourceFile:42) ~[kb.class:?]     at cqs.a(SourceFile:877) ~[cqs.class:?]     at kb.a(SourceFile:38) ~[kb.class:?]     at kb.a(SourceFile:11) ~[kb.class:?]     at ix.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:20) ~[ix.class:?]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]     at k.a(Util.java:156) ~[k.class:?]     ... 9 more [11:38:03] [main/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException     at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_181]     at k.a(Util.java:157) [k.class:?]     at cfi.c(SourceFile:808) [cfi.class:?]     at cfi.a(SourceFile:392) [cfi.class:?]     at net.minecraft.client.main.Main.main(SourceFile:144) [Main.class:?]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] Caused by: java.lang.NullPointerException     at cqv.a(WorldClient.java:346) ~[cqv.class:?]     at kb.a(SourceFile:42) ~[kb.class:?]     at cqs.a(SourceFile:877) ~[cqs.class:?]     at kb.a(SourceFile:38) ~[kb.class:?]     at kb.a(SourceFile:11) ~[kb.class:?]     at ix.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:20) ~[ix.class:?]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_181]     at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]     at k.a(Util.java:156) ~[k.class:?]     ... 9 more [11:38:04] [main/FATAL]: Unreported exception thrown! java.lang.NullPointerException: null     at cex.a(SourceFile:60) ~[cex.class:?]     at cex.a(SourceFile:72) ~[cex.class:?]     at ctm.a(FogRenderer.java:69) ~[ctm.class:?]     at ctn.b(EntityRenderer.java:1269) ~[ctn.class:?]     at ctn.a(EntityRenderer.java:1246) ~[ctn.class:?]     at ctn.a(EntityRenderer.java:979) ~[ctn.class:?]     at cfi.c(SourceFile:847) ~[cfi.class:?]     at cfi.a(SourceFile:392) [cfi.class:?]     at net.minecraft.client.main.Main.main(SourceFile:144) [Main.class:?]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] ---- Minecraft Crash Report ---- // Don't be sad, have a hug! 3  Time: 27/10/18 11:38 AM Description: Unexpected error  java.lang.NullPointerException: Unexpected error     at cex.a(SourceFile:60)     at cex.a(SourceFile:72)     at ctm.a(FogRenderer.java:69)     at ctn.b(EntityRenderer.java:1269)     at ctn.a(EntityRenderer.java:1246)     at ctn.a(EntityRenderer.java:979)     at cfi.c(SourceFile:847)     at cfi.a(SourceFile:392)     at net.minecraft.client.main.Main.main(SourceFile:144)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)   A detailed walkthrough of the error, its code path and all known details is as follows: ---------------------------------------------------------------------------------------  -- Head -- Thread: Client thread Stacktrace:     at cex.a(SourceFile:60)     at cex.a(SourceFile:72)     at ctm.a(FogRenderer.java:69)     at ctn.b(EntityRenderer.java:1269)     at ctn.a(EntityRenderer.java:1246)  -- Affected level -- Details:     Level name: MpServer     All players: 0 total; []     Chunk stats: MultiplayerChunkCache: 0, 0     Level seed: 0     Level generator: ID 00 - default, ver 1. Features enabled: false     Level generator options: {}     Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)     Level time: 0 game time, 0 day time     Level dimension: 0     Level storage version: 0x00000 - Unknown?     Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)     Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false     Forced entities: 0 total; []     Retry entities: 0 total; []     Server brand: ~~ERROR~~ NullPointerException: null     Server type: Non-integrated multiplayer server Stacktrace:     at cqv.a(WorldClient.java:589)     at cfi.b(SourceFile:1811)     at cfi.a(SourceFile:405)     at net.minecraft.client.main.Main.main(SourceFile:144)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)  -- System Details -- Details:     Minecraft Version: 1.13     Operating System: Linux (amd64) version 4.15.0-34-generic     Java Version: 1.8.0_181, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 483634712 bytes (461 MB) / 727711744 bytes (694 MB) up to 2147483648 bytes (2048 MB)     JVM Flags: 5 total; -XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -Xmn128m -Xmx2048m     Launched Version: HMCL 2.4.1.62     LWJGL: 3.1.6 build 14     OpenGL: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)  GL version 3.0 Mesa 18.3.0-devel, Intel Open Source Technology Center     GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported.      Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'rift'     Type: Client (map_client.txt)     Resource Packs:      Current Language: 简体中文 (中国)     Profiler Position: N/A (disabled)     CPU: 8x Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz #@!@# Game crashed! Crash report saved to: #@!@# /home/kenneth/MC/EverMC-linux/.minecraft/./crash-reports/crash-2018-10-27_11.38.04-client.txt AL lib: (EE) alc_cleanup: 1 device not closed
k-jiang commented 6 years ago

It seems that I can add an addition "tweakClass" argument in the json:

{
    "arguments": {
        "game": [
            "--tweakClass",
            "org.dimdev.riftloader.launch.RiftLoaderClientTweaker",
            "--tweakClass",
            "optifine.OptiFineTweaker"
        ]
    }
}

However, new exception shows up:

Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[14:10:47] [main/INFO]: Loading tweak class name org.dimdev.riftloader.launch.RiftLoaderClientTweaker
[14:10:47] [main/INFO]: Using primary tweak class name org.dimdev.riftloader.launch.RiftLoaderClientTweaker
[14:10:47] [main/INFO]: Loading tweak class name optifine.OptiFineTweaker
[14:10:47] [main/INFO]: Loading tweak class name customskinloader.tweaker.Tweaker
[14:10:47] [main/INFO]: Calling tweak class org.dimdev.riftloader.launch.RiftLoaderClientTweaker
[14:10:47] [main/INFO]: Searching mods on classpath
[14:10:47] [main/INFO]: Loaded mod 'rift'
[14:10:47] [main/INFO]: Searching for mods in /home/kenneth/.minecraft/mods
[14:10:47] [main/INFO]: Loaded 1 mods
[14:10:47] [main/INFO]: Initializing mods
[14:10:47] [main/INFO]: Loading Rift!
[14:10:47] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.7.11 Source=file:/home/kenneth/.minecraft/libraries/org/dimdev/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.jar Service=LaunchWrapper Env=UNKNOWN
[14:10:47] [main/INFO]: FML platform manager could not load class cpw.mods.fml.relauncher.CoreModManager. Proceeding without FML support.
[14:10:47] [main/INFO]: Compatibility level set to JAVA_8
[14:10:47] [main/INFO]: Done initializing mods
[14:10:47] [main/INFO]: Calling tweak class optifine.OptiFineTweaker
OptiFineTweaker: acceptOptions
OptiFineTweaker: injectIntoClassLoader
OptiFine ClassTransformer
OptiFine ZIP file: /home/kenneth/.minecraft/libraries/optifine/OptiFine/1.13.2_HD_U_E4/OptiFine-1.13.2_HD_U_E4.jar
[14:10:47] [main/INFO]: Calling tweak class customskinloader.tweaker.Tweaker
[main INFO] Using Tweaker
[main INFO] Tweaker: acceptOptions
[main INFO] Tweaker: injectIntoClassLoader
[main INFO] Loaded as a library.
[14:10:47] [main/INFO]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker
[14:10:47] [main/INFO]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker
OptiFineTweaker: getLaunchArguments
[main INFO] Tweaker: getLaunchArguments
[14:10:47] [main/INFO]: A re-entrant transformer 'org.dimdev.riftloader.RiftAccessTransformer' was detected and will no longer process meta class data
[14:10:47] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[14:10:47] [main/ERROR]: Unable to launch
java.lang.reflect.InvocationTargetException: null
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_191]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_191]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_191]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: joptsimple.MultipleArgumentsForOptionException: Found multiple arguments for option version, but you asked for only one
    at joptsimple.OptionSet.valueOf(OptionSet.java:179) ~[OptionSet.class:?]
    at net.minecraft.client.main.Main.a(SourceFile:149) ~[Main.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:105) ~[Main.class:?]
    ... 6 more

I'm not very good at Java, but it seems that there are something to do with this. I will try to remove the line and test it later to see if it works.

ZombieHDGaming commented 6 years ago

No, just no. 1. Never just add tweak classes because that can cause issues more than you realize, 2. We need that argument because you're required to pass it, which is why Forge, LiteLoader, and us do it, and 3. It's not working because you're using Optifine for 1.13.2, not 1.13.....

k-jiang commented 6 years ago

My bad. So I tried to fix optifine to 1.13, and it seems that you are right, adding tweak classes doesn't work.

Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[14:30:19] [main/INFO]: Loading tweak class name org.dimdev.riftloader.launch.RiftLoaderClientTweaker
[14:30:19] [main/INFO]: Using primary tweak class name org.dimdev.riftloader.launch.RiftLoaderClientTweaker
[14:30:19] [main/INFO]: Loading tweak class name optifine.OptiFineTweaker
[14:30:19] [main/INFO]: Loading tweak class name customskinloader.tweaker.Tweaker
[14:30:19] [main/INFO]: Calling tweak class org.dimdev.riftloader.launch.RiftLoaderClientTweaker
[14:30:19] [main/INFO]: Searching mods on classpath
[14:30:20] [main/INFO]: Loaded mod 'rift'
[14:30:20] [main/INFO]: Searching for mods in /home/kenneth/.minecraft/mods
[14:30:20] [main/INFO]: Loaded 1 mods
[14:30:20] [main/INFO]: Initializing mods
[14:30:20] [main/INFO]: Loading Rift!
[14:30:20] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.7.11 Source=file:/home/kenneth/.minecraft/libraries/org/dimdev/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.jar Service=LaunchWrapper Env=UNKNOWN
[14:30:20] [main/INFO]: FML platform manager could not load class cpw.mods.fml.relauncher.CoreModManager. Proceeding without FML support.
[14:30:20] [main/INFO]: Compatibility level set to JAVA_8
[14:30:20] [main/INFO]: Done initializing mods
[14:30:20] [main/INFO]: Calling tweak class optifine.OptiFineTweaker
OptiFineTweaker: acceptOptions
OptiFineTweaker: injectIntoClassLoader
OptiFine ClassTransformer
OptiFine ZIP file: /home/kenneth/.minecraft/libraries/optifine/OptiFine/1.13_HD_U_E4/OptiFine-1.13_HD_U_E4.jar
[14:30:20] [main/INFO]: Calling tweak class customskinloader.tweaker.Tweaker
[main INFO] Using Tweaker
[main INFO] Tweaker: acceptOptions
[main INFO] Tweaker: injectIntoClassLoader
[main INFO] Loaded as a library.
[14:30:20] [main/INFO]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker
[14:30:20] [main/INFO]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker
OptiFineTweaker: getLaunchArguments
[main INFO] Tweaker: getLaunchArguments
[14:30:20] [main/INFO]: A re-entrant transformer 'org.dimdev.riftloader.RiftAccessTransformer' was detected and will no longer process meta class data
[14:30:20] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[14:30:20] [main/ERROR]: Unable to launch
java.lang.reflect.InvocationTargetException: null
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_191]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_191]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_191]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: joptsimple.MultipleArgumentsForOptionException: Found multiple arguments for option version, but you asked for only one
    at joptsimple.OptionSet.valueOf(OptionSet.java:179) ~[OptionSet.class:?]
    at net.minecraft.client.main.Main.a(SourceFile:149) ~[Main.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:105) ~[Main.class:?]
    ... 6 more

I was thinking to load the optifine with classtweak so I don't run into the version compatibility issue (other versions with forge installed will not load 1.13 mods from "mods" folder). But for now the only workaround is to drop the optifine.jar into mods floder, and make sure to remove the optifine.jar before I play any elder versions.