Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to rotate OBJ around specific point always?


ctbe
 Share

Recommended Posts

I previously asked this question and I was told to translate, rotate, then translate back. After many hours of debugging trying to understand what was going wrong, I have come to the conclusion that it doesn't work like that. When one rotates using GlStateManager.rotate, all the axes of the OBJ rotate as well. In other words, the final translation will translate in reference to the rotated axis, making it impossible to translate to it's previous position. For example:

 

// Move in the x axis 0.5 (works fine)
GlStateManager.translate(0.5, 0, 0)
// Rotate around the z axis, 45 degrees (code breaks. the object rotates as intended, but all the axes get rotated as well)
GlStateManager.rotate(45f, 0f, 0f, 1f)
// Return the object to its previous position (Doesn't work, translates the object diagonally because the axes changed)
GlStateManager.translate(-0.5, 0, 0)

 

How would one rotate the OBJ without the OBJ axes being rotated?

Edited by ctbe
typo
Link to comment
Share on other sites

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Thanks for the answer, but I give up. I think no one has ever managed to do a custom chest in minecraft. If they did, they had a thorough understanding of what opengl is doing. I don't.

 

I'll make my chest a simple static block. No animation or anything.

Link to comment
Share on other sites

8 minutes ago, ctbe said:

I think no one has ever managed to do a custom chest in minecraft.

Cough:

http://mod-minecraft.net/iron-chests-mod/

 

In order to rotate around a point you need to translate to the origin by that point's offset from the origin, then rotate, then translate back.

  • Like 1

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

It's okay guys. I appreciate the intention on helping :), but I'm really leaving it since this has been eating me for too long. If anyone asks me to add animation to my chests for when the lid opens and close I'll just tell them I don't know how to do it as I don't understand the GL. Don't worry :). Here is an illustration in 2D of what I meant in my first post that is happening with the gl calls.

 

Spoiler

yIGVfs.png

 

In step 3, all the axes of reference get rotated. Meaning that any translation in the x axis afterwards, will be diagonal. This is 2D, but in minecraft, all 3 axes of reference get rotated together with  the object (x, y, z).

Link to comment
Share on other sites

2 minutes ago, Elix_x said:

So I grabbed the first link on google for what I knew existed. 9.9

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

2 minutes ago, ctbe said:

In step 3, all the axes of reference get rotated. Meaning that any translation in the x axis afterwards, will be diagonal. This is 2D, but in minecraft, all 3 axes of reference get rotated together with  the object (x, y, z).

This is the definition of matrices. Understanding matrices will definitely help you solve this. I recommend watching this:

Linear transformations and matrices | Essence of linear algebra, chapter 3*

Spoiler

 

 

As for how to rotate around an axis, in 3D, you can look at how utility method is implemented in JOML:

https://github.com/JOML-CI/JOML/blob/c312304fefbe757e3d37cba866f5742b3448a85c/src/org/joml/Matrix4f.java#L11379

 

This is generic use case, but now i have to correct you. What you put in the "What is happening" is not correct. Because in both translation, rotation and scaling, coordinates do "the same" what the model does (it is actually the opposite - model does whatever you do to the coordinate system).

That said, the transformations you apply further down in the stack, actually apply to the already transformed coordinates as a whole, so

multiplication_order.jpg

 

  • Like 1
Link to comment
Share on other sites

Why thanks for the references and explanation.

 

I know I said I'm leaving it, but just to show my whole problem, here is the rendering result of my code and the code itself that makes the linked video.

 

Lid Rotation: https://vgy.me/EvxpWl


Chest Body Rotation (how I wanted the lid to rotate): https://vgy.me/NOOLZg


Code... (This code is quite a bit so don't worry if you don't look at it. I'm opting for going static.)

  1. TileEntity (TileEntitySimpleChest.kt)
  2. Block properties
  3. Block (BlockSimpleChest.kt)
  4. TileEntitySpecialRenderer (TileEntitySimpleChestRenderer.kt)
  5. Blockstate JSON (blocksimplechest.json)
  6. Chest Model (simple_chest.obj)
  7. Chest MTL (simple_chest.mtl)
  8. Lid Model (simple_chest_lid.obj)
  9. Lid MTL (simple_chest_lid.mtl)


This was an extension of the tutorial: https://wiki.mcjty.eu/modding/index.php/Render_Block_TESR_/_OBJ-1.12  but I changed a lot of it to fit my purposes. Though the rendering code is pretty much a copy paste.

 

No amount of transformation fixes the problem for me. The problem must be me and I could never identify what I was doing wrong. The code I provided here renders the first video only. The chest body rotation happens if one uses false for the IS_CHEST_LID property in the TileEntitySpecialRenderer... in case you wonder how I shifted from rotating the lid to rotate the chest body in the second video.

Edited by ctbe
Better formatting
Link to comment
Share on other sites

Just as Draco said, you have to translate the lid such that it's origin is world origin, rotate, then translate it back.

Notice GlStateManager.translate(x, y, z) in the beginning of the method. This method translates tile entity in the world view space. Now the origin (0,0,0) is "actually" the XYZ of the tile entity, AKA you're working in local coordinates - coordinates relative to the origin of tile/model. So you have to translate the lid by it's local model coordinates to local origin and back. Ex: GL.trans(-lidModelCoords).rot(rot).trans(lidModelCoords).

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

 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Error in Aquaculture, the mod does not use the Forge Registry System correctly. I would recommend you to report the bug to the mod author.
    • basic java is required for modding minecraft  Also coremodding/mixin is not supported on this Forum, if you have a real case to use mixin, refer to the Forge Discord into the channel non-api-modding
    • For next time do not create a new Thread, since the Moderators can move a Thread into the correct Sub Forum
    • Right so I've tri this, and I got the exact same crash as before. Here's the log: [06Dec2021 16:19:32.734] [Render thread/INFO] [journeymap/]: PostInit [06Dec2021 16:19:32.902] [Render thread/INFO] [journeymap/]: JourneyMap log initialized. [06Dec2021 16:19:32.903] [Render thread/INFO] [journeymap/]: initialize ENTER [06Dec2021 16:19:33.087] [Render thread/WARN] [journeymap/]: core (Initialized) Bad configField entry during updateFrom(): optionsManagerViewed=null [06Dec2021 16:19:33.087] [Render thread/WARN] [journeymap/]: core (Initialized) Bad configField entry during updateFrom(): splashViewed=null [06Dec2021 16:19:33.154] [Render thread/WARN] [journeymap/]: Couldn't determine locale from game settings, defaulting to en_AU [06Dec2021 16:19:33.184] [Render thread/INFO] [journeymap/]: [ClientAPI] built with JourneyMap API 1.5-SNAPSHOT [06Dec2021 16:19:33.185] [Render thread/INFO] [journeymap/]: Initializing plugins with Client API: journeymap.client.api.impl.ClientAPI [06Dec2021 16:19:33.185] [Render thread/INFO] [journeymap/]: initialize EXIT, elapsed count 0 avg ?ms [06Dec2021 16:19:33.185] [Render thread/DEBUG] [journeymap/]: postInitialize ENTER [06Dec2021 16:19:33.415] [Render thread/DEBUG] [journeymap/]: Handler registered: journeymap.client.forge.event.KeyEventHandler [06Dec2021 16:19:33.420] [Render thread/DEBUG] [journeymap/]: Handler registered: journeymap.client.forge.event.ChatEventHandler [06Dec2021 16:19:33.425] [Render thread/DEBUG] [journeymap/]: Handler registered: journeymap.client.forge.event.StateTickHandler [06Dec2021 16:19:33.430] [Render thread/DEBUG] [journeymap/]: Handler registered: journeymap.client.forge.event.WorldEventHandler [06Dec2021 16:19:33.436] [Render thread/DEBUG] [journeymap/]: Handler registered: journeymap.client.forge.event.WaypointBeaconHandler [06Dec2021 16:19:33.439] [Render thread/DEBUG] [journeymap/]: Handler registered: journeymap.client.forge.event.TextureAtlasHandler [06Dec2021 16:19:33.440] [Render thread/DEBUG] [journeymap/]: Handler registered: journeymap.client.forge.event.MiniMapOverlayHandler [06Dec2021 16:19:33.445] [Render thread/DEBUG] [journeymap/]: Handler registered: journeymap.client.forge.event.PlayerConnectHandler [06Dec2021 16:19:33.451] [Render thread/DEBUG] [journeymap/]: Handler registered: journeymap.client.world.ChunkMonitor [06Dec2021 16:19:33.460] [Render thread/ERROR] [journeymap/]: Couldn't locate icons for Default: F:\Games\MultiMC\instances\HR-%20New%20Beginnings\minecraft\mods\journeymap-1.15.2-5.7.0b3.jar\assets\journeymap\icon\entity [06Dec2021 16:19:33.460] [Render thread/INFO] [journeymap/]: Added entity icons from journeymap:icon/entity. Success: false [06Dec2021 16:19:33.468] [Render thread/ERROR] [journeymap/]: Couldn't locate icons for flat: F:\Games\MultiMC\instances\HR-%20New%20Beginnings\minecraft\mods\journeymap-1.15.2-5.7.0b3.jar\assets\journeymap\theme\flat [06Dec2021 16:19:33.489] [Render thread/INFO] [journeymap/]: Preloaded theme textures: 0 [06Dec2021 16:19:33.502] [Render thread/DEBUG] [journeymap/]: postInitialize EXIT, elapsed count 1 avg 315.56ms [06Dec2021 16:19:33.502] [Server-Worker-9/INFO] [net.minecraftforge.fml.DeferredWorkQueue/LOADING]: Synchronous work queue completed in 00:00:00.783 [06Dec2021 16:19:33.582] [Server-Worker-9/DEBUG] [net.minecraftforge.registries.ClearableRegistry/REGISTRY]: minecraft:feature: Clearing registry [06Dec2021 16:19:33.609] [Server-Worker-9/DEBUG] [mixin/]: Mixing block.MixinBlockStateCache from phosphor.mixins.json into net.minecraft.block.BlockState$Cache [06Dec2021 16:19:34.400] [JM-VersionCheck-1/INFO] [journeymap/]: Newer version online: JourneyMap 5.7.0beta1.jar for Minecraft 1.15.2 on http://minecraft.curseforge.com/projects/journeymap/files/2894436 [06Dec2021 16:19:51.702] [Render thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized. [06Dec2021 16:19:51.703] [Render thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started [06Dec2021 16:19:52.096] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x128x0 jei:textures/atlas/gui.png-atlas [06Dec2021 16:19:52.156] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 2048x2048x4 minecraft:textures/atlas/blocks.png-atlas [06Dec2021 16:19:52.312] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/signs.png-atlas [06Dec2021 16:19:52.322] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas [06Dec2021 16:19:52.323] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas [06Dec2021 16:19:52.324] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 1024x1024x4 minecraft:textures/atlas/chest.png-atlas [06Dec2021 16:19:52.327] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas [06Dec2021 16:19:52.330] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas [06Dec2021 16:20:00.187] [Render thread/INFO] [Mystical Agriculture/]: Model replacement took 17 ms [06Dec2021 16:20:01.930] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas [06Dec2021 16:20:01.932] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas [06Dec2021 16:20:01.932] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/mob_effects.png-atlas [06Dec2021 16:20:02.110] [Render thread/DEBUG] [IPCClient/]: Sending RichPresence to discord: {"assets":{"small_image":"uteamcore","small_text":"U-Team Core","large_image":"minecraft","large_text":"Minecraft"},"instance":false,"timestamps":{"start":1638767898},"details":"1.15.2 with 109 Mods","state":"Idling in menu","secrets":{}} [06Dec2021 16:20:02.111] [Render thread/DEBUG] [IPCClient/]: Sent packet: Pkt:FRAME{"args":{"activity":{"assets":{"small_image":"uteamcore","small_text":"U-Team Core","large_image":"minecraft","large_text":"Minecraft"},"instance":false,"timestamps":{"start":1638767898},"details":"1.15.2 with 109 Mods","state":"Idling in menu","secrets":{}},"pid":2572},"cmd":"SET_ACTIVITY","nonce":"e355ceb5-f647-4c46-83d3-de91be75778c"} [06Dec2021 16:20:02.118] [Render thread/DEBUG] [mixin/]: Mixing ClientRecipeBookMixin from midnight.mixins.json into net.minecraft.client.util.ClientRecipeBook [06Dec2021 16:20:02.121] [Render thread/DEBUG] [mixin/]: Renaming synthetic method lambda$newRecipeList$1(Lnet/minecraft/client/util/RecipeBookCategories;)Ljava/util/List; to mdad46f9$lambda$newRecipeList$1$0 in midnight.mixins.json:ClientRecipeBookMixin [06Dec2021 16:20:02.121] [Render thread/DEBUG] [mixin/]: Renaming synthetic method lambda$newRecipeList$0(Lnet/minecraft/client/util/RecipeBookCategories;)Ljava/util/List; to mdad46f9$lambda$newRecipeList$0$1 in midnight.mixins.json:ClientRecipeBookMixin [06Dec2021 16:20:02.132] [Render thread/WARN] [mixin/]: @Final field field_197931_e:Ljava/util/Map; in midnight.mixins.json:ClientRecipeBookMixin should be final [06Dec2021 16:20:02.132] [Render thread/WARN] [mixin/]: @Final field field_197932_f:Ljava/util/List; in midnight.mixins.json:ClientRecipeBookMixin should be final [06Dec2021 16:20:02.162] [Thread-25/DEBUG] [IPCClient/]: Received packet: Pkt:FRAME{"evt":null,"data":{"assets":{"small_image":"449588211862208512","small_text":"U-Team Core","large_image":"427223277530906624","large_text":"Minecraft"},"timestamps":{"start":1638767898000},"name":"Minecraft","details":"1.15.2 with 109 Mods","state":"Idling in menu","type":0,"secrets":{},"application_id":"427196986064764928"},"cmd":"SET_ACTIVITY","nonce":"e355ceb5-f647-4c46-83d3-de91be75778c"} [06Dec2021 16:20:02.179] [Render thread/INFO] [com.tmtravlr.soundfilters.SoundFiltersMod/]: Sound Filters successfully loaded the sound channels [06Dec2021 16:20:02.215] [Render thread/INFO] [ambientsounds/]: Successfully loaded sound engine. 11 dimension(s) and 32 region(s) [06Dec2021 16:20:13.629] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498] [06Dec2021 16:20:13.630] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [06Dec2021 16:20:13.632] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0] [06Dec2021 16:20:13.633] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498] [06Dec2021 16:20:13.634] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [06Dec2021 16:20:13.701] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Starting integrated minecraft server version 1.15.2 [06Dec2021 16:20:13.701] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Generating keypair [06Dec2021 16:20:13.797] [Server thread/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing serverconfig directory : F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\saves\Wooooorld\serverconfig [06Dec2021 16:20:13.797] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Loading configs type SERVER [06Dec2021 16:20:13.797] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\saves\Wooooorld\serverconfig\mining_dimension-server.toml [06Dec2021 16:20:13.797] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\saves\Wooooorld\serverconfig\mining_dimension-server.toml [06Dec2021 16:20:13.798] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Watching TOML config file F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\saves\Wooooorld\serverconfig\mining_dimension-server.toml for changes [06Dec2021 16:20:13.800] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\saves\Wooooorld\serverconfig\essentials-server.toml [06Dec2021 16:20:13.801] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\saves\Wooooorld\serverconfig\essentials-server.toml [06Dec2021 16:20:13.801] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Watching TOML config file F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\saves\Wooooorld\serverconfig\essentials-server.toml for changes [06Dec2021 16:20:13.803] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\config\vanillatweaks\Content.toml [06Dec2021 16:20:13.805] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\config\vanillatweaks\Content.toml [06Dec2021 16:20:13.806] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Watching TOML config file F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\config\vanillatweaks\Content.toml for changes [06Dec2021 16:20:13.808] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\saves\Wooooorld\serverconfig\midnight-server.toml [06Dec2021 16:20:13.809] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception com.electronwill.nightconfig.core.io.ParsingException: Not enough data available at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22) ~[core-3.6.2.jar:?] at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36) ~[core-3.6.2.jar:?] at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49) ~[core-3.6.2.jar:?] at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123) ~[core-3.6.2.jar:?] at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166) ~[toml-3.6.2.jar:?] at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145) ~[toml-3.6.2.jar:?] at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) ~[toml-3.6.2.jar:?] at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:101) ~[toml-3.6.2.jar:?] at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:88) ~[toml-3.6.2.jar:?] at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[toml-3.6.2.jar:?] at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[core-3.6.2.jar:?] at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[core-3.6.2.jar:?] at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.2.jar:?] at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[core-3.6.2.jar:?] at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) ~[core-3.6.2.jar:?] at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:53) ~[?:?] at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:104) ~[?:?] at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:83) ~[?:?] at java.lang.Iterable.forEach(Unknown Source) ~[?:1.8.0_311] at java.util.Collections$SynchronizedCollection.forEach(Unknown Source) ~[?:1.8.0_311] at net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:83) ~[?:?] at net.minecraftforge.fml.server.ServerLifecycleHooks.handleServerAboutToStart(ServerLifecycleHooks.java:87) ~[?:?] at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:95) ~[?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:613) [?:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_311] [06Dec2021 16:20:13.843] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: This crash report has been saved to: F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\crash-reports\crash-2021-12-06_16.20.13-server.txt [06Dec2021 16:20:13.844] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Stopping server [06Dec2021 16:20:13.844] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving players [06Dec2021 16:20:13.844] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving worlds [06Dec2021 16:20:13.865] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Exception stopping the server java.lang.IllegalArgumentException: Can not hotload overworld. This must be loaded at all times by main Server. at org.apache.commons.lang3.Validate.isTrue(Validate.java:158) ~[commons-lang3-3.5.jar:3.5] at net.minecraftforge.common.DimensionManager.initWorld(DimensionManager.java:274) ~[?:?] at net.minecraftforge.common.DimensionManager.getWorld(DimensionManager.java:208) ~[?:?] at net.minecraft.server.MinecraftServer.func_71218_a(MinecraftServer.java:1004) ~[?:?] at net.minecraft.server.MinecraftServer.func_213211_a(MinecraftServer.java:536) ~[?:?] at net.minecraft.server.MinecraftServer.func_71260_j(MinecraftServer.java:568) ~[?:?] at net.minecraft.server.integrated.IntegratedServer.func_71260_j(IntegratedServer.java:216) ~[?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:676) [?:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_311] [06Dec2021 16:20:13.896] [Server thread/DEBUG] [net.minecraftforge.registries.ClearableRegistry/REGISTRY]: minecraft:feature: Clearing registry [06Dec2021 16:20:15.736] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup midnight:tree_hopper for public static net.minecraft.entity.EntityType com.mushroom.midnight.common.registry.MidnightEntities.TREE_HOPPER. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.737] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup aquaculture:fish_fillet for public static net.minecraft.item.Item com.teammetallurgy.aquaculture.init.AquaItems.FISH_FILLET. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.737] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup aquaculture:nessage_in_a_bottle for public static net.minecraft.item.Item com.teammetallurgy.aquaculture.init.AquaItems.NESSAGE_IN_A_BOTTLE. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.738] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup waddles:adelie_death for public static net.minecraft.util.SoundEvent com.girafi.waddles.init.WaddlesSounds.ADELIE_DEATH. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.738] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup aquaculture:cooked_fillet for public static net.minecraft.item.Item com.teammetallurgy.aquaculture.init.AquaItems.COOKED_FILLET. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.738] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup aquaculture:frog_legs for public static net.minecraft.item.Item com.teammetallurgy.aquaculture.init.AquaItems.FROG_LEGS. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.739] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup snowundertrees:snow_under_trees for public static net.minecraft.world.gen.feature.Feature bl4ckscor3.mod.snowundertrees.SnowUnderTrees.SNOW_UNDER_TREES. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.739] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup midnight:dead_viridshroom_and_cache for public static net.minecraft.world.gen.feature.Feature com.mushroom.midnight.common.registry.MidnightFeatures.DEAD_VIRIDSHROOM_AND_CACHE. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.739] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup aquaculture:neptunium_legs for public static net.minecraft.item.Item com.teammetallurgy.aquaculture.init.AquaItems.NEPTUNIUM_LEGS. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.741] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup aquaculture:neptinium_fillet_knife for public static net.minecraft.item.Item com.teammetallurgy.aquaculture.init.AquaItems.NEPTINIUM_FILLET_KNIFE. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.741] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup waddles:adelie_baby_ambient for public static net.minecraft.util.SoundEvent com.girafi.waddles.init.WaddlesSounds.ADELIE_BABY_AMBIENT. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.742] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup midnight:penumbrian for public static net.minecraft.entity.EntityType com.mushroom.midnight.common.registry.MidnightEntities.PENUMBRIAN. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.742] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup aquaculture:neptunium_plate for public static net.minecraft.item.Item com.teammetallurgy.aquaculture.init.AquaItems.NEPTUNIUM_PLATE. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.743] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup midnight:shade_squirrel for public static net.minecraft.entity.EntityType com.mushroom.midnight.common.registry.MidnightEntities.SHADE_SQUIRREL. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.744] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup essentialfeatures:portable_jukebox for public static net.minecraft.item.Item its_meow.betteranimalsplus.common.CommonEventHandler.PORTABLE_JUKEBOX. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.745] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup aquaculture:cooked_frog_legs for public static net.minecraft.item.Item com.teammetallurgy.aquaculture.init.AquaItems.COOKED_FROG_LEGS. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.745] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup waddles:adelie_ambient for public static net.minecraft.util.SoundEvent com.girafi.waddles.init.WaddlesSounds.ADELIE_AMBIENT. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.745] [Server thread/DEBUG] [net.minecraftforge.registries.ObjectHolderRef/]: Unable to lookup waddles:adelie_hurt for public static net.minecraft.util.SoundEvent com.girafi.waddles.init.WaddlesSounds.ADELIE_HURT. This means the object wasn't registered. It's likely just mod options. [06Dec2021 16:20:15.754] [Server thread/DEBUG] [com.direwolf20.buildinggadgets.common.BuildingGadgets/]: Clearing save caches [06Dec2021 16:20:15.754] [Server thread/DEBUG] [com.direwolf20.buildinggadgets.common.BuildingGadgets/]: Finished clearing save caches [06Dec2021 16:20:15.754] [Server thread/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing serverconfig directory : F:\Games\MultiMC\instances\HR- New Beginnings\minecraft\saves\Wooooorld\serverconfig [06Dec2021 16:20:15.754] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Unloading configs type SERVER [06Dec2021 16:20:19.556] [Discord Rich Presence Timer Thread/DEBUG] [IPCClient/]: Sending RichPresence to discord: {"assets":{"small_image":"uteamcore","small_text":"U-Team Core","large_image":"minecraft","large_text":"Minecraft"},"instance":false,"timestamps":{"start":1638767898},"details":"1.15.2 with 109 Mods","state":"Idling in menu","secrets":{}} [06Dec2021 16:20:19.557] [Discord Rich Presence Timer Thread/DEBUG] [IPCClient/]: Sent packet: Pkt:FRAME{"args":{"activity":{"assets":{"small_image":"uteamcore","small_text":"U-Team Core","large_image":"minecraft","large_text":"Minecraft"},"instance":false,"timestamps":{"start":1638767898},"details":"1.15.2 with 109 Mods","state":"Idling in menu","secrets":{}},"pid":2572},"cmd":"SET_ACTIVITY","nonce":"a2147afd-261d-450b-959d-5d5fec73e6cf"} [06Dec2021 16:20:19.581] [Thread-25/DEBUG] [IPCClient/]: Received packet: Pkt:FRAME{"evt":null,"data":{"assets":{"small_image":"449588211862208512","small_text":"U-Team Core","large_image":"427223277530906624","large_text":"Minecraft"},"timestamps":{"start":1638767898000},"name":"Minecraft","details":"1.15.2 with 109 Mods","state":"Idling in menu","type":0,"secrets":{},"application_id":"427196986064764928"},"cmd":"SET_ACTIVITY","nonce":"a2147afd-261d-450b-959d-5d5fec73e6cf"} This should be all relevant log info. I've no idea what's causing this issue. Perhaps the worlds just fucked and I have to say goodbye to my hard work; it could have been an issue caused by the fact that this is all saved on an external hard drive. Any help is appreciated
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.