Jump to content

Recommended Posts

Posted

Hello again, 

I am running into an issue with the mod I am developing. It works as intended in Intellij, but when I try to port it over to a server it not only doesn't work at all, but also crashes the game when going into the creative inventory. Additionally, I have confirmed that it does work in a singleplayer world, but the game will crash on startup every time I want to boot it up, unless I delete the options.txt file in the .minecraft folder. I want this mod to be one that a lot of people can play with together so making sure the server works is a high priority to me. If anyone knows how to fix this I'd greatly appreciate it!

Here is the mod repository:

https://github.com/RyaasAbove/FM

Posted
1 hour ago, Ugdhar said:

Post the debug.log from a crashed run to a gist and link it here, it may give some pointers to where things are breaking

Here is a gist with the most recent crash log. It definitely is at least connected to some sort of registry object missing, although the Telekinesis system isn't working either. Thank you so much for taking the time to look at it if you get around to it
https://gist.github.com/RyaasAbove/6315252373762b5a0e2a37b17b06b934

Posted
44 minutes ago, Ryaas said:

Thank you, I'll make sure to take a look at it! Do you have an example in one of the classes that I could use as a starting point?

The 'Minecraft' class only exists on the client so you can't refer to it in your entity classes.

Posted
10 hours ago, vemerion said:

The 'Minecraft' class only exists on the client so you can't refer to it in your entity classes.

Thank you! I'll see what I can do, I appreciate the help!

Posted

UPDATE: I got everything working! Thank you so much for everyone that helped me! I only have one issue that remains, which is the game making me delete the options.txt file every time I want to launch the game. If anyone knows how to fix this, I'd greatly appreciate you telling me!

Posted
7 hours ago, Ryaas said:

UPDATE: I got everything working! Thank you so much for everyone that helped me! I only have one issue that remains, which is the game making me delete the options.txt file every time I want to launch the game. If anyone knows how to fix this, I'd greatly appreciate you telling me!

What exactly happens when you start the game that makes you have to delete the file? My guess is that some option is malformed, but hard to say what is going wrong without more info.

Posted
12 hours ago, vemerion said:

What exactly happens when you start the game that makes you have to delete the file? My guess is that some option is malformed, but hard to say what is going wrong without more info.

It crashes with Error code 1, and outputs this in the latest.log

 

[04Feb2024 13:51:17.777] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Ryaas16, --version, 1.20.1-forge-47.2.20, --gameDir, C:\Users\rscag\AppData\Roaming\.minecraft, --assetsDir, C:\Users\rscag\AppData\Roaming\.minecraft\assets, --assetIndex, 5, --uuid, ae195d459d194e058dbbb1906d47af89, --accessToken, ????????, --clientId, YThjNjYzMjctZjE3ZC00NzNhLWJmMDItNjRlZTc4N2NlYThl, --xuid, 2533274883257122, --userType, msa, --versionType, release, --quickPlayPath, C:\Users\rscag\AppData\Roaming\.minecraft\quickPlay\java\1707076275717.json, --launchTarget, forgeclient, --fml.forgeVersion, 47.2.20, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412]

 

 

[04Feb2024 13:51:17.790] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Microsoft; OS Windows 10 arch amd64 version 10.0


[04Feb2024 13:51:17.927] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow

 

this is my options.txt if that would also somehow help


version:3465
autoJump:false
operatorItemsTab:false
autoSuggestions:true
chatColors:true
chatLinks:true
chatLinksPrompt:true
enableVsync:true
entityShadows:true
forceUnicodeFont:false
discrete_mouse_scroll:false
invertYMouse:false
realmsNotifications:true
reducedDebugInfo:false
showSubtitles:false
directionalAudio:false
touchscreen:false
fullscreen:false
bobView:true
toggleCrouch:false
toggleSprint:false
darkMojangStudiosBackground:false
hideLightningFlashes:false
mouseSensitivity:0.5
fov:0.0
screenEffectScale:1.0
fovEffectScale:1.0
darknessEffectScale:1.0
glintSpeed:0.5
glintStrength:0.75
damageTiltStrength:1.0
highContrast:false
gamma:0.5
renderDistance:12
simulationDistance:12
entityDistanceScaling:1.0
guiScale:0
particles:0
maxFps:120
graphicsMode:1
ao:true
prioritizeChunkUpdates:0
biomeBlendRadius:2
renderClouds:"true"
resourcePacks:[]
incompatibleResourcePacks:[]
lastServer:
lang:en_us
soundDevice:""
chatVisibility:0
chatOpacity:1.0
chatLineSpacing:0.0
textBackgroundOpacity:0.5
backgroundForChatOnly:true
hideServerAddress:false
advancedItemTooltips:false
pauseOnLostFocus:true
overrideWidth:0
overrideHeight:0
chatHeightFocused:1.0
chatDelay:0.0
chatHeightUnfocused:0.4375
chatScale:1.0
chatWidth:1.0
notificationDisplayTime:1.0
mipmapLevels:4
useNativeTransport:true
mainHand:"right"
attackIndicator:1
narrator:0
tutorialStep:none
mouseWheelSensitivity:1.0
rawMouseInput:true
glDebugVerbosity:1
skipMultiplayerWarning:true
skipRealms32bitWarning:false
hideMatchedNames:true
joinedFirstServer:true
hideBundleTutorial:false
syncChunkWrites:true
showAutosaveIndicator:true
allowServerListing:true
onlyShowSecureChat:false
panoramaScrollSpeed:1.0
telemetryOptInExtra:false
onboardAccessibility:false
key_key.attack:key.mouse.left
key_key.use:key.mouse.right
key_key.forward:key.keyboard.w
key_key.left:key.keyboard.a
key_key.back:key.keyboard.s
key_key.right:key.keyboard.d
key_key.jump:key.keyboard.space
key_key.sneak:key.keyboard.left.shift
key_key.sprint:key.keyboard.left.control
key_key.drop:key.keyboard.q
key_key.inventory:key.keyboard.e
key_key.chat:key.keyboard.t
key_key.playerlist:key.keyboard.tab
key_key.pickItem:key.mouse.middle
key_key.command:key.keyboard.slash
key_key.socialInteractions:key.keyboard.p
key_key.screenshot:key.keyboard.f2
key_key.togglePerspective:key.keyboard.f5
key_key.smoothCamera:key.keyboard.unknown
key_key.fullscreen:key.keyboard.f11
key_key.spectatorOutlines:key.keyboard.unknown
key_key.swapOffhand:key.keyboard.f
key_key.saveToolbarActivator:key.keyboard.c
key_key.loadToolbarActivator:key.keyboard.x
key_key.advancements:key.keyboard.l
key_key.hotbar.1:key.keyboard.1
key_key.hotbar.2:key.keyboard.2
key_key.hotbar.3:key.keyboard.3
key_key.hotbar.4:key.keyboard.4
key_key.hotbar.5:key.keyboard.5
key_key.hotbar.6:key.keyboard.6
key_key.hotbar.7:key.keyboard.7
key_key.hotbar.8:key.keyboard.8
key_key.hotbar.9:key.keyboard.9
key_key.firstmod.use_mark:key.keyboard.r
key_key.firstmod.primary:key.mouse.4
key_key.firstmod.secondary:key.mouse.5
key_key.firstmod.use_mark:key.keyboard.r
key_key.firstmod.primary:key.mouse.4
soundCategory_master:0.5
soundCategory_music:1.0
soundCategory_record:1.0
soundCategory_weather:1.0
soundCategory_block:1.0
soundCategory_hostile:1.0
soundCategory_neutral:1.0
soundCategory_player:1.0
soundCategory_ambient:1.0
soundCategory_voice:1.0
modelPart_cape:true
modelPart_jacket:true
modelPart_left_sleeve:true
modelPart_right_sleeve:true
modelPart_left_pants_leg:true
modelPart_right_pants_leg:true
modelPart_hat:true
 

Posted
5 hours ago, vemerion said:

Hm, this does not seem to be the full log. There is no crash there at all!

That's what I was thinking, this is all it gave me for some reason

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



×
×
  • Create New...

Important Information

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