Jump to content

How do I make GL11 constantly rotate part of my model? (Helicopter Rotor)


ScottehBoeh

Recommended Posts

I'm creating a Helicopter Model for my EntityHelicopter (It loads the model properly and renders properly etc)

However I'm trying to have GL11 rotate a specific part of my model. Is that possible?

 

My core sofar?

 

 

//This File was created with the Minecraft-SMP Modelling Toolbox 2.2.1.1

// Copyright © 2015 Minecraft-SMP.de

// This file is for Flan's Flying Mod Version 4.0.x+

 

package net.mcheroesandgenerals.warblocks;

 

import java.util.Random;

 

import org.lwjgl.opengl.GL11;

 

import net.minecraft.client.model.ModelBase;

import net.minecraft.client.model.ModelRenderer;

import net.minecraft.entity.Entity;

import net.minecraft.util.MathHelper;

import scala.tools.nsc.doc.model.Public;

 

public class ModelHuey

extends ModelBase {

int x = 0;

ModelRenderer body;

ModelRenderer nose;

ModelRenderer tail1;

ModelRenderer tail2;

ModelRenderer tail3;

ModelRenderer tail4;

ModelRenderer tailRotor;

ModelRenderer mainRotorA;

ModelRenderer mainRotorPole;

ModelRenderer mainRotorB;

ModelRenderer skidLeft;

ModelRenderer skidRight;

ModelRenderer skidBack;

ModelRenderer skidFront;

ModelRenderer RightLauncher;

ModelRenderer LeftLauncher;

ModelRenderer tailflapRight;

ModelRenderer tailflapLeft;

 

    public ModelHuey() {

textureWidth = 64;

textureHeight = 32;

 

body = new ModelRenderer(this, 28, 0);

body.addBox(-4.0F, -1.0F, -6.0F, 7, 7, 11);

body.setRotationPoint(0.0F, 16.0F, 0.0F);

body.setTextureSize(128, 128);

body.mirror = false;

setRotation(body, 0.0F, 0.0F, 0.0F);

 

nose = new ModelRenderer(this, 11, 0);

nose.addBox(-4.0F, 3.0F, -8.0F, 7, 3, 2);

nose.setRotationPoint(0.0F, 16.0F, 0.0F);

nose.setTextureSize(128, 128);

nose.mirror = false;

setRotation(nose, 0.0F, 0.0F, 0.0F);

 

tail1 = new ModelRenderer(this, 0, 9);

tail1.addBox(-2.0F, -2.0F, -3.0F, 3, 6, 11);

tail1.setRotationPoint(0.0F, 16.0F, 0.0F);

tail1.setTextureSize(128, 128);

tail1.mirror = false;

setRotation(tail1, 0.0F, 0.0F, 0.0F);

 

tail2 = new ModelRenderer(this, 0, 0);

tail2.addBox(-1.0F, -1.0F, 8.0F, 1, 4, 5);

tail2.setRotationPoint(0.0F, 16.0F, 0.0F);

tail2.setTextureSize(128, 128);

tail2.mirror = false;

setRotation(tail2, 0.0F, 0.0F, 0.0F);

 

tail3 = new ModelRenderer(this, 21, 1);

tail3.addBox(-1.0F, -1.0F, 13.0F, 1, 2, 8);

tail3.setRotationPoint(0.0F, 16.0F, 0.0F);

tail3.setTextureSize(128, 128);

tail3.mirror = false;

setRotation(tail3, 0.0F, 0.0F, 0.0F);

 

tail4 = new ModelRenderer(this, 0, 10);

tail4.addBox(-1.0F, -5.0F, 20.0F, 1, 4, 1);

tail4.setRotationPoint(0.0F, 16.0F, 0.0F);

tail4.setTextureSize(128, 128);

tail4.mirror = false;

setRotation(tail4, 0.0F, 0.0F, 0.0F);

 

tailRotor = new ModelRenderer(this, 17, 14);

tailRotor.addBox(0.0F, -0.5F, -2.5F, 1, 1, 5);

tailRotor.setRotationPoint(0.0F, 12.0F, 20.5F);

tailRotor.setTextureSize(128, 128);

tailRotor.mirror = false;

setRotation(tailRotor, 0.0F, 0.0F, 0.0F);

 

mainRotorA = new ModelRenderer(this, 0, 26);

mainRotorA.addBox(0.0F, -4.0F, -1.0F, 16, 1, 2);

mainRotorA.setRotationPoint(-0.5F, 15.0F, 0.0F);

mainRotorA.setTextureSize(128, 128);

mainRotorA.mirror = false;

setRotation(mainRotorA, 0.0F, 0.0F, 0.0F);

 

mainRotorPole = new ModelRenderer(this, 52, 28);

mainRotorPole.addBox(-1.0F, -3.0F, -0.5F, 2, 2, 1);

mainRotorPole.setRotationPoint(-0.5F, 15.0F, 0.0F);

mainRotorPole.setTextureSize(128, 128);

mainRotorPole.mirror = false;

setRotation(mainRotorPole, 0.0F, 0.0F, 0.0F);

 

mainRotorB = new ModelRenderer(this, 0, 29);

mainRotorB.addBox(-16.0F, -4.0F, -1.0F, 16, 1, 2);

mainRotorB.setRotationPoint(-0.5F, 15.0F, 0.0F);

mainRotorB.setTextureSize(128, 128);

mainRotorB.mirror = false;

setRotation(mainRotorB, 0.0F, 0.0F, 0.0F);

 

skidLeft = new ModelRenderer(this, 38, 19);

skidLeft.addBox(-5.0F, 7.0F, -8.0F, 1, 1, 12);

skidLeft.setRotationPoint(0.0F, 16.0F, 0.0F);

skidLeft.setTextureSize(128, 128);

skidLeft.mirror = false;

setRotation(skidLeft, 0.0F, 0.0F, 0.0F);

 

skidRight = new ModelRenderer(this, 38, 19);

skidRight.addBox(3.0F, 7.0F, -8.0F, 1, 1, 12);

skidRight.setRotationPoint(0.0F, 16.0F, 0.0F);

skidRight.setTextureSize(128, 128);

skidRight.mirror = false;

setRotation(skidRight, 0.0F, 0.0F, 0.0F);

 

skidBack = new ModelRenderer(this, 30, 20);

skidBack.addBox(-5.0F, 6.0F, -6.0F, 9, 1, 1);

skidBack.setRotationPoint(0.0F, 16.0F, 0.0F);

skidBack.setTextureSize(128, 128);

skidBack.mirror = false;

setRotation(skidBack, 0.0F, 0.0F, 0.0F);

 

skidFront = new ModelRenderer(this, 30, 20);

skidFront.addBox(-5.0F, 6.0F, 2.0F, 9, 1, 1);

skidFront.setRotationPoint(0.0F, 16.0F, 0.0F);

skidFront.setTextureSize(128, 128);

skidFront.mirror = false;

setRotation(skidFront, 0.0F, 0.0F, 0.0F);

 

RightLauncher = new ModelRenderer(this, 38, 24);

RightLauncher.addBox(-7.0F, 4.0F, 0.0F, 2, 3, 4);

RightLauncher.setRotationPoint(0.0F, 16.0F, 0.0F);

RightLauncher.setTextureSize(128, 128);

RightLauncher.mirror = false;

setRotation(RightLauncher, 0.0F, 0.0F, 0.0F);

 

LeftLauncher = new ModelRenderer(this, 38, 24);

LeftLauncher.addBox(4.0F, 4.0F, 0.0F, 2, 3, 4);

LeftLauncher.setRotationPoint(0.0F, 16.0F, 0.0F);

LeftLauncher.setTextureSize(128, 128);

LeftLauncher.mirror = false;

setRotation(LeftLauncher, 0.0F, 0.0F, 0.0F);

 

tailflapRight = new ModelRenderer(this, 0, 16);

tailflapRight.addBox(-4.0F, -1.0F, 14.0F, 3, 1, 2);

tailflapRight.setRotationPoint(0.0F, 16.0F, 0.0F);

tailflapRight.setTextureSize(128, 128);

tailflapRight.mirror = false;

setRotation(tailflapRight, 0.0F, 0.0F, 0.0F);

 

tailflapLeft = new ModelRenderer(this, 0, 16);

tailflapLeft.addBox(0.0F, -1.0F, 10.0F, 3, 1, 2);

tailflapLeft.setRotationPoint(0.0F, 16.0F, 4.0F);

tailflapLeft.setTextureSize(128, 128);

tailflapLeft.mirror = false;

setRotation(tailflapLeft, 0.0F, 0.0F, 0.0F);

}

 

public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)

{

int maxAngle = 90;

super.render(entity, f, f1, f2, f3, f4, f5);

        GL11.glPushMatrix();

GL11.glScalef(5F, 5F, 5F);

GL11.glTranslatef((float)0, (float) -1.23, (float) 0.0);

body.render(f5);

nose.render(f5);

tail1.render(f5);

tail2.render(f5);

tail3.render(f5);

tail4.render(f5);

tailRotor.render(f5);

mainRotorA.render(f5);

mainRotorPole.render(f5);

mainRotorB.render(f5);

skidLeft.render(f5);

skidRight.render(f5);

skidBack.render(f5);

skidFront.render(f5);

RightLauncher.render(f5);

LeftLauncher.render(f5);

tailflapRight.render(f5);

tailflapLeft.render(f5);

        GL11.glPopMatrix();

}

 

public void renderModel(float f5){

body.render(f5);

nose.render(f5);

tail1.render(f5);

tail2.render(f5);

tail3.render(f5);

tail4.render(f5);

tailRotor.render(f5);

mainRotorA.render(f5);

mainRotorPole.render(f5);

mainRotorB.render(f5);

skidLeft.render(f5);

skidRight.render(f5);

skidBack.render(f5);

skidFront.render(f5);

RightLauncher.render(f5);

LeftLauncher.render(f5);

tailflapRight.render(f5);

tailflapLeft.render(f5);

}

 

 

private void setRotation(ModelRenderer model, float x, float y, float z)

{

model.rotateAngleX = x;

model.rotateAngleY = y;

model.rotateAngleZ = z;

}

 

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity)

{

super.setRotationAngles(f, f1, f2, f3, f4, f5, null);

}

 

}

 

 

 

I'm trying to get the model to rotate very very very fast! (Like a helicopter rotor would do)

Link to comment
Share on other sites

In #setRotationAngles you have access to the Entity - use #ticksExisted (constantly increasing) to calculate an angle and set the specific part's rotationY to that value. That's one way, anyway.

I'm not entirely sure on how to come around imputing that code.

Do you have an example piece of code that I could use?

Link to comment
Share on other sites

In your model file add something to this effect

 

This is from a model of mine

 

    public void setRotationAngles(float par1, float par2, float par3, float par4, float par5, float par6, Entity par7Entity)  {
    	
    	EntityParagon Entity = (EntityParagon)par7Entity;

    	this.LSHOULDERGEAR.rotateAngleX = Entity.ticksExisted * 0.139626F;
    	this.RSHOULDERGEAR.rotateAngleX = Entity.ticksExisted * 0.139626F;
    	this.LLEGGEAR.rotateAngleX = Entity.ticksExisted * 0.139626F;
    	this.RLEGGEAR.rotateAngleX = Entity.ticksExisted * 0.139626F;

    }

 

The effect...

 

The gears turn at a constant rate

 

Still no luck  :-[

 

 

Here's the code I've used:

 

    public void setRotationAngles(float par1, float par2, float par3, float par4, float par5, float par6, Entity par7Entity)  {

 

    EntityHuey Entity = (EntityHuey)par7Entity;

    this.mainRotorA.rotateAngleY = Entity.ticksExisted * 0.139626F;

    this.mainRotorB.rotateAngleY = Entity.ticksExisted * 0.139626F;

    this.tailRotor.rotateAngleX = Entity.ticksExisted * 0.0139626F;

 

    }

 

 

It doesn't seem to work either. Nor from restarting the mod or testing it in debugging mode.

Link to comment
Share on other sites

#setRotationAngles is a method from ModelBase and is called automatically from the render class, unless as gummby8 asked the OP's model class does not extend ModelBase.

 

Right, didn't realise that. But yes, if you look at the code he posted it does extend ModelBase (It's just on the next line for some reason) so that's not the problem.

Link to comment
Share on other sites

Right, didn't realise that. But yes, if you look at the code he posted it does extend ModelBase (It's just on the next line for some reason) so that's not the problem.

Indeed. Hm.

 

@OP Please post the entire class again with the most recent code. Also, are you sure you registered your entity renderer to use this particular model class?

 

A couple nitpicks:

1. ALWAYS put @Override above inherited methods; even though your method signature looks fine, better safe than sorry (plus it will help if / when you update to the next Minecraft version)

 

2. Please use standard Java naming conventions; variable names should start with lowercase 'entity' instead of 'Entity' - 'Entity.ticksExisted' looks like a static reference

 

3. You don't need to cast the entity parameter to access the #ticksExisted field, as it belongs to Entity not your class; unless you need to access fields or methods from your specific class, there is no reason to cast

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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • https://gist.github.com/it-is-allie/29645c4fb5c7131ad30181769a37d12f There is my latest crash report. I've spent probably 5 hours messing with modpacks and have gotten it almost complete but it then randomly crashes before loading all the mods? I'm not even sure. if anyone  could help it would be greatly appreciated.   
    • Ive been trying to use a new modpack that I made for curse forge and the game keeps crashing. I cant seem to find the issue if anyone could help it would be greatly appreciated. Crash report:  ---- Minecraft Crash Report ---- // My bad. Time: 2024-06-29 23:45:33 Description: Unexpected error java.lang.ArrayIndexOutOfBoundsException: Index 15 out of bounds for length 7     at net.minecraft.client.renderer.LevelRenderer.m_109703_(LevelRenderer.java:372) ~[client-1.20.1-20230612.114412-srg.jar%23224!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:A}     at net.minecraft.client.renderer.LevelRenderer.m_109599_(LevelRenderer.java:2275) ~[client-1.20.1-20230612.114412-srg.jar%23224!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:A}     at net.minecraft.client.renderer.GameRenderer.m_109089_(GameRenderer.java:1651) ~[client-1.20.1-20230612.114412-srg.jar%23224!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:mixins.satin.client.json:event.GameRendererMixin,pl:mixin:APP:tacz.mixins.json:client.GameRendererMixin,pl:mixin:APP:cameraoverhaul.mixins.json:modern.GameRendererMixin,pl:mixin:APP:securitycraft.mixins.json:camera.GameRendererMixin,pl:mixin:A}     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:1279) ~[client-1.20.1-20230612.114412-srg.jar%23224!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:mixins.satin.client.json:event.GameRendererMixin,pl:mixin:APP:tacz.mixins.json:client.GameRendererMixin,pl:mixin:APP:cameraoverhaul.mixins.json:modern.GameRendererMixin,pl:mixin:APP:securitycraft.mixins.json:camera.GameRendererMixin,pl:mixin:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1146) ~[client-1.20.1-20230612.114412-srg.jar%23224!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23224!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:218) ~[forge-47.3.0.jar:?] {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.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}     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 net.minecraft.client.renderer.LevelRenderer.m_109703_(LevelRenderer.java:372) ~[client-1.20.1-20230612.114412-srg.jar%23224!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:A}     at net.minecraft.client.renderer.LevelRenderer.m_109599_(LevelRenderer.java:2275) ~[client-1.20.1-20230612.114412-srg.jar%23224!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:A}     at net.minecraft.client.renderer.GameRenderer.m_109089_(GameRenderer.java:1651) ~[client-1.20.1-20230612.114412-srg.jar%23224!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:mixins.satin.client.json:event.GameRendererMixin,pl:mixin:APP:tacz.mixins.json:client.GameRendererMixin,pl:mixin:APP:cameraoverhaul.mixins.json:modern.GameRendererMixin,pl:mixin:APP:securitycraft.mixins.json:camera.GameRendererMixin,pl:mixin:A} -- Affected level -- Details:     All players: 1 total; [LocalPlayer['cheezbergr'/61, l='ClientLevel', x=-2.50, y=103.00, z=0.50]]     Chunk stats: 961, 552     Level dimension: minecraft:overworld     Level spawn location: World: (0,103,0), Section: (at 0,7,0 in 0,6,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)     Level time: 40 game time, 40 day time     Server brand: forge     Server type: Integrated singleplayer server Stacktrace:     at net.minecraft.client.multiplayer.ClientLevel.m_6026_(ClientLevel.java:590) ~[client-1.20.1-20230612.114412-srg.jar%23224!/:?] {re:mixin,xf:OptiFine:default,re:classloading,xf:OptiFine:default,pl:mixin:APP:sound_physics_remastered.mixins.json:ClientLevelMixin,pl:mixin:A}     at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2319) ~[client-1.20.1-20230612.114412-srg.jar%23224!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:740) ~[client-1.20.1-20230612.114412-srg.jar%23224!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:218) ~[forge-47.3.0.jar:?] {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.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.3.0.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {} -- Last reload -- Details:     Reload number: 1     Reload reason: initial     Finished: Yes     Packs: vanilla, mod_resources, file/FreshAnimations_v1.9.1.zip, file/MandalasGUI+Dakmode_1.20.5.zip, file/TZP_1.20.1_2.7.zip -- System Details -- Details:     Minecraft Version: 1.20.1     Minecraft Version ID: 1.20.1     Operating System: Windows 11 (amd64) version 10.0     Java Version: 17.0.8, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 542663936 bytes (517 MiB) / 2705326080 bytes (2580 MiB) up to 4294967296 bytes (4096 MiB)     CPUs: 16     Processor Vendor: AuthenticAMD     Processor Name: AMD Ryzen 7 5800X 8-Core Processor                  Identifier: AuthenticAMD Family 25 Model 33 Stepping 0     Microarchitecture: Zen 3     Frequency (GHz): 3.79     Number of physical packages: 1     Number of physical CPUs: 8     Number of logical CPUs: 16     Graphics card #0 name: Virtual Desktop Monitor     Graphics card #0 vendor: Virtual Desktop, Inc.     Graphics card #0 VRAM (MB): 0.00     Graphics card #0 deviceId: unknown     Graphics card #0 versionInfo: DriverVersion=10.54.50.446     Graphics card #1 name: NVIDIA GeForce RTX 3060 Ti     Graphics card #1 vendor: NVIDIA (0x10de)     Graphics card #1 VRAM (MB): 4095.00     Graphics card #1 deviceId: 0x2489     Graphics card #1 versionInfo: DriverVersion=32.0.15.5612     Memory slot #0 capacity (MB): 8192.00     Memory slot #0 clockSpeed (GHz): 2.13     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 8192.00     Memory slot #1 clockSpeed (GHz): 2.13     Memory slot #1 type: DDR4     Virtual memory max (MB): 32572.56     Virtual memory used (MB): 12874.98     Swap memory total (MB): 16286.28     Swap memory used (MB): 0.00     JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m     Launched Version: forge-47.3.0     Backend library: LWJGL version 3.3.1 build 7     Backend API: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 556.12, NVIDIA Corporation     Window size: 2560x1080     GL Caps: Using framebuffer using OpenGL 3.2     GL debug messages: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. Texture name does not refer to a texture object generated by OpenGL.' x 1     Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge'     Type: Integrated Server (map_client.txt)     Graphics mode: fancy     Resource Packs: vanilla, mod_resources, file/FreshAnimations_v1.9.1.zip, file/MandalasGUI+Dakmode_1.20.5.zip (incompatible), file/TZP_1.20.1_2.7.zip     Current Language: en_us     CPU: 16x AMD Ryzen 7 5800X 8-Core Processor      Server Running: true     Player Count: 1 / 8; [ServerPlayer['cheezbergr'/61, l='ServerLevel[an endless winter]', x=-2.50, y=103.00, z=0.50]]     Data Packs: vanilla, mod:farmersdelight, mod:weaponmaster_ydm (incompatible), mod:radiantgear (incompatible), mod:cozy_home, mod:ambientsounds, mod:primalwinter, mod:blur (incompatible), mod:satin (incompatible), mod:geckolib, mod:creativecore, mod:supermartijn642corelib, mod:tacz, mod:libraryferret, mod:curios (incompatible), mod:sound_physics_remastered (incompatible), mod:realmrpg_skeletons, mod:forgeendertech, mod:wardrobe, mod:man, mod:betterfog (incompatible), mod:toughasnails (incompatible), mod:bettervillage, mod:mixinextras (incompatible), mod:connectedglass, mod:simply_houses (incompatible), mod:terralith, mod:fusion, mod:adchimneys, mod:the_knocker, mod:forge, mod:dynamictrees (incompatible), mod:tectonic (incompatible), mod:presencefootsteps (incompatible), mod:dtterralith (incompatible), builtin/replace_tree_features_fix (incompatible), builtin/skylands_winter_fix (incompatible), tectonic/terratonic, mod:securitycraft, mod:cameraoverhaul (incompatible)     Enabled Feature Flags: minecraft:vanilla     World Generation: Experimental     OptiFine Version: OptiFine_1.20.1_HD_U_I6     OptiFine Build: 20231221-120401     Render Distance Chunks: 12     Mipmaps: 4     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: BSL_v8.2.09.zip     OpenGlVersion: 4.6.0 NVIDIA 556.12     OpenGlRenderer: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2     OpenGlVendor: NVIDIA Corporation     CpuCount: 16     ModLauncher: 10.0.9+10.0.9+main.dcd20f30     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:          mixin-0.8.5.jar mixin PLUGINSERVICE          eventbus-6.0.5.jar eventbus PLUGINSERVICE          fmlloader-1.20.1-47.3.0.jar slf4jfixer PLUGINSERVICE          fmlloader-1.20.1-47.3.0.jar object_holder_definalize PLUGINSERVICE          fmlloader-1.20.1-47.3.0.jar runtime_enum_extender PLUGINSERVICE          fmlloader-1.20.1-47.3.0.jar capability_token_subclass PLUGINSERVICE          accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE          fmlloader-1.20.1-47.3.0.jar runtimedistcleaner PLUGINSERVICE          modlauncher-10.0.9.jar mixin TRANSFORMATIONSERVICE          modlauncher-10.0.9.jar OptiFine TRANSFORMATIONSERVICE          modlauncher-10.0.9.jar fml TRANSFORMATIONSERVICE      FML Language Providers:          [email protected]         lowcodefml@null         javafml@null     Mod List:          client-1.20.1-20230612.114412-srg.jar             |Minecraft                     |minecraft                     |1.20.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.20.1-1.2.4.jar                   |Farmer's Delight              |farmersdelight                |1.20.1-1.2.4        |DONE      |Manifest: NOSIGNATURE         weaponmaster_ydm-forge-1.20.1-4.2.3.jar           |YDM's Weapon Master           |weaponmaster_ydm              |4.2.3               |DONE      |Manifest: NOSIGNATURE         radiantgear-forge-2.1.5+1.20.1.jar                |Radiant Gear                  |radiantgear                   |2.1.5+1.20.1        |DONE      |Manifest: NOSIGNATURE         cozy_home-3.0.3.2-forge-1.20.1.jar                |Cozy Home                     |cozy_home                     |3.0.3.2             |DONE      |Manifest: NOSIGNATURE         AmbientSounds_FORGE_v6.0.2_mc1.20.1.jar           |AmbientSounds                 |ambientsounds                 |6.0.2               |DONE      |Manifest: NOSIGNATURE         primalwinter-forge-1.20-5.0.0.jar                 |Primal Winter                 |primalwinter                  |5.0.0               |DONE      |Manifest: NOSIGNATURE         blur-forge-3.1.1.jar                              |Blur (Forge)                  |blur                          |3.1.1               |DONE      |Manifest: NOSIGNATURE         satin-forge-1.20.1+1.15.0-SNAPSHOT.jar            |Satin Forge                   |satin                         |1.20.1+1.15.0-SNAPSH|DONE      |Manifest: NOSIGNATURE         geckolib-forge-1.20.1-4.4.7.jar                   |GeckoLib 4                    |geckolib                      |4.4.7               |DONE      |Manifest: NOSIGNATURE         CreativeCore_FORGE_v2.11.30_mc1.20.1.jar          |CreativeCore                  |creativecore                  |2.11.30             |DONE      |Manifest: NOSIGNATURE         supermartijn642corelib-1.1.17-forge-mc1.20.1.jar  |SuperMartijn642's Core Lib    |supermartijn642corelib        |1.1.17              |DONE      |Manifest: NOSIGNATURE         tacz-1.20.1-1.0.1-hotfix-release.jar              |Timeless & Classics Guns: Zero|tacz                          |1.0.1-hotfix        |DONE      |Manifest: NOSIGNATURE         libraryferret-forge-1.20.1-4.0.0.jar              |Library ferret                |libraryferret                 |4.0.0               |DONE      |Manifest: NOSIGNATURE         curios-forge-5.9.1+1.20.1.jar                     |Curios API                    |curios                        |5.9.1+1.20.1        |DONE      |Manifest: NOSIGNATURE         sound-physics-remastered-forge-1.20.1-1.4.2.jar   |Sound Physics Remastered      |sound_physics_remastered      |1.20.1-1.4.2        |DONE      |Manifest: NOSIGNATURE         realmrpg_fallen_adventurers_1.0.3_forge_1.20.1.jar|Realm RPG: Fallen Adventurers |realmrpg_skeletons            |1.0.3               |DONE      |Manifest: NOSIGNATURE         ForgeEndertech-1.20.1-11.1.4.0-build.0572.jar     |ForgeEndertech                |forgeendertech                |11.1.4.0            |DONE      |Manifest: NOSIGNATURE         wardrobe-1.0.3.1-forge-1.20.1.jar                 |Wardrobe                      |wardrobe                      |1.0.3.1             |DONE      |Manifest: NOSIGNATURE         the man 1.20.1 - 1.0.0.jar                        |The Man From The Fog          |man                           |1.0.0               |DONE      |Manifest: NOSIGNATURE         BetterFog-1.20.1-1.2.2.jar                        |Better Fog                    |betterfog                     |1.0.0               |DONE      |Manifest: NOSIGNATURE         [1.20.1] SecurityCraft v1.9.10.jar                |SecurityCraft                 |securitycraft                 |1.9.10              |DONE      |Manifest: NOSIGNATURE         ToughAsNails-1.20.1-9.0.0.96.jar                  |Tough As Nails                |toughasnails                  |0.0NONE             |DONE      |Manifest: NOSIGNATURE         bettervillage-forge-1.20.1-3.2.0.jar              |Better village                |bettervillage                 |3.1.0               |DONE      |Manifest: NOSIGNATURE         mixinextras-forge-0.2.1.jar                       |MixinExtras                   |mixinextras                   |0.2.1               |DONE      |Manifest: NOSIGNATURE         connectedglass-1.1.11-forge-mc1.20.1.jar          |Connected Glass               |connectedglass                |1.1.11              |DONE      |Manifest: NOSIGNATURE         SimplyHouses-1.1.4-1.20.1-forge.jar               |Simply Houses                 |simply_houses                 |1.1.4-1.20.1        |DONE      |Manifest: NOSIGNATURE         Terralith_1.20_v2.5.1.jar                         |Terralith                     |terralith                     |2.5.1               |DONE      |Manifest: NOSIGNATURE         fusion-1.1.1-forge-mc1.20.1.jar                   |Fusion                        |fusion                        |1.1.1               |DONE      |Manifest: NOSIGNATURE         AdChimneys-1.20.1-10.1.11.0-build.0620.jar        |Advanced Chimneys             |adchimneys                    |10.1.11.0           |DONE      |Manifest: NOSIGNATURE         the_knocker-1.3.0a-forge-1.20.1.jar               |The Knocker                   |the_knocker                   |1.3.0               |DONE      |Manifest: NOSIGNATURE         cameraoverhaul-1.1-1.20.4.jar                     |Camera Overhaul               |cameraoverhaul                |1.0.0               |DONE      |Manifest: NOSIGNATURE         forge-1.20.1-47.3.0-universal.jar                 |Forge                         |forge                         |47.3.0              |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         DynamicTrees-1.20.1-1.3.0-BETA7.jar               |Dynamic Trees                 |dynamictrees                  |1.20.1-1.3.0-BETA7  |DONE      |Manifest: NOSIGNATURE         tectonic-forge-1.19.3-2.3.5a.jar                  |Tectonic                      |tectonic                      |2.3.5a              |DONE      |Manifest: NOSIGNATURE         PresenceFootsteps-1.20.1-1.9.1-beta.1.jar         |Presence Footsteps (Forge)    |presencefootsteps             |1.20.1-1.9.1-beta.1 |DONE      |Manifest: NOSIGNATURE         DynamicTreesTerralith-1.20.1-1.2.1.jar            |Dynamic Trees for Terralith   |dtterralith                   |1.20.1-1.2.1        |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 8419d3de-1e69-45e4-9683-09da6d42688b     FML: 47.3     Forge: net.minecraftforge:47.3.0  
    • Hi, Forge refuses to recognize the mods "moonlight" and "enhancedcelestial" in my friend's modpack for essential, we have double checked that the modpack we're using has both those mods, and it still won't recognize, saying I don't have them. If I try to manually add these mods into my game, it gives me the "Unexpected custom data from client" error. I am stuck in a loop here. -- Unexpected custom data from client Missing required datapack registries: moonlight:soft_fluids, enchancedcelestials:lunar/event, enhancedcelestials:lunar/dimension_settings, moonlight:map_markers -- Logs https://pastebin.com/rvFnk4n3
    • Good afternoon, I have a problem with the minecraft launcher, when trying to open a version with forge it does not open the minecraft and the launcher gives me an error code 1, this passes me from version 1.17 onwards and without having any mod installed.   [29jun.2024 18:08:14.073] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, MarkitoPlex, --version, 1.20.1-forge-47.3.1, --gameDir, C:\Users\Marco Antonio RL\AppData\Roaming\.minecraft, --assetsDir, C:\Users\Marco Antonio RL\AppData\Roaming\.minecraft\assets, --assetIndex, 5, --uuid, 4768b6d7e7fa48f58946cbe18989d2e3, --accessToken, ????????, --clientId, ZmEwYTkyM2YtZTU2YS00NTVlLWE4NTgtYjY0MWI5YzFhODc1, --xuid, 2535453534635465, --userType, msa, --versionType, release, --quickPlayPath, C:\Users\Marco Antonio RL\AppData\Roaming\.minecraft\quickPlay\java\1719706091955.json, --launchTarget, forgeclient, --fml.forgeVersion, 47.3.1, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [29jun.2024 18:08:14.077] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Microsoft; OS Windows 11 arch amd64 version 10.0 [29jun.2024 18:08:14.178] [main/WARN] [net.minecraftforge.fml.loading.FMLConfig/CORE]: Configuration file C:\Users\Marco Antonio RL\AppData\Roaming\.minecraft\config\fml.toml is not correct. Correcting [29jun.2024 18:08:14.179] [main/INFO] [net.minecraftforge.fml.loading.FMLConfig/CORE]: Incorrect key [earlyWindowShowCPU] was corrected from null to false [29jun.2024 18:08:14.196] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow [29jun.2024 18:08:14.341] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.6    
  • Topics

×
×
  • Create New...

Important Information

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