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

[1.12.1][SOLVED] Is it possible to change the rotation point of a OBJ model?


ctbe
 Share

Recommended Posts

Been a couple of hours trying to change the rotation point of the handles in this code's TESR: https://wiki.mcjty.eu/modding/index.php/Render_Block_TESR_/_OBJ-1.12

 

The following

GlStateManager.rotate(angle, 0, 1, 0);

 

rotates around the origin of the OBJ model. I'd like to change the pivot point the rotate method will end up using. I'm originally practicing with this tutorial to understand the concepts to then make a custom chest, but if there is a way to change this it may also help me with another OBJ item I have in which the item rotates weirdly when thrown as an item into the world.

Edited by ctbe
Mark as solved
Link to comment
Share on other sites

Translate, rotate, 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

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

    • i want to play on my server with the create and a potato mod but it says I have to download this first  
    • Could be a problem with StructureGel, Create, Flywheel or Securitycraft.
    • Soooo my Game keeps crashing and i dont even know whats causing it. Im using my own Modpack which is 79 Mods big. Heres the Crashreport, i hope someone could help me: --- Minecraft Crash Report ---- // Why did you do that? Time: 22.01.22, 13:26 Description: Rendering screen java.lang.NullPointerException: Cannot invoke "net.minecraft.CrashReport.m_127526_()" because "p_91333_" is null     at net.minecraft.client.Minecraft.m_91332_(Minecraft.java:772) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.doLoadLevel(Minecraft.java:1973) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.lambda$doLoadLevel$39(Minecraft.java:1993) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.lambda$displayExperimentalConfirmationDialog$41(Minecraft.java:2028) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.ConfirmScreen.m_169258_(ConfirmScreen.java:56) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:classloading}     at net.minecraft.client.gui.components.Button.m_5691_(Button.java:40) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,re:classloading}     at com.legacy.structure_gel.core.events.SGClientEvents.skipExperimentalBackupScreen(SGClientEvents.java:73) ~[structure_gel-1.18.1-2.1.2.jar%23113!/:2.1.2] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:381) ~[forge-1.18.1-39.0.56-universal.jar%23134!/:?] {re:classloading}     at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:373) ~[forge-1.18.1-39.0.56-universal.jar%23134!/:?] {re:classloading}     at jdk.internal.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.optifine.reflect.Reflector.callVoid(Reflector.java:682) ~[OptiFine_1.18.1_HD_U_H4.jar%23135!/:?] {re:classloading}     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:1276) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,xf:fml:voidscape:camerahurt,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,xf:fml:voidscape:camerahurt,pl:mixin:APP:securitycraft.mixins.json:camera.GameRendererMixin,pl:mixin:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1040) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:660) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.0.56.jar%2323!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at net.minecraft.client.Minecraft.m_91332_(Minecraft.java:772) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.doLoadLevel(Minecraft.java:1973) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.lambda$doLoadLevel$39(Minecraft.java:1993) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.lambda$displayExperimentalConfirmationDialog$41(Minecraft.java:2028) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.ConfirmScreen.m_169258_(ConfirmScreen.java:56) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:classloading}     at net.minecraft.client.gui.components.Button.m_5691_(Button.java:40) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,re:classloading}     at com.legacy.structure_gel.core.events.SGClientEvents.skipExperimentalBackupScreen(SGClientEvents.java:73) ~[structure_gel-1.18.1-2.1.2.jar%23113!/:2.1.2] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:381) ~[forge-1.18.1-39.0.56-universal.jar%23134!/:?] {re:classloading}     at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:373) ~[forge-1.18.1-39.0.56-universal.jar%23134!/:?] {re:classloading}     at jdk.internal.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.optifine.reflect.Reflector.callVoid(Reflector.java:682) ~[OptiFine_1.18.1_HD_U_H4.jar%23135!/:?] {re:classloading} -- Screen render details -- Details:     Screen name: net.minecraft.client.gui.screens.LevelLoadingScreen     Mouse location: Scaled: (201, 222). Absolute: (402.000000, 444.000000)     Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2.000000 Stacktrace:     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:1276) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,xf:fml:voidscape:camerahurt,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,xf:fml:voidscape:camerahurt,pl:mixin:APP:securitycraft.mixins.json:camera.GameRendererMixin,pl:mixin:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1040) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:660) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.0.56.jar%2323!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} -- Last reload -- Details:     Reload number: 1     Reload reason: initial     Finished: Yes     Packs: Mod Resources, Default Stacktrace:     at net.minecraft.client.ResourceLoadStateTracker.m_168562_(ResourceLoadStateTracker.java:49) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:classloading}     at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2255) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:677) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.0.56.jar%2323!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} -- System Details -- Details:     Minecraft Version: 1.18.1     Minecraft Version ID: 1.18.1     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.1, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 2074522088 bytes (1978 MiB) / 6912212992 bytes (6592 MiB) up to 8589934592 bytes (8192 MiB)     CPUs: 4     Processor Vendor: GenuineIntel     Processor Name: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz     Identifier: Intel64 Family 6 Model 142 Stepping 9     Microarchitecture: Amber Lake     Frequency (GHz): 2,90     Number of physical packages: 1     Number of physical CPUs: 2     Number of logical CPUs: 4     Graphics card #0 name: Intel(R) HD Graphics 620     Graphics card #0 vendor: Intel Corporation (0x8086)     Graphics card #0 VRAM (MB): 1024,00     Graphics card #0 deviceId: 0x5916     Graphics card #0 versionInfo: DriverVersion=27.20.100.8854     Memory slot #0 capacity (MB): 8192,00     Memory slot #0 clockSpeed (GHz): 2,13     Memory slot #0 type: DDR4     Virtual memory max (MB): 32659,75     Virtual memory used (MB): 14018,09     Swap memory total (MB): 24576,00     Swap memory used (MB): 2183,98     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx8G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Launched Version: 1.18.1-forge-39.0.56     Backend library: LWJGL version 3.2.2 SNAPSHOT     Backend API: Intel(R) HD Graphics 620 GL version 3.2.0 - Build 27.20.100.8854, Intel     Window size: 854x480     GL Caps: Using framebuffer using OpenGL 3.2     GL debug messages:      Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge'     Type: Integrated Server (map_client.txt)     Graphics mode: fast     Resource Packs: mod_resources, vanilla, quark:emote_resources (incompatible)     Current Language: English (US)     CPU: 4x Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz     Server Running: true     Player Count: 0 / 8; []     Data Packs: vanilla, mod:extraarmor (incompatible), mod:cyclopscore, mod:quarkoddities (incompatible), mod:blue_skies (incompatible), mod:dusk (incompatible), mod:shrines (incompatible), mod:jei (incompatible), mod:conjurer_illager (incompatible), mod:soaringstructures2 (incompatible), mod:libraryferret, mod:wonderful_enchantments (incompatible), mod:looot (incompatible), mod:waystones, mod:weaponthrow, mod:clumps (incompatible), mod:oresabovediamonds (incompatible), mod:awesomedungeon, mod:citadel, mod:sereneseasons (incompatible), mod:feature_nbt_deadlock_be_gone, mod:dungeoncrawl, mod:chancecubes (incompatible), mod:balm (incompatible), mod:waterstrainer, mod:vtweaks (incompatible), mod:beyond_earth (incompatible), mod:paraglider (incompatible), mod:forge, mod:chococraft, mod:structure_gel, mod:selene (incompatible), mod:ironchest, mod:dungeons_arise, mod:awesomedungeonocean, mod:tinyskeletons, mod:castle_in_the_sky (incompatible), mod:farmersdelight, mod:repurposed_structures, mod:panthalassa (incompatible), mod:morevillagers (incompatible), mod:endrem (incompatible), mod:majrusz_library (incompatible), mod:dimdungeons (incompatible), mod:flywheel, mod:create, mod:curios, mod:tetra (incompatible), mod:structure_spawn_loader, mod:patchouli, mod:mutil (incompatible), mod:advancednetherite, mod:autoreglib (incompatible), mod:securitycraft, mod:villagertools (incompatible), mod:regrowth (incompatible), mod:gobber2 (incompatible), mod:majruszs_difficulty (incompatible), mod:majruszs_accessories (incompatible), mod:workshopsofdoom, mod:hunterillager, mod:cfm, mod:architectury (incompatible), mod:mtr (incompatible), mod:londonunderground (incompatible), mod:vampirism, mod:solcarrot (incompatible), mod:puzzleslib, mod:voidscape (incompatible), mod:aquaculture (incompatible), mod:the_bumblezone, mod:crossbowverhaul, mod:frostrealm (incompatible), mod:valhelsia_core, mod:valhelsia_structures, mod:chiselsandbits, mod:geckolib3 (incompatible), mod:ars_nouveau (incompatible)     OptiFine Version: OptiFine_1.18.1_HD_U_H4     OptiFine Build: 20211212-175054     Render Distance Chunks: 4     Mipmaps: 4     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: null     OpenGlVersion: 3.2.0 - Build 27.20.100.8854     OpenGlRenderer: Intel(R) HD Graphics 620     OpenGlVendor: Intel     CpuCount: 4     ModLauncher: 9.1.0+9.1.0+main.6690ee51     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:           mixin PLUGINSERVICE           eventbus PLUGINSERVICE           object_holder_definalize PLUGINSERVICE           runtime_enum_extender PLUGINSERVICE           capability_token_subclass PLUGINSERVICE           accesstransformer PLUGINSERVICE           runtimedistcleaner PLUGINSERVICE           mixin TRANSFORMATIONSERVICE           OptiFine TRANSFORMATIONSERVICE           fml TRANSFORMATIONSERVICE      FML Language Providers:          minecraft@1.0         javafml@null     Mod List:          ExtraArmor-1.18-1.13.3.jar                        |Extra Armor                   |extraarmor                    |1.18-1.13.3         |DONE      |Manifest: NOSIGNATURE         CyclopsCore-1.18.1-1.12.1.jar                     |Cyclops Core                  |cyclopscore                   |1.12.1              |DONE      |Manifest: NOSIGNATURE         QuarkOddities-1.18.jar                            |Quark Oddities                |quarkoddities                 |1.18                |DONE      |Manifest: NOSIGNATURE         blue_skies-1.18.1-1.3.2.jar                       |Blue Skies                    |blue_skies                    |1.3.2               |DONE      |Manifest: NOSIGNATURE         dusk-1.18-1.7.jar                                 |Dusk Mod                      |dusk                          |1.18-1.7            |DONE      |Manifest: NOSIGNATURE         Shrines-1.18.1-3.0.0-Beta8.jar                    |Shrines                       |shrines                       |1.18.1-3.0.0-Beta8  |DONE      |Manifest: NOSIGNATURE         jei-1.18.1-9.2.1.69.jar                           |Just Enough Items             |jei                           |9.2.1.69            |DONE      |Manifest: NOSIGNATURE         the-conjurer-1.18.1-1.1.1.jar                     |The Conjurer                  |conjurer_illager              |1.1.1               |DONE      |Manifest: NOSIGNATURE         Soaring-Structures-2-1.18.1-2.1.jar               |Soaring Structures 2          |soaringstructures2            |1.18.1 - 2.1        |DONE      |Manifest: NOSIGNATURE         LibraryFerret-Forge-1.18.1-1.0.3.jar              |Library ferret                |libraryferret                 |1.0.3               |DONE      |Manifest: NOSIGNATURE         wonderful-enchantments-1.18.1-1.6.1.jar           |Wonderful Enchantments        |wonderful_enchantments        |1.6.1               |DONE      |Manifest: NOSIGNATURE         looot-1.18-1.1.0.0.jar                            |Looot                         |looot                         |1.1.0.0             |DONE      |Manifest: NOSIGNATURE         waystones-forge-1.18.1-9.0.3.jar                  |Waystones                     |waystones                     |9.0.3               |DONE      |Manifest: NOSIGNATURE         WeaponThrow-1.18-5.5.jar                          |Weapon Throw                  |weaponthrow                   |1.18-5.5            |DONE      |Manifest: NOSIGNATURE         Clumps-forge-1.18.1-8.0.4.jar                     |Clumps                        |clumps                        |8.0.4               |DONE      |Manifest: NOSIGNATURE         oresabovediamonds-1.18.1-v8.0.2.jar               |Ores Above Diamonds           |oresabovediamonds             |8.0.2               |DONE      |Manifest: NOSIGNATURE         awesomedungeon-2.0.4.jar                          |Awesome Dungeon               |awesomedungeon                |2.0.4               |DONE      |Manifest: NOSIGNATURE         citadel-1.10.8-1.18.jar                           |Citadel                       |citadel                       |1.10.8              |DONE      |Manifest: NOSIGNATURE         SereneSeasons-1.18.1-6.0.0.10-universal.jar       |Serene Seasons                |sereneseasons                 |1.18.1-6.0.0.10     |DONE      |Manifest: NOSIGNATURE         feature_nbt_deadlock_be_gone_forge-1.0.0+1.18.1.ja|Feature NBT Deadlock Be Gone  |feature_nbt_deadlock_be_gone  |1.0.0+1.18.1        |DONE      |Manifest: NOSIGNATURE         DungeonCrawl-1.18.1-2.3.6.jar                     |Dungeon Crawl                 |dungeoncrawl                  |2.3.6               |DONE      |Manifest: NOSIGNATURE         ChanceCubes-1.18.1-5.0.2.444.jar                  |Chance Cubes                  |chancecubes                   |1.18.1-5.0.2.444    |DONE      |Manifest: NOSIGNATURE         balm-2.4.1+0 (1).jar                              |Balm                          |balm                          |2.4.1+0             |DONE      |Manifest: NOSIGNATURE         WaterStrainer-1.18-12.1.0.jar                     |Water Strainer                |waterstrainer                 |1.18-12.1.0         |DONE      |Manifest: NOSIGNATURE         VTweaks-1.18-3.5.4.jar                            |V-Tweaks                      |vtweaks                       |3.5.4               |DONE      |Manifest: NOSIGNATURE         Beyond-Earth-1.18.1-6.0b.jar                      |Beyond Earth                  |beyond_earth                  |6.0                 |DONE      |Manifest: NOSIGNATURE         Paraglider-1.18-1.5.0.0.jar                       |Paraglider                    |paraglider                    |1.5.0.0             |DONE      |Manifest: NOSIGNATURE         forge-1.18.1-39.0.56-universal.jar                |Forge                         |forge                         |39.0.56             |DONE      |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90         chococraft-1.18.1-0.2.1.jar                       |Chococraft 4                  |chococraft                    |0.2.1               |DONE      |Manifest: NOSIGNATURE         structure_gel-1.18.1-2.1.2.jar                    |Structure Gel API             |structure_gel                 |2.1.2               |DONE      |Manifest: NOSIGNATURE         selene-1.18-1.11.jar                              |Selene                        |selene                        |1.18-1.11.0         |DONE      |Manifest: NOSIGNATURE         ironchest-1.18-13.0.7.jar                         |Iron Chests                   |ironchest                     |1.18-13.0.7         |DONE      |Manifest: NOSIGNATURE         DungeonsArise-1.18.1-2.1.49c-beta.jar             |When Dungeons Arise           |dungeons_arise                |2.1.49c-1.18.1      |DONE      |Manifest: NOSIGNATURE         AwesomeDungeonOcean-Forge-1.18-2.0.3.jar          |Awesome Dungeon Ocean         |awesomedungeonocean           |2.0.3               |DONE      |Manifest: NOSIGNATURE         TinySkeletons-v3.1.0-1.18.1-Forge.jar             |Tiny Skeletons                |tinyskeletons                 |3.1.0               |DONE      |Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a         castle_in_the_sky-1.18.1-0.3.2.jar                |Castle in the sky             |castle_in_the_sky             |1.18.1              |DONE      |Manifest: NOSIGNATURE         client-1.18.1-20211210.034407-srg.jar             |Minecraft                     |minecraft                     |1.18.1              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f         FarmersDelight-1.18.1-1.0.3.jar                   |Farmer's Delight              |farmersdelight                |1.18.1-1.0.3        |DONE      |Manifest: NOSIGNATURE         repurposed_structures_forge-4.2.3+1.18.1.jar      |Repurposed Structures         |repurposed_structures         |4.2.3+1.18.1        |DONE      |Manifest: NOSIGNATURE         panthalassa-0.8.0+1.18.1.jar                      |Panthalassa Mod               |panthalassa                   |0.0NONE             |DONE      |Manifest: NOSIGNATURE         morevillagers-FORGE-1.18.1-3.1.1.jar              |More Villagers                |morevillagers                 |3.1.1               |DONE      |Manifest: NOSIGNATURE         endrem_forge-5.0.1-R-1.18.1.jar                   |End Remastered                |endrem                        |5.0-R-1.18.1        |DONE      |Manifest: NOSIGNATURE         majrusz-library-1.18.1-2.7.1.jar                  |Majrusz Library               |majrusz_library               |2.7.1               |DONE      |Manifest: NOSIGNATURE         dimdungeons-1.13.2-forge-1.18.1.jar               |Dimensional Dungeons          |dimdungeons                   |1.13.2              |DONE      |Manifest: NOSIGNATURE         flywheel-forge-1.18-0.5.1.jar                     |Flywheel                      |flywheel                      |1.18-0.5.1          |DONE      |Manifest: NOSIGNATURE         create-mc1.18.1_v0.4c.jar                         |Create                        |create                        |0.4c                |DONE      |Manifest: NOSIGNATURE         curios-forge-1.18.1-5.0.4.2.jar                   |Curios API                    |curios                        |1.18.1-5.0.4.2      |DONE      |Manifest: NOSIGNATURE         tetra-1.18.1-4.4.0.jar                            |Tetra                         |tetra                         |4.4.0               |DONE      |Manifest: NOSIGNATURE         structure_spawn_loader-1.18.1-1.0.0.0.jar         |Structure Spawn Loader        |structure_spawn_loader        |1.0.0.0             |DONE      |Manifest: NOSIGNATURE         Patchouli-1.18.1-63.jar                           |Patchouli                     |patchouli                     |1.18.1-63           |DONE      |Manifest: NOSIGNATURE         mutil-1.18.1-4.2.0.jar                            |mutil                         |mutil                         |4.2.0               |DONE      |Manifest: NOSIGNATURE         advancednetherite-1.10.0-1.18.1.jar               |Advanced Netherite            |advancednetherite             |1.10.0              |DONE      |Manifest: NOSIGNATURE         AutoRegLib-1.7-52.jar                             |AutoRegLib                    |autoreglib                    |1.7-52              |DONE      |Manifest: NOSIGNATURE         [1.18.1]+SecurityCraft+v1.9.0.2-beta1.jar         |SecurityCraft                 |securitycraft                 |1.9.0.2-beta1       |DONE      |Manifest: NOSIGNATURE         villagertools-1.18-1.0.2.jar                      |villagertools                 |villagertools                 |1.18-1.0.2          |DONE      |Manifest: 1f:47:ac:b1:61:82:96:b8:47:19:16:d2:61:81:11:60:3a:06:4b:61:31:56:7d:44:31:1e:0c:6f:22:5b:4c:ed         Regrowth--1.18.1-1.39.0.25.jar                    |Regrowth Mod                  |regrowth                      |1.18.1-1.39.0.25    |DONE      |Manifest: NOSIGNATURE         Gobber2-Forge-1.18.1-2.6.14.jar                   |Gobber 2                      |gobber2                       |2.6.14              |DONE      |Manifest: NOSIGNATURE         majruszs-difficulty-1.18.1-1.4.1.jar              |Majrusz's Progressive Difficul|majruszs_difficulty           |1.4.1               |DONE      |Manifest: NOSIGNATURE         majruszsaccessories-1.18.1-0.4.1.jar              |Majrusz's Accessories         |majruszs_accessories          |0.4.1               |DONE      |Manifest: NOSIGNATURE         workshopsofdoom-1.18.1-2.1.0.2.jar                |Workshops of Doom             |workshopsofdoom               |2.1.0.2             |DONE      |Manifest: NOSIGNATURE         HunterIllager-1.18.1-3.1.0.jar                    |Hunter Illager                |hunterillager                 |1.18.1-3.1.0        |DONE      |Manifest: NOSIGNATURE         furniture-7.0.0-pre28-1.18.1.jar                  |MrCrayfish's Furniture Mod    |cfm                           |7.0.0-pre28         |DONE      |Manifest: NOSIGNATURE         architectury-3.4.9.jar                            |Architectury                  |architectury                  |3.4.9               |DONE      |Manifest: NOSIGNATURE         MTR-forge-1.18-3.0.0-beta-8.jar                   |Minecraft Transit Railway     |mtr                           |1.18-3.0.0-beta-8   |DONE      |Manifest: NOSIGNATURE         mtr-lu-addon-forge-1.18-beta-8-1.0.10.jar         |MTR London Underground Addon  |londonunderground             |1.18-beta-8-1.0.10  |DONE      |Manifest: NOSIGNATURE         Vampirism-1.18.1-1.8.0-alpha+20220115-1439.jar    |Vampirism                     |vampirism                     |1.8.0-alpha+20220115|DONE      |Manifest: NOSIGNATURE         SoL-Carrot-1.18.1-1.12.0.jar                      |Spice of Life: Carrot Edition |solcarrot                     |1.18.1-1.12.0       |DONE      |Manifest: NOSIGNATURE         PuzzlesLib-v3.1.1-1.18.1-Forge.jar                |Puzzles Lib                   |puzzleslib                    |3.1.1               |DONE      |Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a         Voidscape-1.18.1-0.2.51.jar                       |Voidscape                     |voidscape                     |1.18.1-0.2.51       |DONE      |Manifest: NOSIGNATURE         Aquaculture-1.18.1-2.3.2.jar                      |Aquaculture 2                 |aquaculture                   |1.18.1-2.3.2        |DONE      |Manifest: NOSIGNATURE         the_bumblezone_forge-4.2.1+1.18.1.jar             |The Bumblezone                |the_bumblezone                |4.2.1+1.18.1        |DONE      |Manifest: NOSIGNATURE         crossbowverhaul-1.18.1-1.2.3-universal.jar        |Crossbowverhaul               |crossbowverhaul               |1.2.3               |DONE      |Manifest: NOSIGNATURE         frostrealm-1.18.1-0.1.4.1.jar                     |FrostRealm                    |frostrealm                    |1.18.1-0.1.4.1      |DONE      |Manifest: NOSIGNATURE         valhelsia_core-1.18.1-0.1.0.jar                   |Valhelsia Core                |valhelsia_core                |1.18.1-0.1.0        |DONE      |Manifest: NOSIGNATURE         valhelsia_structures-1.18.1-0.1.0.jar             |Valhelsia Structures          |valhelsia_structures          |1.18.1-0.1.0        |DONE      |Manifest: NOSIGNATURE         ChiselsBits-forge-1.18.1-1.2.77-universal.jar     |Chisels & bits                |chiselsandbits                |1.2.77              |DONE      |Manifest: NOSIGNATURE         geckolib-1.18-forge-3.0.3.jar                     |GeckoLib                      |geckolib3                     |3.0.3               |DONE      |Manifest: NOSIGNATURE         ars_nouveau-1.18.1-2.0.8.jar                      |Ars Nouveau                   |ars_nouveau                   |2.0.8               |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 96816215-1951-4553-9785-af285cc5ebad     Flywheel Backend: GL33 Instanced Arrays     FML: 39.0     Forge: net.minecraftforge:39.0.56
    • You set default values by initializing them on demand. On every access you must check if the data is already there. If it is not, create it. I recommend making a method for this.
    • okay, but how can I then set default values and why and why is the value still 0 despite right-click(onUse)?
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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