Jump to content

3D Items? - Not even rendering (no crash)


WilLink

Recommended Posts

So I followed this tutorial: http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571595-1-7-2-how-to-code-custom-3d-armor-models-3d?page=6#entry30852686

 

And what I have right now is:

MainClass: (Called zmod) (Actually its called ZMod but i have a variable zmod (public static ZMod zmod;))

@EventHandler
public void preInit(FMLPreInitializationEvent event)
{
	proxy.registerItemRenderers();
	zmod.items();

}

public static void items()
{
	byrne = new ItemSword(ToolMaterial.EMERALD).setUnlocalizedName("byrne").setTextureName(zmod.Id + ":" + "byrne").setCreativeTab(zTab);
	zmod.registerItems();
}

public static void registerItems()
{
	GameRegistry.registerItem(byrne, "Byrne");
}

ClientProxy:

@Override
public void registerItemRenderers()
{
    MinecraftForgeClient.registerItemRenderer(ZMod.byrne, new ItemRenderer());

}

ItemRenderClass:

package zelda.render;

import net.minecraft.client.Minecraft;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.IItemRenderer;

import org.lwjgl.opengl.GL11;

public class ItemRenderer implements IItemRenderer {
    //you'll need an instance of your model. you could also add it to the constructor as an argument to be able to reuse this class for
    //every model you add
    ModelByrne swordmodel;
    Minecraft mc = Minecraft.getMinecraft();

    //constructor
    public ItemRenderer() {
        swordmodel = new ModelByrne();
    }


    @Override
    public void renderItem(ItemRenderType type, ItemStack item, Object... data) {
        float scale;
	switch (type) {

        case EQUIPPED: // render in third person
            GL11.glPushMatrix(); //start gl rendering for this section
            mc.renderEngine.bindTexture(new ResourceLocation(
                    "subaraki:weapons/Sword.png"));
            GL11.glRotatef(0F, 1.0f, 0.0f, 0.0f);	   //rotate 0 ° on X axis
            GL11.glRotatef(-5F, 0.0f, 1.0f, 0.0f);	  // rotate -5 ° on Y axis
            GL11.glRotatef(-150F, 0.0f, 0.0f, 1.0f);  // rotate -150 ° on Z axis
            GL11.glTranslatef(-0.8F, 0.6F, -0.1F);    //translate model to fit in the hand of the player
//the entity argument can/could be passed to as null.
            swordmodel.render((Entity) data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F,
                    0.0625F);
            GL11.glPopMatrix(); //Stop gl rendering for this section
            break;

        case EQUIPPED_FIRST_PERSON:

//rince and repeat the rendering. adjust axis' and translation as needed
            GL11.glPushMatrix();
            mc.renderEngine.bindTexture(new ResourceLocation(
                    "subaraki:weapons/Sword.png"));
            GL11.glRotatef(0F, 1.0f, 0.0f, 0.0f);
            GL11.glRotatef(-5F, 0.0f, 1.0f, 0.0f);
            GL11.glRotatef(-150F, 0.0f, 0.0f, 1.0f);
            GL11.glTranslatef(-0.8F, 0.9F, -0.1F);
            swordmodel.render((Entity) data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F,
                    0.0625F);
            GL11.glPopMatrix();
            break;

        case ENTITY:
            GL11.glPushMatrix();
            scale = 1.5F;
            GL11.glScalef(scale, scale, scale);
            mc.renderEngine.bindTexture(new ResourceLocation(
                    "subaraki:weapons/Sword.png"));
            GL11.glRotatef(90F, 1.0f, 0.0f, 0.0f);
            GL11.glRotatef(0F, 0.0f, 1.0f, 0.0f);
            GL11.glRotatef(45F, 0.0f, 0.0f, 1.0f);
            GL11.glTranslatef(-0.2F, 1F, 0F);
            swordmodel.render((Entity) data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F,
                    0.0625F);
            GL11.glPopMatrix();
            break;

        case INVENTORY:
            GL11.glPushMatrix();
            scale = 0.7F;
            GL11.glScalef(scale, scale, scale);
            mc.renderEngine.bindTexture(new ResourceLocation(
                    "zelda:models/ByrneWeapon.png"));

            GL11.glRotatef(200F, 1.0f, 0.0f, 0.0f);
            GL11.glRotatef(-80F, 0.0f, 1.0f, 0.0f);
            GL11.glTranslatef(0.0F, 1.2F, 0F);
//this is a method made by me in my model class to render only the modelparts, without an entity argument, because in your inventory, //the entity is always null.
            swordmodel.render((Entity) data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F);
            GL11.glPopMatrix();
            break;

        default:
            break;
        }
    }
@Override
    public boolean handleRenderType(ItemStack item, ItemRenderType type) {
        return true;
    }

public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item,
            ItemRendererHelper helper) {

        switch (type) {
        case INVENTORY:
            return true;
        default:
            break;
        }
        return false;

    }

}

ModelClass:

package zelda.render;

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

public class ModelByrne extends ModelBase
{
  //fields
    ModelRenderer Metal1;
    ModelRenderer Metal2;
    ModelRenderer Handle;
    ModelRenderer Hand;
    ModelRenderer Finger1;
    ModelRenderer Finger2;
    ModelRenderer Finger3;
    ModelRenderer Finger4;
    ModelRenderer Finger5;
    ModelRenderer Finger6;
    ModelRenderer Finger7;
    ModelRenderer Finger8;
    ModelRenderer Finger9;
    ModelRenderer Finger0;
  
  public ModelByrne()
  {
    textureWidth = 64;
    textureHeight = 32;
    
      Metal1 = new ModelRenderer(this, 27, 0);
      Metal1.addBox(0F, 0F, 0F, 8, 7, 2);
      Metal1.setRotationPoint(-4F, 13F, -8F);
      Metal1.setTextureSize(64, 32);
      Metal1.mirror = true;
      setRotation(Metal1, 0F, 0F, 0F);
      Metal2 = new ModelRenderer(this, 27, 10);
      Metal2.addBox(0F, 0F, 0F, 7, 6, 2);
      Metal2.setRotationPoint(-3.5F, 13.5F, 0F);
      Metal2.setTextureSize(64, 32);
      Metal2.mirror = true;
      setRotation(Metal2, 0F, 0F, 0F);
      Handle = new ModelRenderer(this, 0, 0);
      Handle.addBox(0F, 0F, 0F, 6, 5, 6);
      Handle.setRotationPoint(-3F, 14F, -6F);
      Handle.setTextureSize(64, 32);
      Handle.mirror = true;
      setRotation(Handle, 0F, 0F, 0F);
      Hand = new ModelRenderer(this, 0, 13);
      Hand.addBox(0F, 0F, 0F, 5, 4, 4);
      Hand.setRotationPoint(-2.5F, 14.5F, 2F);
      Hand.setTextureSize(64, 32);
      Hand.mirror = true;
      setRotation(Hand, 0F, 0F, 0F);
      Finger1 = new ModelRenderer(this, 50, 0);
      Finger1.addBox(0F, 0F, 0F, 1, 1, 2);
      Finger1.setRotationPoint(-2.2F, 15.8F, 8F);
      Finger1.setTextureSize(64, 32);
      Finger1.mirror = true;
      setRotation(Finger1, -0.5651149F, 0F, 0F);
      Finger2 = new ModelRenderer(this, 50, 0);
      Finger2.addBox(0F, 0F, 0F, 1, 1, 2);
      Finger2.setRotationPoint(-2.2F, 15.8F, 6F);
      Finger2.setTextureSize(64, 32);
      Finger2.mirror = true;
      setRotation(Finger2, 0F, 0F, 0F);
      Finger3 = new ModelRenderer(this, 50, 0);
      Finger3.addBox(0F, 0F, 0F, 1, 1, 2);
      Finger3.setRotationPoint(2F, 15.8F, 4F);
      Finger3.setTextureSize(64, 32);
      Finger3.mirror = true;
      setRotation(Finger3, 0F, 0.3490659F, 0F);
      Finger4 = new ModelRenderer(this, 50, 0);
      Finger4.addBox(0F, 0F, 0F, 1, 1, 2);
      Finger4.setRotationPoint(1.1F, 15.7F, 8F);
      Finger4.setTextureSize(64, 32);
      Finger4.mirror = true;
      setRotation(Finger4, -0.5651149F, 0F, 0F);
      Finger5 = new ModelRenderer(this, 50, 0);
      Finger5.addBox(0F, 0F, 0F, 1, 1, 2);
      Finger5.setRotationPoint(-1.1F, 15.6F, 6F);
      Finger5.setTextureSize(64, 32);
      Finger5.mirror = true;
      setRotation(Finger5, 0F, 0F, 0F);
      Finger6 = new ModelRenderer(this, 50, 0);
      Finger6.addBox(0F, 0F, 0F, 1, 1, 2);
      Finger6.setRotationPoint(-1.1F, 15.6F, 8F);
      Finger6.setTextureSize(64, 32);
      Finger6.mirror = true;
      setRotation(Finger6, -0.5651149F, 0F, 0F);
      Finger7 = new ModelRenderer(this, 50, 0);
      Finger7.addBox(0F, 0F, 0F, 1, 1, 2);
      Finger7.setRotationPoint(0F, 15.5F, 8F);
      Finger7.setTextureSize(64, 32);
      Finger7.mirror = true;
      setRotation(Finger7, -0.5651149F, 0F, 0F);
      Finger8 = new ModelRenderer(this, 50, 0);
      Finger8.addBox(0F, 0F, 0F, 1, 1, 2);
      Finger8.setRotationPoint(1.1F, 15.7F, 6F);
      Finger8.setTextureSize(64, 32);
      Finger8.mirror = true;
      setRotation(Finger8, 0F, 0F, 0F);
      Finger9 = new ModelRenderer(this, 50, 0);
      Finger9.addBox(0F, 0F, 0F, 1, 1, 2);
      Finger9.setRotationPoint(2.7F, 15.8F, 5.9F);
      Finger9.setTextureSize(64, 32);
      Finger9.mirror = true;
      setRotation(Finger9, -0.5651149F, 0.3490659F, 0F);
      Finger0 = new ModelRenderer(this, 50, 0);
      Finger0.addBox(0F, 0F, 0F, 1, 1, 2);
      Finger0.setRotationPoint(0F, 15.5F, 6F);
      Finger0.setTextureSize(64, 32);
      Finger0.mirror = true;
      setRotation(Finger0, 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);
    Metal1.render(f5);
    Metal2.render(f5);
    Handle.render(f5);
    Hand.render(f5);
    Finger1.render(f5);
    Finger2.render(f5);
    Finger3.render(f5);
    Finger4.render(f5);
    Finger5.render(f5);
    Finger6.render(f5);
    Finger7.render(f5);
    Finger8.render(f5);
    Finger9.render(f5);
    Finger0.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);
  }

}

 

When I select the Item in my hotbar it just displays as a normal item... No 3D Model in hand?

Any help?

 

EDIT: There are no shown errors.

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.