Jump to content

[1.16.5] Help updating entity model code? Or is there a JSON alternative?


SapphireSky

Recommended Posts

I'm trying to make a custom model for a piece of armour, but am having trouble.

The code that Blockbench exports either uses old mappings, the unofficial (or unofficial?) mappings (my project is using whatever is default), or both. I can't tell.

.

I tried updating the exported code to what I assume is the proper equivalent in my case, but ModelRenderer::setRotationPoint(x,y,z) doesn't seem to have any alternative.

The closest thing I can see that affects rotations at all is ModelRenderer::translateAndRotate(matrixstack), but I can't figure out how to use that, much less if that's even the right option to use.

.

This is the exported code vs my attempt at fixing it, in case I did something else wrong as well, I'm going off older tutorials and Google here..:

Exported model class with wrong mappings:

Spoiler

public class iron_wings extends EntityModel<Entity> {
    private final ModelRenderer harness;
    private final ModelRenderer leftwing;
    private final ModelRenderer wingLB3_r1;
    private final ModelRenderer wingLB2_r1;
    private final ModelRenderer wingLB1_r1;
    private final ModelRenderer rightwing;
    private final ModelRenderer wingRB3_r1;
    private final ModelRenderer wingRB2_r1;
    private final ModelRenderer wingRB1_r1;
    private final ModelRenderer wingRB0_r1;

    public iron_wings() {
        textureWidth = 128;
        textureHeight = 128;

        harness = new ModelRenderer(this);
        harness.setRotationPoint(0.0F, 24.0F, 0.0F);
        harness.setTextureOffset(48, 47).addBox(-4.0F, -21.0F, 2.0F, 7.0F, 1.0F, 1.0F, 0.0F, false);
        harness.setTextureOffset(42, 21).addBox(3.0F, -24.0F, -3.0F, 1.0F, 6.0F, 6.0F, 0.0F, false);
        harness.setTextureOffset(42, 9).addBox(-5.0F, -24.0F, -3.0F, 1.0F, 6.0F, 6.0F, 0.0F, false);
        harness.setTextureOffset(48, 36).addBox(-4.5F, -23.0F, 3.0F, 8.0F, 4.0F, 1.0F, 0.0F, false);

        leftwing = new ModelRenderer(this);
        leftwing.setRotationPoint(-0.494F, 4.0F, 0.0F);
        leftwing.setTextureOffset(0, 24).addBox(4.994F, -8.0F, 5.5F, 18.0F, 24.0F, 0.0F, 0.0F, false);

        wingLB3_r1 = new ModelRenderer(this);
        wingLB3_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
        leftwing.addChild(wingLB3_r1);
        setRotationAngle(wingLB3_r1, 0.0F, 0.0F, -0.3927F);
        wingLB3_r1.setTextureOffset(36, 9).addBox(5.1323F, -1.9749F, 5.0F, 2.0F, 21.0F, 1.0F, 0.0F, false);

        wingLB2_r1 = new ModelRenderer(this);
        wingLB2_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
        leftwing.addChild(wingLB2_r1);
        setRotationAngle(wingLB2_r1, 0.0F, 0.0F, -0.7854F);
        wingLB2_r1.setTextureOffset(42, 33).addBox(8.2505F, 1.1013F, 5.0F, 2.0F, 18.0F, 1.0F, 0.0F, false);
        wingLB2_r1.setTextureOffset(0, 48).addBox(3.2505F, -0.8987F, 5.0F, 9.0F, 2.0F, 1.0F, 0.0F, false);
        wingLB2_r1.setTextureOffset(20, 48).addBox(1.2505F, -1.8987F, 4.0F, 5.0F, 5.0F, 1.0F, 0.0F, false);

        wingLB1_r1 = new ModelRenderer(this);
        wingLB1_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
        leftwing.addChild(wingLB1_r1);
        setRotationAngle(wingLB1_r1, 0.0F, 0.0F, 0.3927F);
        wingLB1_r1.setTextureOffset(36, 3).addBox(4.4543F, -11.9856F, 5.0F, 16.0F, 2.0F, 1.0F, 0.0F, false);

        rightwing = new ModelRenderer(this);
        rightwing.setRotationPoint(-0.494F, 4.0F, 0.0F);
        rightwing.setTextureOffset(0, 0).addBox(-23.006F, -8.0F, 5.5F, 18.0F, 24.0F, 0.0F, 0.0F, false);

        wingRB3_r1 = new ModelRenderer(this);
        wingRB3_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
        rightwing.addChild(wingRB3_r1);
        setRotationAngle(wingRB3_r1, 0.0F, 0.0F, 0.3927F);
        wingRB3_r1.setTextureOffset(36, 31).addBox(-7.1434F, -1.9703F, 5.0F, 2.0F, 21.0F, 1.0F, 0.0F, false);

        wingRB2_r1 = new ModelRenderer(this);
        wingRB2_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
        rightwing.addChild(wingRB2_r1);
        setRotationAngle(wingRB2_r1, 0.0F, 0.0F, -0.7854F);
        wingRB2_r1.setTextureOffset(36, 0).addBox(-18.9995F, -10.3987F, 5.0F, 18.0F, 2.0F, 1.0F, 0.0F, false);

        wingRB1_r1 = new ModelRenderer(this);
        wingRB1_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
        rightwing.addChild(wingRB1_r1);
        setRotationAngle(wingRB1_r1, 0.0F, 0.0F, -0.3927F);
        wingRB1_r1.setTextureOffset(36, 6).addBox(-20.6177F, -11.9749F, 5.0F, 16.0F, 2.0F, 1.0F, 0.0F, false);

        wingRB0_r1 = new ModelRenderer(this);
        wingRB0_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
        rightwing.addChild(wingRB0_r1);
        setRotationAngle(wingRB0_r1, 0.0F, 0.0F, 0.7854F);
        wingRB0_r1.setTextureOffset(48, 33).addBox(-12.259F, -0.8902F, 5.0F, 9.0F, 2.0F, 1.0F, 0.0F, false);
        wingRB0_r1.setTextureOffset(48, 41).addBox(-6.259F, -1.8902F, 4.0F, 5.0F, 5.0F, 1.0F, 0.0F, false);
    }

    @Override
    public void setRotationAngles(Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch){
        //previously the render function, render code was moved to a method below
    }

    @Override
    public void render(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha){
        harness.render(matrixStack, buffer, packedLight, packedOverlay);
        leftwing.render(matrixStack, buffer, packedLight, packedOverlay);
        rightwing.render(matrixStack, buffer, packedLight, packedOverlay);
    }

    public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) {
        modelRenderer.rotateAngleX = x;
        modelRenderer.rotateAngleY = y;
        modelRenderer.rotateAngleZ = z;
    }
}

 

My attempt at fixing them, my problematic methods commented:

Spoiler

public class ModelIronWings extends BipedModel<LivingEntity>
{
	private final ModelRenderer harness;
	private final ModelRenderer leftwing;
	private final ModelRenderer wingLB3_r1;
	private final ModelRenderer wingLB2_r1;
	private final ModelRenderer wingLB1_r1;
	private final ModelRenderer rightwing;
	private final ModelRenderer wingRB3_r1;
	private final ModelRenderer wingRB2_r1;
	private final ModelRenderer wingRB1_r1;
	private final ModelRenderer wingRB0_r1;

	public ModelIronWings(float size)
	{
		super(size, 0, 128, 128);

		harness = new ModelRenderer(this);
		// harness.setRotationPoint(0.0F, 24.0F, 0.0F);
		harness.texOffs(48, 47).addBox(-4.0F, -21.0F, 2.0F, 7.0F, 1.0F, 1.0F, 0.0F, false);
		harness.texOffs(42, 21).addBox(3.0F, -24.0F, -3.0F, 1.0F, 6.0F, 6.0F, 0.0F, false);
		harness.texOffs(42, 9).addBox(-5.0F, -24.0F, -3.0F, 1.0F, 6.0F, 6.0F, 0.0F, false);
		harness.texOffs(48, 36).addBox(-4.5F, -23.0F, 3.0F, 8.0F, 4.0F, 1.0F, 0.0F, false);

		leftwing = new ModelRenderer(this);
		// leftwing.setRotationPoint(-0.494F, 4.0F, 0.0F);
		leftwing.texOffs(0, 24).addBox(4.994F, -8.0F, 5.5F, 18.0F, 24.0F, 0.0F, 0.0F, false);

		wingLB3_r1 = new ModelRenderer(this);
		// wingLB3_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
		leftwing.addChild(wingLB3_r1);
		setRotationAngle(wingLB3_r1, 0.0F, 0.0F, -0.3927F);
		wingLB3_r1.texOffs(36, 9).addBox(5.1323F, -1.9749F, 5.0F, 2.0F, 21.0F, 1.0F, 0.0F, false);

		wingLB2_r1 = new ModelRenderer(this);
		// wingLB2_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
		leftwing.addChild(wingLB2_r1);
		setRotationAngle(wingLB2_r1, 0.0F, 0.0F, -0.7854F);
		wingLB2_r1.texOffs(42, 33).addBox(8.2505F, 1.1013F, 5.0F, 2.0F, 18.0F, 1.0F, 0.0F, false);
		wingLB2_r1.texOffs(0, 48).addBox(3.2505F, -0.8987F, 5.0F, 9.0F, 2.0F, 1.0F, 0.0F, false);
		wingLB2_r1.texOffs(20, 48).addBox(1.2505F, -1.8987F, 4.0F, 5.0F, 5.0F, 1.0F, 0.0F, false);

		wingLB1_r1 = new ModelRenderer(this);
		// wingLB1_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
		leftwing.addChild(wingLB1_r1);
		setRotationAngle(wingLB1_r1, 0.0F, 0.0F, 0.3927F);
		wingLB1_r1.texOffs(36, 3).addBox(4.4543F, -11.9856F, 5.0F, 16.0F, 2.0F, 1.0F, 0.0F, false);

		rightwing = new ModelRenderer(this);
		// rightwing.setRotationPoint(-0.494F, 4.0F, 0.0F);
		rightwing.texOffs(0, 0).addBox(-23.006F, -8.0F, 5.5F, 18.0F, 24.0F, 0.0F, 0.0F, false);

		wingRB3_r1 = new ModelRenderer(this);
		// wingRB3_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
		rightwing.addChild(wingRB3_r1);
		setRotationAngle(wingRB3_r1, 0.0F, 0.0F, 0.3927F);
		wingRB3_r1.texOffs(36, 31).addBox(-7.1434F, -1.9703F, 5.0F, 2.0F, 21.0F, 1.0F, 0.0F, false);

		wingRB2_r1 = new ModelRenderer(this);
		// wingRB2_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
		rightwing.addChild(wingRB2_r1);
		setRotationAngle(wingRB2_r1, 0.0F, 0.0F, -0.7854F);
		wingRB2_r1.texOffs(36, 0).addBox(-18.9995F, -10.3987F, 5.0F, 18.0F, 2.0F, 1.0F, 0.0F, false);

		wingRB1_r1 = new ModelRenderer(this);
		// wingRB1_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
		rightwing.addChild(wingRB1_r1);
		setRotationAngle(wingRB1_r1, 0.0F, 0.0F, -0.3927F);
		wingRB1_r1.texOffs(36, 6).addBox(-20.6177F, -11.9749F, 5.0F, 16.0F, 2.0F, 1.0F, 0.0F, false);

		wingRB0_r1 = new ModelRenderer(this);
		// wingRB0_r1.setRotationPoint(0.0F, 0.0F, 0.0F);
		rightwing.addChild(wingRB0_r1);
		setRotationAngle(wingRB0_r1, 0.0F, 0.0F, 0.7854F);
		wingRB0_r1.texOffs(48, 33).addBox(-12.259F, -0.8902F, 5.0F, 9.0F, 2.0F, 1.0F, 0.0F, false);
		wingRB0_r1.texOffs(48, 41).addBox(-6.259F, -1.8902F, 4.0F, 5.0F, 5.0F, 1.0F, 0.0F, false);
	}

	public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z)
	{
		modelRenderer.xRot = x;
		modelRenderer.yRot = y;
		modelRenderer.zRot = z;
	}
}

 

 

I don't suppose there's any way to make this so much less work and just use standard JSON item models as armour instead...?

Link to comment
Share on other sites

10 hours ago, SapphireSky said:

I don't suppose there's any way to make this so much less work and just use standard JSON item models as armour instead...?

If you're translating individual files, there's not much you can do about it. You could use the updateMappings gradlew task, but that's better for large batches of code. As for JSON item models, that is a much more complicated issue that involves layers and custom transform types. While still possible, the tradeoff isn't really worth it.

Link to comment
Share on other sites

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I'm making a modded server with some friends in a few weeks, where we're going to be adding mods after starting. To make it so we don't have to run thousands of blocks, I wanted to make a custom dimension mod that will let you create a new overworld that would get deleted in an hour after being made. However after looking into the creation of custom dimensions, there's a few problems: There can only be one instance of a dimension at a time. If I wanted multiple dimensions, they all have to be seperate. A dimension uses the seed of the world, meaning that once the dimension was deleted, it would have the exact same generation upon regenerating. I have a solution for 1, but problem 2 is the big one. My first idea is that I can somehow set the seed of the custom dimension to something different each time, but from my research I couldn't find anything in 1.20.1. Is this true, or is there a way to set the seed?
    • That doesn't exist.
    • heres the crash report: ---- Minecraft Crash Report ---- // You should try our sister game, Minceraft! Time: 2023-12-03 05:44:58 Description: Initializing game java.lang.IncompatibleClassChangeError: class net.coderbot.iris.gui.option.ShadowDistanceOption cannot inherit from final class net.minecraft.client.OptionInstance     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?] {}     at java.lang.ClassLoader.defineClass(ClassLoader.java:1017) ~[?:?] {}     at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:119) ~[securejarhandler-2.1.4.jar:?] {}     at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.4.jar:?] {}     at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.4.jar:?] {}     at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.4.jar:?] {}     at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.4.jar:?] {}     at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] {}     at net.coderbot.iris.config.IrisConfig.save(IrisConfig.java:169) ~[oculus-mc1.19.2-1.6.9.jar%23176!/:?] {re:classloading,re:mixin}     at net.coderbot.iris.config.IrisConfig.initialize(IrisConfig.java:60) ~[oculus-mc1.19.2-1.6.9.jar%23176!/:?] {re:classloading,re:mixin}     at net.coderbot.iris.Iris.onEarlyInitialize(Iris.java:129) ~[oculus-mc1.19.2-1.6.9.jar%23176!/:?] {re:mixin,re:classloading}     at net.minecraft.client.Options.handler$zdb000$iris$beforeLoadOptions(Options.java:1390) ~[client-1.19.2-20220805.130853-srg.jar%23179!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.oculus.json:MixinOptions_Entrypoint,pl:mixin:APP:mixins.oculus.fixes.maxfpscrash.json:MixinMaxFpsCrashFix,pl:mixin:APP:mixins.essential.json:client.options.GameOptionsAccessor,pl:mixin:APP:mixins.essential.json:client.options.MixinGameOptions,pl:mixin:APP:mixins.essential.json:client.settings.Mixin_UnbindConflictingKeybinds,pl:mixin:APP:mixins.essential.json:cosmetics.capes.Mixin_RedirectVanillaCapeSetting,pl:mixin:APP:mixins.oculus.json:sky.MixinOptions_CloudsOverride,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Options.m_92140_(Options.java) ~[client-1.19.2-20220805.130853-srg.jar%23179!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.oculus.json:MixinOptions_Entrypoint,pl:mixin:APP:mixins.oculus.fixes.maxfpscrash.json:MixinMaxFpsCrashFix,pl:mixin:APP:mixins.essential.json:client.options.GameOptionsAccessor,pl:mixin:APP:mixins.essential.json:client.options.MixinGameOptions,pl:mixin:APP:mixins.essential.json:client.settings.Mixin_UnbindConflictingKeybinds,pl:mixin:APP:mixins.essential.json:cosmetics.capes.Mixin_RedirectVanillaCapeSetting,pl:mixin:APP:mixins.oculus.json:sky.MixinOptions_CloudsOverride,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Options.<init>(Options.java:815) ~[client-1.19.2-20220805.130853-srg.jar%23179!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.oculus.json:MixinOptions_Entrypoint,pl:mixin:APP:mixins.oculus.fixes.maxfpscrash.json:MixinMaxFpsCrashFix,pl:mixin:APP:mixins.essential.json:client.options.GameOptionsAccessor,pl:mixin:APP:mixins.essential.json:client.options.MixinGameOptions,pl:mixin:APP:mixins.essential.json:client.settings.Mixin_UnbindConflictingKeybinds,pl:mixin:APP:mixins.essential.json:cosmetics.capes.Mixin_RedirectVanillaCapeSetting,pl:mixin:APP:mixins.oculus.json:sky.MixinOptions_CloudsOverride,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.<init>(Minecraft.java:428) ~[client-1.19.2-20220805.130853-srg.jar%23179!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:memoryleakfix.mixins.json:hugeScreenshotLeak.Minecraft_screenshotMixin,pl:mixin:APP:memoryleakfix.mixins.json:targetEntityLeak.Minecraft_targetClearMixin,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_PipelineManagement,pl:mixin:APP:mixins.essential.json:client.Mixin_RunEssentialTasks,pl:mixin:APP:mixins.essential.json:client.MixinMinecraft,pl:mixin:APP:mixins.essential.json:client.gui.Mixin_FixKeybindUnpressedInEmoteWheel,pl:mixin:APP:mixins.essential.json:client.gui.Mixin_RecalculateMenuScale,pl:mixin:APP:mixins.essential.json:compatibility.vanilla.Mixin_WorkaroundBrokenFramebufferBlitBlending,pl:mixin:APP:mixins.essential.json:events.Mixin_RenderTickEvent,pl:mixin:APP:mixins.essential.json:feature.skin_overwrites.Mixin_InstallTrustingServicesKeyInfo,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.m_239872_(Main.java:176) ~[client-1.19.2-20220805.130853-srg.jar%23179!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:51) ~[client-1.19.2-20220805.130853-srg.jar%23179!/:?] {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:27) ~[fmlloader-1.19.2-43.3.5.jar%23101!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Suspected Mods: NONE Stacktrace:     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?] {}     at java.lang.ClassLoader.defineClass(ClassLoader.java:1017) ~[?:?] {}     at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:119) ~[securejarhandler-2.1.4.jar:?] {}     at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.4.jar:?] {}     at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.4.jar:?] {}     at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.4.jar:?] {}     at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.4.jar:?] {}     at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] {}     at net.coderbot.iris.config.IrisConfig.save(IrisConfig.java:169) ~[oculus-mc1.19.2-1.6.9.jar%23176!/:?] {re:classloading,re:mixin}     at net.coderbot.iris.config.IrisConfig.initialize(IrisConfig.java:60) ~[oculus-mc1.19.2-1.6.9.jar%23176!/:?] {re:classloading,re:mixin}     at net.coderbot.iris.Iris.onEarlyInitialize(Iris.java:129) ~[oculus-mc1.19.2-1.6.9.jar%23176!/:?] {re:mixin,re:classloading}     at net.minecraft.client.Options.handler$zdb000$iris$beforeLoadOptions(Options.java:1390) ~[client-1.19.2-20220805.130853-srg.jar%23179!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.oculus.json:MixinOptions_Entrypoint,pl:mixin:APP:mixins.oculus.fixes.maxfpscrash.json:MixinMaxFpsCrashFix,pl:mixin:APP:mixins.essential.json:client.options.GameOptionsAccessor,pl:mixin:APP:mixins.essential.json:client.options.MixinGameOptions,pl:mixin:APP:mixins.essential.json:client.settings.Mixin_UnbindConflictingKeybinds,pl:mixin:APP:mixins.essential.json:cosmetics.capes.Mixin_RedirectVanillaCapeSetting,pl:mixin:APP:mixins.oculus.json:sky.MixinOptions_CloudsOverride,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Options.m_92140_(Options.java) ~[client-1.19.2-20220805.130853-srg.jar%23179!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.oculus.json:MixinOptions_Entrypoint,pl:mixin:APP:mixins.oculus.fixes.maxfpscrash.json:MixinMaxFpsCrashFix,pl:mixin:APP:mixins.essential.json:client.options.GameOptionsAccessor,pl:mixin:APP:mixins.essential.json:client.options.MixinGameOptions,pl:mixin:APP:mixins.essential.json:client.settings.Mixin_UnbindConflictingKeybinds,pl:mixin:APP:mixins.essential.json:cosmetics.capes.Mixin_RedirectVanillaCapeSetting,pl:mixin:APP:mixins.oculus.json:sky.MixinOptions_CloudsOverride,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Options.<init>(Options.java:815) ~[client-1.19.2-20220805.130853-srg.jar%23179!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.oculus.json:MixinOptions_Entrypoint,pl:mixin:APP:mixins.oculus.fixes.maxfpscrash.json:MixinMaxFpsCrashFix,pl:mixin:APP:mixins.essential.json:client.options.GameOptionsAccessor,pl:mixin:APP:mixins.essential.json:client.options.MixinGameOptions,pl:mixin:APP:mixins.essential.json:client.settings.Mixin_UnbindConflictingKeybinds,pl:mixin:APP:mixins.essential.json:cosmetics.capes.Mixin_RedirectVanillaCapeSetting,pl:mixin:APP:mixins.oculus.json:sky.MixinOptions_CloudsOverride,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.<init>(Minecraft.java:428) ~[client-1.19.2-20220805.130853-srg.jar%23179!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:memoryleakfix.mixins.json:hugeScreenshotLeak.Minecraft_screenshotMixin,pl:mixin:APP:memoryleakfix.mixins.json:targetEntityLeak.Minecraft_targetClearMixin,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_PipelineManagement,pl:mixin:APP:mixins.essential.json:client.Mixin_RunEssentialTasks,pl:mixin:APP:mixins.essential.json:client.MixinMinecraft,pl:mixin:APP:mixins.essential.json:client.gui.Mixin_FixKeybindUnpressedInEmoteWheel,pl:mixin:APP:mixins.essential.json:client.gui.Mixin_RecalculateMenuScale,pl:mixin:APP:mixins.essential.json:compatibility.vanilla.Mixin_WorkaroundBrokenFramebufferBlitBlending,pl:mixin:APP:mixins.essential.json:events.Mixin_RenderTickEvent,pl:mixin:APP:mixins.essential.json:feature.skin_overwrites.Mixin_InstallTrustingServicesKeyInfo,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A} -- Initialization -- Details:     Modules:          ADVAPI32.dll:Advanced Windows 32 Base API:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         COMCTL32.dll:User Experience Controls Library:6.10 (WinBuild.160101.0800):Microsoft Corporation         CRYPT32.dll:Crypto API32:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         CRYPTBASE.dll:Base cryptographic API DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         CRYPTSP.dll:Cryptographic Service Provider API:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         DBGHELP.DLL:Windows Image Helper:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         DNSAPI.dll:DNS Client API DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         GDI32.dll:GDI Client DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         IMM32.DLL:Multi-User Windows IMM32 API Client DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         IPHLPAPI.DLL:IP Helper API:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         KERNEL32.DLL:Windows NT BASE API Client DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         KERNELBASE.dll:Windows NT BASE API Client DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         MpOav.dll:IOfficeAntiVirus Module:4.18.23100.2009 (8fcbd1c22d82af16ba34560e1a70591413e88d17):Microsoft Corporation         NSI.dll:NSI User-mode interface DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         NTASN1.dll:Microsoft ASN.1 API:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         OLEAUT32.dll:OLEAUT32.DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         Ole32.dll:Microsoft OLE for Windows:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         POWRPROF.dll:Power Profile Helper DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         PSAPI.DLL:Process Status Helper:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         Pdh.dll:Windows Performance Data Helper DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         RPCRT4.dll:Remote Procedure Call Runtime:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         SHCORE.dll:SHCORE:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         SHELL32.dll:Windows Shell Common Dll:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         UMPDC.dll:User Mode Power Dependency Coordinator:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         USER32.dll:Multi-User Windows USER API Client DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         USERENV.dll:Userenv:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         VCRUNTIME140.dll:Microsoft® C Runtime Library:14.29.30139.0 built by: vcwrkspc:Microsoft Corporation         VERSION.dll:Version Checking and File Installation Libraries:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         WINHTTP.dll:Windows HTTP Services:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         WINMM.dll:MCI API DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         WS2_32.dll:Windows Socket 2.0 32-Bit DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         WSOCK32.dll:Windows Socket 32-Bit DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         amsi.dll:Anti-Malware Scan Interface:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         bcrypt.dll:Windows Cryptographic Primitives Library:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         bcryptPrimitives.dll:Windows Cryptographic Primitives Library:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         clbcatq.dll:COM+ Configuration Catalog:2001.12.10941.16384 (WinBuild.160101.0800):Microsoft Corporation         combase.dll:Microsoft COM for Windows:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         dbgcore.DLL:Windows Core Debugging Helpers:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         dhcpcsvc.DLL:DHCP Client Service:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         dhcpcsvc6.DLL:DHCPv6 Client:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         fwpuclnt.dll:FWP/IPsec User-Mode API:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         gdi32full.dll:GDI Client DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         glfw.dll:GLFW 3.4.0 DLL:3.4.0:GLFW         java.dll:OpenJDK Platform binary:17.0.8.0:Microsoft         javaw.exe:OpenJDK Platform binary:17.0.8.0:Microsoft         jemalloc.dll         jimage.dll:OpenJDK Platform binary:17.0.8.0:Microsoft         jli.dll:OpenJDK Platform binary:17.0.8.0:Microsoft         jna11175178637920788105.dll:JNA native library:6.1.2:Java(TM) Native Access (JNA)         jsvml.dll:OpenJDK Platform binary:17.0.8.0:Microsoft         jvm.dll:OpenJDK 64-Bit server VM:17.0.8.0:Microsoft         kernel.appcore.dll:AppModel API Host:10.0.22621.2715 (WinBuild.160101.0800):Microsoft Corporation         lwjgl.dll         management.dll:OpenJDK Platform binary:17.0.8.0:Microsoft         management_ext.dll:OpenJDK Platform binary:17.0.8.0:Microsoft         msvcp140.dll:Microsoft® C Runtime Library:14.29.30139.0 built by: vcwrkspc:Microsoft Corporation         msvcp_win.dll:Microsoft® C Runtime Library:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         msvcrt.dll:Windows NT CRT DLL:7.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         mswsock.dll:Microsoft Windows Sockets 2.0 Service Provider:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         napinsp.dll:E-mail Naming Shim Provider:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         ncrypt.dll:Windows NCrypt Router:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         net.dll:OpenJDK Platform binary:17.0.8.0:Microsoft         nio.dll:OpenJDK Platform binary:17.0.8.0:Microsoft         nlansp_c.dll:NLA Namespace Service Provider DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         ntdll.dll:NT Layer DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         perfos.dll:Windows System Performance Objects DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         pfclient.dll:SysMain Client:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         pnrpnsp.dll:PNRP Name Space Provider:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         profapi.dll:User Profile Basic API:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         rasadhlp.dll:Remote Access AutoDial Helper:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         rsaenh.dll:Microsoft Enhanced Cryptographic Provider:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         sechost.dll:Host for SCM/SDDL/LSA Lookup APIs:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         shlwapi.dll:Shell Light-weight Utility Library:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         sunmscapi.dll:OpenJDK Platform binary:17.0.8.0:Microsoft         ucrtbase.dll:Microsoft® C Runtime Library:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         vcruntime140_1.dll:Microsoft® C Runtime Library:14.29.30139.0 built by: vcwrkspc:Microsoft Corporation         verify.dll:OpenJDK Platform binary:17.0.8.0:Microsoft         win32u.dll:Win32u:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         windows.storage.dll:Microsoft WinRT Storage API:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         winrnr.dll:LDAP RnR Provider DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         wintypes.dll:Windows Base Types DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation         wshbth.dll:Windows Sockets Helper DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation         zip.dll:OpenJDK Platform binary:17.0.8.0:Microsoft Stacktrace:     at net.minecraft.client.main.Main.m_239872_(Main.java:176) ~[client-1.19.2-20220805.130853-srg.jar%23179!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:51) ~[client-1.19.2-20220805.130853-srg.jar%23179!/:?] {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:27) ~[fmlloader-1.19.2-43.3.5.jar%23101!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2388!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} -- System Details -- Details:     Minecraft Version: 1.19.2     Minecraft Version ID: 1.19.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.8, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 542543992 bytes (517 MiB) / 771751936 bytes (736 MiB) up to 2147483648 bytes (2048 MiB)     CPUs: 12     Processor Vendor: GenuineIntel     Processor Name: 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz     Identifier: Intel64 Family 6 Model 141 Stepping 1     Microarchitecture: unknown     Frequency (GHz): 2.69     Number of physical packages: 1     Number of physical CPUs: 6     Number of logical CPUs: 12     Graphics card #0 name: NVIDIA GeForce GTX 1650 with Max-Q Design     Graphics card #0 vendor: NVIDIA (0x10de)     Graphics card #0 VRAM (MB): 4095.00     Graphics card #0 deviceId: 0x1f9d     Graphics card #0 versionInfo: DriverVersion=31.0.15.3742     Graphics card #1 name: Intel(R) UHD Graphics     Graphics card #1 vendor: Intel Corporation (0x8086)     Graphics card #1 VRAM (MB): 1024.00     Graphics card #1 deviceId: 0x9a68     Graphics card #1 versionInfo: DriverVersion=31.0.101.4575     Memory slot #0 capacity (MB): 8192.00     Memory slot #0 clockSpeed (GHz): 3.20     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 8192.00     Memory slot #1 clockSpeed (GHz): 3.20     Memory slot #1 type: DDR4     Virtual memory max (MB): 25259.05     Virtual memory used (MB): 12791.77     Swap memory total (MB): 9173.38     Swap memory used (MB): 124.52     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Launched Version: 1.19.2-forge-43.3.5     Backend library: LWJGL version 3.3.1 build 7     Backend API: Unknown     Window size: <not initialized>     GL Caps: Using framebuffer using OpenGL 3.2     GL debug messages: <disabled>     Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'forge'     Type: Client (map_client.txt)     CPU: <unknown>
    • This is the mods folder. I tried removing optifine and start but it doesnt work.
  • Topics

×
×
  • Create New...

Important Information

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