Jump to content

[Solved] Entity not rendering properly. Help???


Awesome_Spider

Recommended Posts

So I recently added an entity to my mod. It is supposed to render a standard biped, but instead it renders like this:cBGvT9M

Here is the code:

The entity's class:

public class GreyMan
			extends EntityMob{

public GreyMan(World par1World) {
	super(par1World);
        this.isImmuneToFire = true;
        this.experienceValue = 10;
        
        this.getNavigator().setBreakDoors(true);
        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityVillager.class, 1.0D, true));
        this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(6, new EntityAIMoveThroughVillage(this, 1.0D, false));
        this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
        this.tasks.addTask(8, new EntityAILookIdle(this));
        this.tasks.addTask(9, new EntityAIOpenDoor(this, true));
        this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
        this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, false));
        this.setSize(0.6F, 1.8F);
}

    protected void applyEntityAttributes()
    {
        super.applyEntityAttributes();
        this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(20.0D);
        this.getEntityAttribute(SharedMonsterAttributes.followRange).setBaseValue(40.0D);
        this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.23000000417232513D);
        this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(5.0D);
    }

    /**
     * Returns the sound this mob makes while it's alive.
     */
    protected String getLivingSound()
    {
        return "mob.blaze.breathe";
    }
    
    /**
    * Returns the sound this mob makes when it is hurt.
    */
   protected String getHurtSound()
   {
       return "mob.blaze.hit";
   }

   /**
    * Returns the sound this mob makes on death.
    */
   protected String getDeathSound()
   {
       return "mob.blaze.death";
   }
   
   protected void func_145780_a(int p_145780_1_, int p_145780_2_, int p_145780_3_, Block p_145780_4_)
   {
       this.playSound("mob.skeleton.step", 0.15F, 1.0F);
   }
   
   /**
    * Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons
    * use this to react to sunlight and start to burn.
    */
   public void onLivingUpdate()
   {
   if (this.isWet())
	   this.teleportRandomly();
   }
   
   /**
    * Teleport the grey man to a random nearby position
    */
   protected boolean teleportRandomly()
   {
       double d0 = this.posX + (this.rand.nextDouble() - 0.5D) * 64.0D;
       double d1 = this.posY + (double)(this.rand.nextInt(64) - 32);
       double d2 = this.posZ + (this.rand.nextDouble() - 0.5D) * 64.0D;
       return this.teleportTo(d0, d1, d2);
   }
   
   /**
    * Teleport the grey man
    */
   protected boolean teleportTo(double par1, double par3, double par5)
   {
       EnderTeleportEvent event = new EnderTeleportEvent(this, par1, par3, par5, 0);
       if (MinecraftForge.EVENT_BUS.post(event)){
           return false;
       }
       double d3 = this.posX;
       double d4 = this.posY;
       double d5 = this.posZ;
       this.posX = event.targetX;
       this.posY = event.targetY;
       this.posZ = event.targetZ;
       boolean flag = false;
       int i = MathHelper.floor_double(this.posX);
       int j = MathHelper.floor_double(this.posY);
       int k = MathHelper.floor_double(this.posZ);

       if (this.worldObj.blockExists(i, j, k))
       {
           boolean flag1 = false;

           while (!flag1 && j > 0)
           {
               Block block = this.worldObj.getBlock(i, j - 1, k);

               if (block.getMaterial().blocksMovement())
               {
                   flag1 = true;
               }
               else
               {
                   --this.posY;
                   --j;
               }
           }

           if (flag1)
           {
               this.setPosition(this.posX, this.posY, this.posZ);

               if (this.worldObj.getCollidingBoundingBoxes(this, this.boundingBox).isEmpty() && !this.worldObj.isAnyLiquid(this.boundingBox))
               {
                   flag = true;
               }
           }
       }

       if (!flag)
       {
           this.setPosition(d3, d4, d5);
           return false;
       }
       else
       {
           short short1 = 128;

           for (int l = 0; l < short1; ++l)
           {
               double d6 = (double)l / ((double)short1 - 1.0D);
               float f = (this.rand.nextFloat() - 0.5F) * 0.2F;
               float f1 = (this.rand.nextFloat() - 0.5F) * 0.2F;
               float f2 = (this.rand.nextFloat() - 0.5F) * 0.2F;
               double d7 = d3 + (this.posX - d3) * d6 + (this.rand.nextDouble() - 0.5D) * (double)this.width * 2.0D;
               double d8 = d4 + (this.posY - d4) * d6 + this.rand.nextDouble() * (double)this.height;
               double d9 = d5 + (this.posZ - d5) * d6 + (this.rand.nextDouble() - 0.5D) * (double)this.width * 2.0D;
               this.worldObj.spawnParticle("portal", d7, d8, d9, (double)f, (double)f1, (double)f2);
           }

           this.worldObj.playSoundEffect(d3, d4, d5, "mob.endermen.portal", 1.0F, 1.0F);
           this.playSound("mob.endermen.portal", 1.0F, 1.0F);
           return true;
       }
   }
}

 

The model's code:

// Date: 9/7/2014 6:33:49 AM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX

package com.awsp8.wizardry.entity.model;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelGreyMan extends ModelBase{
  //fields
    ModelRenderer head;
    ModelRenderer body;
    ModelRenderer rightarm;
    ModelRenderer leftarm;
    ModelRenderer rightleg;
    ModelRenderer leftleg;
  
  public ModelGreyMan()
  {
    textureWidth = 64;
    textureHeight = 32;
    
      head = new ModelRenderer(this, 0, 0);
      head.addBox(-4F, -8F, -4F, 8, 8, ;
      head.setRotationPoint(0F, 0F, 0F);
      head.setTextureSize(64, 32);
      head.mirror = true;
      setRotation(head, 0F, 0F, 0F);
      body = new ModelRenderer(this, 16, 16);
      body.addBox(-4F, 0F, -2F, 8, 12, 4);
      body.setRotationPoint(0F, 0F, 0F);
      body.setTextureSize(64, 32);
      body.mirror = true;
      setRotation(body, 0F, 0F, 0F);
      rightarm = new ModelRenderer(this, 40, 16);
      rightarm.addBox(-3F, -2F, -2F, 4, 12, 4);
      rightarm.setRotationPoint(-5F, 2F, 0F);
      rightarm.setTextureSize(64, 32);
      rightarm.mirror = true;
      setRotation(rightarm, 0F, 0F, 0F);
      leftarm = new ModelRenderer(this, 40, 16);
      leftarm.addBox(-1F, -2F, -2F, 4, 12, 4);
      leftarm.setRotationPoint(5F, 2F, 0F);
      leftarm.setTextureSize(64, 32);
      leftarm.mirror = true;
      setRotation(leftarm, 0F, 0F, 0F);
      rightleg = new ModelRenderer(this, 0, 16);
      rightleg.addBox(-2F, 0F, -2F, 4, 12, 4);
      rightleg.setRotationPoint(-2F, 12F, 0F);
      rightleg.setTextureSize(64, 32);
      rightleg.mirror = true;
      setRotation(rightleg, 0F, 0F, 0F);
      leftleg = new ModelRenderer(this, 0, 16);
      leftleg.addBox(-2F, 0F, -2F, 4, 12, 4);
      leftleg.setRotationPoint(2F, 12F, 0F);
      leftleg.setTextureSize(64, 32);
      leftleg.mirror = true;
      setRotation(leftleg, 0F, 0F, 0F);
  }
  
  public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
  {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5, entity);
    head.render(f5);
    body.render(f5);
    rightarm.render(f5);
    leftarm.render(f5);
    rightleg.render(f5);
    leftleg.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, entity);
  }

}

 

The rendering class:

package com.awsp8.wizardry.entity.render;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderBiped;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.util.ResourceLocation;

import com.awsp8.wizardry.Entities.GreyMan;
import com.awsp8.wizardry.entity.model.ModelGreyMan;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

@SideOnly(Side.CLIENT)
public class RenderGreyMan
			extends RenderLiving{

public RenderGreyMan(ModelBase modelBase, float par2) {
	super(modelBase, par2);
}

@Override
protected ResourceLocation getEntityTexture(Entity var1) {
	return new ResourceLocation("wizardry", "/textures/entities/greyMan.png");
}
}

 

The proxy class:

package com.awsp8.wizardry;

import net.minecraft.client.model.ModelBiped;

import com.awsp8.wizardry.Entities.GreyMan;
import com.awsp8.wizardry.entity.model.ModelGreyMan;
import com.awsp8.wizardry.entity.render.RenderGreyMan;

import cpw.mods.fml.client.registry.RenderingRegistry;

public class ClientProxy
			extends CommonProxy {

@Override
    public void registerRenderers() {
        RenderingRegistry.registerEntityRenderingHandler(GreyMan.class, new RenderGreyMan(new ModelGreyMan(), 0.5F)); 
    }
}

 

In the main class the proxy is registered like this:

    @SidedProxy(clientSide = Info.clientSide, serverSide = Info.serverSide)
    public static CommonProxy proxy;

 

My mod's init method in the main class:

    	registerEntity(GreyMan.class, "greyMan", 660000, 050505);
        addSpawn(GreyMan.class, 25, 2, 6, new BiomeGenBase[] {});

Later in the main class:



    public void registerEntity(Class<? extends Entity> entityClass, String entityName, int bkEggColor, int fgEggColor) {
    	int id = EntityRegistry.findGlobalUniqueEntityId();
    	EntityRegistry.registerGlobalEntityID(entityClass, entityName, id);
    	EntityList.entityEggs.put(Integer.valueOf(id), new EntityList.EntityEggInfo(id, bkEggColor, fgEggColor));
    }


public void addSpawn(Class<? extends EntityLiving> entityClass, int spawnProb, int min, int max, BiomeGenBase[] biomes) {
	if (spawnProb > 0) {
			EntityRegistry.addSpawn(entityClass, spawnProb, min, max, EnumCreatureType.creature, biomes);
	}
}

 

I have been troubleshooting this code for a week now, any help is appreciated. :)

Link to comment
Share on other sites

Where do you call "registerRenderers"?

Where do you register your entity to the EntityRegistry?

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

I don't see where you call registerRenderers, or the SidedProxy annotation. By the way, there is a version of registerGlobalEntityId that accepts color parameters.

 

It's there now. Any other info you need?

 

Oh and btw I know there is a version of registerGlobalEntityId that take colors, it just wasn't working for me. :)

 

Edit: Wait a second... did you say I have to call registerRenderers? I think I just created it is all. I will try that :)

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

    • Looks like an issue with BlueprintsMod - make a test without it
    • Add crash-reports with sites like https://paste.ee/ and paste the link to it here   Remove Optifine - if there is no change, add the new crash-report
    • Do you mean the Curseforge Launcher - just search for the modpack there and install it
    • is the “import modpack” on multiMC and AT launcher, not on forge?
    • I need help with this, I don't know what to do The error code is: ---- Minecraft Crash Report ---- // You should try our sister game, Minceraft! Time: 2024-05-26 10:22:04 Description: Rendering overlay java.lang.RuntimeException: null     at net.minecraftforge.fml.DeferredWorkQueue.runTasks(DeferredWorkQueue.java:58) ~[fmlcore-1.20.2-48.1.0.jar%23231!/:?] {}     at net.minecraftforge.fml.core.ParallelTransition.lambda$finalActivityGenerator$2(ParallelTransition.java:35) ~[forge-1.20.2-48.1.0-universal.jar%23235!/:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:198) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default}     at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:163) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default}     at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:140) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1171) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaerominimap:xaero_minecraftclient,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:781) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaerominimap:xaero_minecraftclient,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:221) ~[1.20.2-forge-48.1.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:98) ~[fmlloader-1.20.2-48.1.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.lambda$makeService$0(CommonLaunchHandler.java:82) ~[fmlloader-1.20.2-48.1.0.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:17) ~[modlauncher-10.1.1.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:40) ~[modlauncher-10.1.1.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:58) ~[modlauncher-10.1.1.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:96) ~[modlauncher-10.1.1.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) ~[modlauncher-10.1.1.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:13) ~[modlauncher-10.1.1.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:10) ~[modlauncher-10.1.1.jar:?] {}     at net.minecraftforge.bootstrap.BootstrapLauncher.main(BootstrapLauncher.java:126) ~[bootstrap-1.2.0.jar:?] {}     Suppressed: java.lang.NoClassDefFoundError: net/minecraftforge/network/simple/SimpleChannel         at com.mrcrayfish.framework.platform.network.ForgeNetworkBuilder.registerHandshakeMessage(ForgeNetworkBuilder.java:120) ~[framework-forge-1.20.1-0.6.27.jar%23208!/:1.20.1-0.6.27] {re:classloading}         at com.mrcrayfish.framework.platform.network.ForgeNetworkBuilder.registerHandshakeMessage(ForgeNetworkBuilder.java:34) ~[framework-forge-1.20.1-0.6.27.jar%23208!/:1.20.1-0.6.27] {re:classloading}         at com.mrcrayfish.framework.network.Network.<clinit>(Network.java:21) ~[framework-forge-1.20.1-0.6.27.jar%23208!/:1.20.1-0.6.27] {re:classloading}         at com.mrcrayfish.framework.FrameworkSetup.init(FrameworkSetup.java:62) ~[framework-forge-1.20.1-0.6.27.jar%23208!/:1.20.1-0.6.27] {re:classloading}         at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}         at net.minecraftforge.fml.DeferredWorkQueue.lambda$makeRunnable$2(DeferredWorkQueue.java:81) ~[fmlcore-1.20.2-48.1.0.jar%23231!/:?] {}         at net.minecraftforge.fml.DeferredWorkQueue.makeRunnable(DeferredWorkQueue.java:76) ~[fmlcore-1.20.2-48.1.0.jar%23231!/:?] {}         at net.minecraftforge.fml.DeferredWorkQueue.lambda$runTasks$0(DeferredWorkQueue.java:60) ~[fmlcore-1.20.2-48.1.0.jar%23231!/:?] {}         at java.util.concurrent.ConcurrentLinkedDeque.forEach(ConcurrentLinkedDeque.java:1650) ~[?:?] {}         at net.minecraftforge.fml.DeferredWorkQueue.runTasks(DeferredWorkQueue.java:60) ~[fmlcore-1.20.2-48.1.0.jar%23231!/:?] {}         at net.minecraftforge.fml.core.ParallelTransition.lambda$finalActivityGenerator$2(ParallelTransition.java:35) ~[forge-1.20.2-48.1.0-universal.jar%23235!/:?] {re:classloading}         at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?] {}         at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}         at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading}         at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:198) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default}         at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading}         at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:163) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default}         at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:140) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default}         at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1171) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaerominimap:xaero_minecraftclient,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}         at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:781) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaerominimap:xaero_minecraftclient,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}         at net.minecraft.client.main.Main.main(Main.java:221) ~[1.20.2-forge-48.1.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:98) ~[fmlloader-1.20.2-48.1.0.jar:?] {}         at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.lambda$makeService$0(CommonLaunchHandler.java:82) ~[fmlloader-1.20.2-48.1.0.jar:?] {}         at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:17) ~[modlauncher-10.1.1.jar:?] {}         at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:40) ~[modlauncher-10.1.1.jar:?] {}         at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:58) ~[modlauncher-10.1.1.jar:?] {}         at cpw.mods.modlauncher.Launcher.run(Launcher.java:96) ~[modlauncher-10.1.1.jar:?] {}         at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) ~[modlauncher-10.1.1.jar:?] {}         at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:13) ~[modlauncher-10.1.1.jar:?] {}         at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:10) ~[modlauncher-10.1.1.jar:?] {}         at net.minecraftforge.bootstrap.BootstrapLauncher.main(BootstrapLauncher.java:126) ~[bootstrap-1.2.0.jar:?] {}     Caused by: java.lang.ClassNotFoundException: net.minecraftforge.network.simple.SimpleChannel         at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?] {}         at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] {}         at net.minecraftforge.securemodules.SecureModuleClassLoader.loadClass(SecureModuleClassLoader.java:392) ~[securemodules-2.2.3.jar:?] {}         at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] {}         at net.minecraftforge.securemodules.SecureModuleClassLoader.loadClass(SecureModuleClassLoader.java:392) ~[securemodules-2.2.3.jar:?] {}         at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] {}         ... 35 more 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.minecraftforge.fml.DeferredWorkQueue.runTasks(DeferredWorkQueue.java:58) ~[fmlcore-1.20.2-48.1.0.jar%23231!/:?] {}     at net.minecraftforge.fml.core.ParallelTransition.lambda$finalActivityGenerator$2(ParallelTransition.java:35) ~[forge-1.20.2-48.1.0-universal.jar%23235!/:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:198) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default}     at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:163) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default} -- Overlay render details -- Details:     Overlay name: net.minecraftforge.client.loading.ForgeLoadingOverlay Stacktrace:     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:1387) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1211) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaerominimap:xaero_minecraftclient,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:781) ~[client-1.20.2-20230921.100330-srg.jar%23230!/:?] {re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaerominimap:xaero_minecraftclient,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:221) ~[1.20.2-forge-48.1.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:98) ~[fmlloader-1.20.2-48.1.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.lambda$makeService$0(CommonLaunchHandler.java:82) ~[fmlloader-1.20.2-48.1.0.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:17) ~[modlauncher-10.1.1.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:40) ~[modlauncher-10.1.1.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:58) ~[modlauncher-10.1.1.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:96) ~[modlauncher-10.1.1.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) ~[modlauncher-10.1.1.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:13) ~[modlauncher-10.1.1.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:10) ~[modlauncher-10.1.1.jar:?] {}     at net.minecraftforge.bootstrap.BootstrapLauncher.main(BootstrapLauncher.java:126) ~[bootstrap-1.2.0.jar:?] {} -- Last reload -- Details:     Reload number: 1     Reload reason: initial     Finished: No     Packs: vanilla, mod_resources -- System Details -- Details:     Minecraft Version: 1.20.2     Minecraft Version ID: 1.20.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: 598872400 bytes (571 MiB) / 1006632960 bytes (960 MiB) up to 2147483648 bytes (2048 MiB)     CPUs: 16     Processor Vendor: GenuineIntel     Processor Name: 13th Gen Intel(R) Core(TM) i5-13400F     Identifier: Intel64 Family 6 Model 191 Stepping 2     Microarchitecture: unknown     Frequency (GHz): 2.50     Number of physical packages: 1     Number of physical CPUs: 10     Number of logical CPUs: 16     Graphics card #0 name: NVIDIA GeForce RTX 4060 Ti     Graphics card #0 vendor: NVIDIA (0x10de)     Graphics card #0 VRAM (MB): 4095.00     Graphics card #0 deviceId: 0x2803     Graphics card #0 versionInfo: DriverVersion=32.0.15.5585     Memory slot #0 capacity (MB): 16384.00     Memory slot #0 clockSpeed (GHz): 4.80     Memory slot #0 type: Unknown     Memory slot #1 capacity (MB): 16384.00     Memory slot #1 clockSpeed (GHz): 4.80     Memory slot #1 type: Unknown     Virtual memory max (MB): 37723.95     Virtual memory used (MB): 17568.76     Swap memory total (MB): 5120.00     Swap memory used (MB): 124.64     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     JVM uptime in seconds: 14.944     Launched Version: 1.20.2-forge-48.1.0     Backend library: LWJGL version 3.3.2+13     Backend API: NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 555.85, NVIDIA Corporation     Window size: 3840x2160     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'     Type: Client (map_client.txt)     Graphics mode: fancy     Resource Packs:      Current Language: es_mx     Locale: es_MX     CPU: 16x 13th Gen Intel(R) Core(TM) i5-13400F     OptiFine Version: OptiFine_1.20.2_HD_U_I7_pre1     OptiFine Build: 20231221-121621     Render Distance Chunks: 29     Mipmaps: 4     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: null     OpenGlVersion: 4.6.0 NVIDIA 555.85     OpenGlRenderer: NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2     OpenGlVendor: NVIDIA Corporation     CpuCount: 16     ModLauncher: 10.1.1     ModLauncher launch target: forge_client     ModLauncher naming: srg     ModLauncher services:          mixin-0.8.5.jar mixin PLUGINSERVICE          eventbus-6.2.0.jar eventbus PLUGINSERVICE          fmlloader-1.20.2-48.1.0.jar slf4jfixer PLUGINSERVICE          fmlloader-1.20.2-48.1.0.jar object_holder_definalize PLUGINSERVICE          fmlloader-1.20.2-48.1.0.jar runtime_enum_extender PLUGINSERVICE          fmlloader-1.20.2-48.1.0.jar capability_token_subclass PLUGINSERVICE          accesstransformers-8.1.1.jar accesstransformer PLUGINSERVICE          fmlloader-1.20.2-48.1.0.jar runtimedistcleaner PLUGINSERVICE          modlauncher-10.1.1.jar mixin TRANSFORMATIONSERVICE          modlauncher-10.1.1.jar OptiFine TRANSFORMATIONSERVICE          modlauncher-10.1.1.jar fml TRANSFORMATIONSERVICE      FML Language Providers:          [email protected]         lowcodefml@48         javafml@null     Mod List:          client-1.20.2-20230921.100330-srg.jar             |Minecraft                     |minecraft                     |1.20.2              |SIDED_SETU|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         Compressed Blocks-forge-1.20.2-1.5.1.jar          |Compressed Blocks             |compressedblocks              |1.5.1               |SIDED_SETU|Manifest: NOSIGNATURE         JustEnoughBeacons-Forge-1.19+-1.1.2.jar           |JustEnoughBeacons             |just_enough_beacons           |1.1.2               |SIDED_SETU|Manifest: NOSIGNATURE         EnchantmentDescriptions-Forge-1.20.2-18.0.7.jar   |EnchantmentDescriptions       |enchdesc                      |18.0.7              |SIDED_SETU|Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5         TerraBlender-forge-1.20.2-3.2.0.14.jar            |TerraBlender                  |terrablender                  |3.2.0.14            |SIDED_SETU|Manifest: NOSIGNATURE         MouseTweaks-forge-mc1.20.2-2.26.jar               |Mouse Tweaks                  |mousetweaks                   |2.26                |SIDED_SETU|Manifest: NOSIGNATURE         supermartijn642configlib-1.1.8-forge-mc1.20.2.jar |SuperMartijn642's Config Libra|supermartijn642configlib      |1.1.8               |SIDED_SETU|Manifest: NOSIGNATURE         DisenchantmentEditTable-1.20.2-1.2.0.jar          |Disenchantment Edit Table     |editenchanting                |1.2.0               |SIDED_SETU|Manifest: NOSIGNATURE         OnlyHammers-1.20.2-0.5-Forge.jar                  |OnlyHammers                   |onlyhammers                   |1.20.2-0.5          |SIDED_SETU|Manifest: NOSIGNATURE         BiomesOPlenty-1.20.2-18.2.0.53.jar                |Biomes O' Plenty              |biomesoplenty                 |18.2.0.53           |SIDED_SETU|Manifest: NOSIGNATURE         jei-1.20.2-forge-16.0.0.28.jar                    |Just Enough Items             |jei                           |16.0.0.28           |SIDED_SETU|Manifest: NOSIGNATURE         grindenc-forge-1.20.x-v2.1.jar                    |Grindstone Enchantments       |grindenc                      |2.1                 |SIDED_SETU|Manifest: NOSIGNATURE         spectrelib-forge-0.14.1+1.20.2.jar                |SpectreLib                    |spectrelib                    |0.14.1+1.20.2       |SIDED_SETU|Manifest: NOSIGNATURE         supermartijn642corelib-1.1.17-forge-mc1.20.2.jar  |SuperMartijn642's Core Lib    |supermartijn642corelib        |1.1.17              |SIDED_SETU|Manifest: NOSIGNATURE         packedup-1.0.30-forge-mc1.20.2.jar                |Packed Up                     |packedup                      |1.0.30              |SIDED_SETU|Manifest: NOSIGNATURE         caelus-forge-4.0.0+1.20.2.jar                     |Caelus API                    |caelus                        |4.0.0+1.20.2        |SIDED_SETU|Manifest: NOSIGNATURE         Xaeros_Minimap_24.1.1_Forge_1.20.2.jar            |Xaero's Minimap               |xaerominimap                  |24.1.1              |SIDED_SETU|Manifest: NOSIGNATURE         waystones-forge-1.20.2-15.2.0.jar                 |Waystones                     |waystones                     |15.2.0              |SIDED_SETU|Manifest: NOSIGNATURE         TaxFreeLevels-1.3.13-forge-1.20.2.jar             |Tax Free Levels               |taxfreelevels                 |1.3.13              |SIDED_SETU|Manifest: NOSIGNATURE         goldenhopper-forge-1.20.1-1.4.1.jar               |Golden Hopper                 |goldenhopper                  |1.4.1               |SIDED_SETU|Manifest: 0d:78:5f:44:c0:47:0c:8c:e2:63:a3:04:43:d4:12:7d:b0:7c:35:37:dc:40:b1:c1:98:ec:51:eb:3b:3c:45:99         advancednetherite-forge-2.0.2-1.20.2.jar          |Advanced Netherite            |advancednetherite             |2.0.2               |SIDED_SETU|Manifest: NOSIGNATURE         XaerosWorldMap_1.38.4_Forge_1.20.2.jar            |Xaero's World Map             |xaeroworldmap                 |1.38.4              |SIDED_SETU|Manifest: NOSIGNATURE         comforts-forge-7.0.1+1.20.2.jar                   |Comforts                      |comforts                      |7.0.1+1.20.2        |SIDED_SETU|Manifest: NOSIGNATURE         elevatorid-1.20.2-1.9.1-forge.jar                 |Elevator Mod                  |elevatorid                    |1.20.2-1.9.1-forge  |SIDED_SETU|Manifest: NOSIGNATURE         Bookshelf-Forge-1.20.2-21.0.14.jar                |Bookshelf                     |bookshelf                     |21.0.14             |SIDED_SETU|Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5         endercrop-1.20.1-1.7.0.jar                        |Ender Crop                    |endercrop                     |1.20.1-1.7.0        |SIDED_SETU|Manifest: NOSIGNATURE         BetterFurnaces-1.20.2-1.0.4-forge.jar             |Better Furnaces Reforged      |betterfurnacesreforged        |1.0.4               |SIDED_SETU|Manifest: NOSIGNATURE         architectury-10.1.20-minecraftforge.jar           |Architectury                  |architectury                  |10.1.20             |SIDED_SETU|Manifest: NOSIGNATURE         FactoryAPI-1.20.2-2.1.1-forge.jar                 |Factory API                   |factory_api                   |2.1.1               |SIDED_SETU|Manifest: NOSIGNATURE         balm-forge-1.20.2-8.0.5.jar                       |Balm                          |balm                          |8.0.5               |SIDED_SETU|Manifest: NOSIGNATURE         trashcans-1.0.18b-forge-mc1.20.jar                |Trash Cans                    |trashcans                     |1.0.18b             |SIDED_SETU|Manifest: NOSIGNATURE         Simplest_Excavators_forge_1.20.1-1.1.1.jar        |Simplest Excavators           |simplest_excavators           |1.1.1               |SIDED_SETU|Manifest: NOSIGNATURE         inventoryessentials-forge-1.20.2-9.0.1.jar        |Inventory Essentials          |inventoryessentials           |9.0.1               |SIDED_SETU|Manifest: NOSIGNATURE         framework-forge-1.20.1-0.6.27.jar                 |Framework                     |framework                     |0.6.27              |SIDED_SETU|Manifest: 0d:78:5f:44:c0:47:0c:8c:e2:63:a3:04:43:d4:12:7d:b0:7c:35:37:dc:40:b1:c1:98:ec:51:eb:3b:3c:45:99         FallingTree-1.20.2-5.0.6.jar                      |FallingTree                   |fallingtree                   |5.0.6               |SIDED_SETU|Manifest: 3c:8e:df:6c:df:a6:2a:9f:af:64:ea:04:9a:cf:65:92:3b:54:93:0e:96:50:b4:52:e1:13:42:18:2b:ae:40:29         BetterThanMending-1.7.2.jar                       |BetterThanMending             |betterthanmending             |1.7.2               |SIDED_SETU|Manifest: NOSIGNATURE         forge-1.20.2-48.1.0-universal.jar                 |Forge                         |forge                         |48.1.0              |SIDED_SETU|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         toms_storage-1.20.2-1.6.8.jar                     |Tom's Simple Storage Mod      |toms_storage                  |1.6.8               |SIDED_SETU|Manifest: NOSIGNATURE         FastLeafDecay-31.jar                              |Fast Leaf Decay               |fastleafdecay                 |31                  |SIDED_SETU|Manifest: NOSIGNATURE         wso16-forge-1.1.jar                               |Why stacks of 16?             |wso16                         |1.1                 |SIDED_SETU|Manifest: NOSIGNATURE         ironchest-1.20.2-14.5.7.jar                       |Iron Chests                   |ironchest                     |1.20.2-14.5.7       |SIDED_SETU|Manifest: NOSIGNATURE     Crash Report UUID: 80a4d440-910c-41ec-8656-c2f2304db622     FML: 48.1     Forge: net.minecraftforge:48.1.0  
  • Topics

×
×
  • Create New...

Important Information

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