Jump to content

Rendering arrow like item


endershadow

Recommended Posts

i have an entity arrow that works all crrectly but i dont know how to get it to look like what i want, it allways looks like the missing texture

if you can help me fix this i can help this guy by posting the code for it.

 

this part methinks

 

this.loadTexture("/item/arrows.png");

Use examples, i have aspergers.

Examples make sense to me.

Link to comment
Share on other sites

i have an entity arrow that works all crrectly but i dont know how to get it to look like what i want, it allways looks like the missing texture

if you can help me fix this i can help this guy by posting the code for it.

 

this part methinks

 

this.loadTexture("/item/arrows.png");

Just use the arrows.png as a template to make your own arrow and then you replace "/item/arrows.png" with "/relative/path/to/your/arrowstexture.png", the code is counting from the render class so if the texture is in the middle of all your mod's classes, the path would just be "/arrowtexture.png" and if it is in a folder it would be "/foldername/arrowtexture.png". Get it? Try that ;)

Link to comment
Share on other sites

okay i got it to work, so endershadow you need alot of classes to make one rendered throwable or shootable entity, you need a render class, an entity class and a item class, and you need to register the item entity and renderer in your main mod class then the entity and the rederer again in your client proxy, i wil ommit the basic item code in the main mode class as i presume you can do that part.

P.S this is an example dagger.

Main mod class (omitting basic item code)

@Init
proxy.registerRenderers();
	EntityRegistry.registerModEntity(EntityRockSnowball.class, "RockSnowball", 2, this , 250, 1, false);

Dagger Class

package ashtonsmod.common;

import net.minecraft.block.Block;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.projectile.EntitySnowball;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;

public class Dagger extends Item
{
    public Dagger(int par1)
    {
        super(par1);
        this.maxStackSize = 16;
    }
    
    public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
    {
        if (!par3EntityPlayer.capabilities.isCreativeMode)
        {
            --par1ItemStack.stackSize;
        }

        par2World.playSoundAtEntity(par3EntityPlayer, "random.bow", 0.5F, 0.4F / (itemRand.nextFloat() * 0.4F + 0.8F));

        if (!par2World.isRemote)
        {
            par2World.spawnEntityInWorld(new EntityDagger(par2World, par3EntityPlayer));
        }

        return par1ItemStack;
    }
    
    @Override
   	public void updateIcons(IconRegister par1IconRegister)
    {
        this.iconIndex = par1IconRegister.registerIcon("ashtonsmod:Dagger");
    }}

DaggerEntity

package ashtonsmod.common;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.projectile.EntityThrowable;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.DamageSource;
import net.minecraft.util.MovingObjectPosition;
import net.minecraft.world.World;

public class EntityDagger extends EntityThrowable{

public static final float ArrowShake = 0;

public EntityDagger(World par1World) {
  super(par1World);
}

public EntityDagger(World par2World, EntityPlayer par3EntityPlayer) {
  super(par2World,par3EntityPlayer);
}

@Override
protected void entityInit() {

}

@Override
public void readEntityFromNBT(NBTTagCompound nbttagcompound) {

}

@Override
public void writeEntityToNBT(NBTTagCompound nbttagcompound) {

}

@Override
protected void onImpact(MovingObjectPosition par1MovingObjectPosition){

 if (par1MovingObjectPosition.entityHit != null)
  {
   par1MovingObjectPosition.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), 5);
  }
  
  if (!this.worldObj.isRemote && this.rand.nextInt( == 0)
  {
   byte b0 = 1;
   
   if (this.rand.nextInt(32) == 0)
   {
    b0 = 4;
   }
  }
  
  if (!this.worldObj.isRemote)
  {
   this.setDead();
  }
  
}

}

Dagger renderer

package ashtonsmod.common;

import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.entity.Entity;
import net.minecraft.util.MathHelper;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;

public class RenderDagger extends Render
{

public RenderDagger()
{
} 

public void renderDagger(EntityDagger par1EntityDagger, double par2, double par4, double par6, float par8, float par9)
{
    this.loadTexture("/mods/ashtonsmod/textures/gui/dagger.png");
    GL11.glPushMatrix();
    GL11.glTranslatef((float)par2, (float)par4, (float)par6);
    GL11.glRotatef(par1EntityDagger.prevRotationYaw + (par1EntityDagger.rotationYaw - par1EntityDagger.prevRotationYaw) * par9 - 90.0F, 0.0F, 1.0F, 0.0F);
    GL11.glRotatef(par1EntityDagger.prevRotationPitch + (par1EntityDagger.rotationPitch - par1EntityDagger.prevRotationPitch) * par9, 0.0F, 0.0F, 1.0F);
    Tessellator tessellator = Tessellator.instance;
    byte b0 = 0;
    float f2 = 0.0F;
    float f3 = 0.5F;
    float f4 = (float)(0 + b0 * 10) / 32.0F;
    float f5 = (float)(5 + b0 * 10) / 32.0F;
    float f6 = 0.0F;
    float f7 = 0.15625F;
    float f8 = (float)(5 + b0 * 10) / 32.0F;
    float f9 = (float)(10 + b0 * 10) / 32.0F;
    float f10 = 0.05625F;
    GL11.glEnable(GL12.GL_RESCALE_NORMAL);
    float f11 = (float)par1EntityDagger.ArrowShake - par9;

    if (f11 > 0.0F)
    {
        float f12 = -MathHelper.sin(f11 * 3.0F) * f11;
        GL11.glRotatef(f12, 0.0F, 0.0F, 1.0F);
    }

    GL11.glRotatef(45.0F, 1.0F, 0.0F, 0.0F);
    GL11.glScalef(f10, f10, f10);
    GL11.glTranslatef(-4.0F, 0.0F, 0.0F);
    GL11.glNormal3f(f10, 0.0F, 0.0F);
    tessellator.startDrawingQuads();
    tessellator.addVertexWithUV(-7.0D, -2.0D, -2.0D, (double)f6, (double)f8);
    tessellator.addVertexWithUV(-7.0D, -2.0D, 2.0D, (double)f7, (double)f8);
    tessellator.addVertexWithUV(-7.0D, 2.0D, 2.0D, (double)f7, (double)f9);
    tessellator.addVertexWithUV(-7.0D, 2.0D, -2.0D, (double)f6, (double)f9);
    tessellator.draw();
    GL11.glNormal3f(-f10, 0.0F, 0.0F);
    tessellator.startDrawingQuads();
    tessellator.addVertexWithUV(-7.0D, 2.0D, -2.0D, (double)f6, (double)f8);
    tessellator.addVertexWithUV(-7.0D, 2.0D, 2.0D, (double)f7, (double)f8);
    tessellator.addVertexWithUV(-7.0D, -2.0D, 2.0D, (double)f7, (double)f9);
    tessellator.addVertexWithUV(-7.0D, -2.0D, -2.0D, (double)f6, (double)f9);
    tessellator.draw();

    for (int i = 0; i < 4; ++i)
    {
        GL11.glRotatef(90.0F, 1.0F, 0.0F, 0.0F);
        GL11.glNormal3f(0.0F, 0.0F, f10);
        tessellator.startDrawingQuads();
        tessellator.addVertexWithUV(-8.0D, -2.0D, 0.0D, (double)f2, (double)f4);
        tessellator.addVertexWithUV(8.0D, -2.0D, 0.0D, (double)f3, (double)f4);
        tessellator.addVertexWithUV(8.0D, 2.0D, 0.0D, (double)f3, (double)f5);
        tessellator.addVertexWithUV(-8.0D, 2.0D, 0.0D, (double)f2, (double)f5);
        tessellator.draw();
    }

    GL11.glDisable(GL12.GL_RESCALE_NORMAL);
    GL11.glPopMatrix();
}

/**
* Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then
* handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic
* (Render<T extends Entity) and this method has signature public void doRender(T entity, double d, double d1,
* double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that.
*/
public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
{
    this.renderDagger((EntityDagger)par1Entity, par2, par4, par6, par8, par9);
}
}

Client Proxy (i assume you already have one of these set up)

package ashtonsmod.client;

import ashtonsmod.common.EntityDagger;
import ashtonsmod.common.EntityRockSnowball;
import ashtonsmod.common.RenderDagger;
import ashtonsmod.common.RenderRockSnowball;
import ashtonsmod.common.RockSnowball;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.registry.EntityRegistry;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.src.ModLoader;
import net.minecraftforge.client.MinecraftForgeClient;

public class ClientProxyashtonsmod extends ashtonsmod.common.CommonProxy {
        	 @Override
             public void registerRenderers() {
              super.registerRenderers(); 
                 EntityRegistry.registerGlobalEntityID(EntityRockSnowball.class, "RockSnowball", ModLoader.getUniqueEntityId());
                 RenderingRegistry.registerEntityRenderingHandler(EntityRockSnowball.class, new RenderRockSnowball());
                 EntityRegistry.registerGlobalEntityID(EntityDagger.class, "Dagger", ModLoader.getUniqueEntityId());
                 RenderingRegistry.registerEntityRenderingHandler(EntityDagger.class, new RenderDagger());
        }
        
                 }
}

Use examples, i have aspergers.

Examples make sense to me.

Link to comment
Share on other sites

did you do the things above?

try copy pasting some of my code to double check?

double check the referanced classes ie everytime renderdagger is metioned make sure it is spelt correctly and such

i know the above works as i am using it so you must be missing something somewhere what a said a min ago and if that doesnt work post your code and will take a look :)

Use examples, i have aspergers.

Examples make sense to me.

Link to comment
Share on other sites

here's a link to my renderer on github. this one is based off the snowball renderer.

https://github.com/code-lyoko-modding/CodeLyokoMod/blob/master/matt/lyoko/render/RenderLaserArrow.java

I hardly doubt this is the problem since the arrow isn't rendering but you might always check at least, replace this.loadTexture("/mods/lyoko/textures/items/laserarrow.png") with this.loadTexture("/textures/items/laserarrow.png") since it counts the texture path relative to the render code.

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

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