Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How do i hide not needed Biped-Bodyparts?


Drachenbauer
 Share

Recommended Posts

Hello

I´m creating a Player-model as a classic Angry Birds-character.

I want the whoole visible bird act as the head (rotating with mouse-movement) and two invisible cubes as arms (to use armpose animations for holded items).

It should look like the Angry birds use objects wich some telecinetic powers in their cartoon-series (objects hover next to their body and can be moved by the bird.).

I made it extend BipedModel, because this class holds alot of stuff, that a player-character needs:

package drachenbauer32.angrybirdsmod.entities.models;

import java.util.List;
import java.util.Random;

import com.google.common.collect.Lists;
import com.mojang.blaze3d.matrix.MatrixStack;

import net.minecraft.client.renderer.RenderType;
import net.minecraft.client.renderer.entity.model.BipedModel;
import net.minecraft.client.renderer.model.ModelRenderer;
import net.minecraft.entity.LivingEntity;
import net.minecraft.util.HandSide;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;

@OnlyIn(Dist.CLIENT)
public class StellaPlayerModel<T extends LivingEntity> extends BipedModel<T>
{
    private List<ModelRenderer> field_228286_w_ = Lists.newArrayList();
    
    private final ModelRenderer bone2;
    private final ModelRenderer bone3;
    private final ModelRenderer bone4;
    private final ModelRenderer bone5;
    
    public StellaPlayerModel(float modelSize, boolean smallArmsIn)
    {
        super(RenderType::func_228644_e_, modelSize, 0.0F, 64, 64);
        
        textureWidth = 32;
        textureHeight = 24;
        
        bipedHead = new ModelRenderer(this);
        bipedHead.setRotationPoint(0.0F, 20.0F, 0.0F);
        bipedHead.func_217178_a("body", -4.0F, -4.0F, -4.0F, 8, 8, 8, 0.0F, 0, 0);
        bipedHead.func_217178_a("beak", -1.0F, 2.0F, -5.0F, 2, 1, 1, 0.0F, 25, 0);
        bipedHead.func_217178_a("head_feather_1", 0.0F, -6.0F, -8.0F, 0, 2, 6, 0.0F, 10, 10);
        bipedHead.func_217178_a("tail_feather_1", 0.0F, 1.0F, 4.0F, 0, 1, 4, 0.0F, 24, 3);
        
        bone2 = new ModelRenderer(this);
        bone2.setRotationPoint(0.0F, -4.0F, -2.0F);
        setRotationAngle(bone2, -0.5236F, 0.0F, 0.0F);
        bipedHead.addChild(bone2);
        bone2.func_217178_a("head_feather_2", 0.0F, -2.0F, -6.0F, 0, 2, 6, 0.0F, 10, 10);

        bone3 = new ModelRenderer(this);
        bone3.setRotationPoint(0.0F, -4.0F, -2.0F);
        setRotationAngle(bone3, -1.0472F, 0.0F, 0.0F);
        bipedHead.addChild(bone3);
        bone3.func_217178_a("head_feather_3", 0.0F, -2.0F, -6.0F, 0, 2, 8, 0.0F, 8, 8);
        
        bone4 = new ModelRenderer(this);
        bone4.setRotationPoint(0.0F, 1.0F, 4.0F);
        setRotationAngle(bone4, 0.5236F, 0.0F, 0.0F);
        bipedHead.addChild(bone4);
        bone4.func_217178_a("tail_feather_2", 0.0F, 0.0F, 0.0F, 0, 1, 4, 0.0F, 24, 3);
        
        bone5 = new ModelRenderer(this);
        bone5.setRotationPoint(0.0F, 1.0F, 4.0F);
        setRotationAngle(bone5, -0.5236F, 0.0F, 0.0F);
        bipedHead.addChild(bone5);
        bone5.func_217178_a("tail_feather_3", 0.0F, 0.0F, 0.0F, 0, 1, 4, 0.0F, 24, 3);
        
        bipedRightArm = new ModelRenderer(this);
        bipedRightArm.setRotationPoint(-6.0F, 22.0F, -4.0F);
        setRotationAngle(bipedRightArm, -1.5708F, 0.0F, 0.0F);
        bipedRightArm.func_217178_a("invisible_right_arm", -2.0F, -2.0F, -2.0F, 4, 4, 4, 0.0F, 0, 16);
        
        bipedLeftArm = new ModelRenderer(this);
        bipedLeftArm.setRotationPoint(6.0F, 22.0F, -4.0F);
        setRotationAngle(bipedLeftArm, -1.5708F, 0.0F, 0.0F);
        bipedLeftArm.func_217178_a("invisible_left_arm", -2.0F, -2.0F, -2.0F, 4, 4, 4, 0.0F, 0, 16);
    }
    
    /*public void render(StellaPlayerEntity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale)
    {
        bipedHead.render(scale);
        bipedRightArm.render(scale);
        bipedLeftArm.render(scale);
    }*/
    
    protected Iterable<ModelRenderer> func_225600_b_()
    {
        return super.func_225600_b_();
    }
    
    public void setRotationAngle(ModelRenderer model, float x, float y, float z)
    {
        model.rotateAngleX = x;
        model.rotateAngleY = y;
        model.rotateAngleZ = z;
    }
    
    public void func_225599_a_(HandSide p_225599_1_, MatrixStack p_225599_2_)
    {
        ModelRenderer modelrenderer = this.getArmForSide(p_225599_1_);
        float f = 0.5F * (float)(p_225599_1_ == HandSide.RIGHT ? 1 : -1);
        modelrenderer.rotationPointX += f;
        modelrenderer.func_228307_a_(p_225599_2_);
        modelrenderer.rotationPointX -= f;
    }
    
    public ModelRenderer func_228288_a_(Random p_228288_1_)
    {
        return this.field_228286_w_.get(p_228288_1_.nextInt(this.field_228286_w_.size()));
    }
    
    public void accept(ModelRenderer p_accept_1_)
    {
        if (this.field_228286_w_ == null)
        {
            this.field_228286_w_ = Lists.newArrayList();
        }
        
        this.field_228286_w_.add(p_accept_1_);
    }
}

But i have some questions:

 

1.

How do i prevent it from rendering the body and legs parts from BipedModel?

 

2.

Does it render my bodyparts instead of the ones from BipedModel?

 

3.

The whoole body of this bird has the same size as the head of the common player-model, but sit´s directly on the ground.

How do i make the helmet from armour appear in this new lower position (i think, the other armour pieces don´t appear, because i didn´t place them here)?

Link to comment
Share on other sites

1.- You have to register the event in a class like this 

public class YourEventClassEventHandler {
    @SubscribeEvent
    public static void negateFallDamage(LivingFallEvent event) {

        if (event.getEntityLiving() instanceof PlayerEntity) {


            PlayerEntity playerEntity = (PlayerEntity) event.getEntityLiving();

            if (playerEntity.getItemStackFromSlot(EquipmentSlotType.CHEST).getItem() == ItemHolder.BATMAN_CHEST) {
                event.setCanceled(true);
            }

        }

    }


    @SubscribeEvent
    public static void onRenderPlayerPre(RenderPlayerEvent.Pre event) {
        PlayerEntity player = (PlayerEntity) event.getEntity();

        if (player.isElytraFlying() && player.getItemStackFromSlot(EquipmentSlotType.CHEST).getItem() == ItemHolder.BATMAN_CHEST) {



            event.getRenderer().getEntityModel().bipedRightArm.showModel = false;
            event.getRenderer().getEntityModel().bipedRightArmwear.showModel = true; //70 varillas 45 de cemento
            event.getRenderer().getEntityModel().bipedLeftArm.showModel = false;
            event.getRenderer().getEntityModel().bipedLeftArmwear.showModel = true;
            event.getRenderer().getEntityModel().bipedBody.showModel = false;




        }

    }

    @SubscribeEvent
    public static void onRenderPlayerPost(RenderPlayerEvent.Post event) {
        PlayerEntity player = event.getPlayer();
        
    }
}

as you can see the onRenderPlayerPre method handles the render of the player, there you can get the model and hide the body parts you want, then you can register the events in the constructor of your mod like this:

MinecraftForge.EVENT_BUS.register(YourEventClassHandler.class);
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
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.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi, I have been on hosting a modded minecraft server with 16 gb ram and using the Better minecraft mod pack in version 1.16.5. Recently the server has been crashing and the server refuses to give a crash report. I have the debug log before it shuts off, but am uncertain what the reason is. I tried deactivating the max tick time which didn't seem to have helped. Here is what the debug report gave before it crashed.   [23May2022 01:40:40.756] [Server thread/DEBUG] [net.minecraftforge.fml.FMLWorldPersistenceHook/WP]: Gathering id map for writing to world save world [23May2022 01:40:40.777] [Server thread/DEBUG] [net.minecraftforge.fml.FMLWorldPersistenceHook/WP]: ID Map collection complete world [23May2022 01:40:40.779] [Server thread/ERROR] [net.minecraft.world.storage.SaveFormat/]: Failed to save level ./world java.io.IOException: No space left on device     at java.io.UnixFileSystem.createFileExclusively(Native Method) ~[?:1.8.0_311]     at java.io.File.createTempFile(File.java:2061) ~[?:1.8.0_311]     at net.minecraft.world.storage.SaveFormat$LevelSave.func_237288_a_(SaveFormat.java:348) ~[?:?]     at net.minecraft.server.MinecraftServer.func_213211_a(MinecraftServer.java:540) ~[?:?]     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:807) ~[?:?]     at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642) ~[?:?]     at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) ~[?:?]     at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311] [23May2022 01:40:43.482] [IO-Worker-504/ERROR] [net.minecraft.world.chunk.storage.IOWorker/]: Failed to store chunk [-24, 74] java.io.IOException: No space left on device     at sun.nio.ch.FileDispatcherImpl.pwrite0(Native Method) ~[?:1.8.0_311]     at sun.nio.ch.FileDispatcherImpl.pwrite(FileDispatcherImpl.java:66) ~[?:1.8.0_311]     at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:89) ~[?:1.8.0_311]     at sun.nio.ch.IOUtil.write(IOUtil.java:65) ~[?:1.8.0_311]     at sun.nio.ch.FileChannelImpl.writeInternal(FileChannelImpl.java:772) ~[?:1.8.0_311]     at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:758) ~[?:1.8.0_311]     at net.minecraft.world.chunk.storage.RegionFile.func_227135_a_(SourceFile:377) ~[?:?]     at net.minecraft.world.chunk.storage.RegionFile$ChunkBuffer.close(SourceFile:350) ~[?:?]     at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:241) ~[?:1.8.0_311]     at java.io.FilterOutputStream.close(FilterOutputStream.java:159) ~[?:1.8.0_311]     at java.io.FilterOutputStream.close(FilterOutputStream.java:159) ~[?:1.8.0_311]     at net.minecraft.world.chunk.storage.RegionFileCache.func_219100_a(SourceFile:64) ~[?:?]     at net.minecraft.world.chunk.storage.IOWorker.func_227091_a_(SourceFile:144) ~[?:?]     at net.minecraft.world.chunk.storage.IOWorker.func_235978_b_(SourceFile:134) ~[?:?]     at net.minecraft.util.concurrent.ITaskQueue$RunnableWithPriority.run(SourceFile:54) [?:?]     at net.minecraft.util.concurrent.DelegatedTaskExecutor.func_213148_e(SourceFile:94) [?:?]     at net.minecraft.util.concurrent.DelegatedTaskExecutor.func_213145_a(SourceFile:137) [?:?]     at net.minecraft.util.concurrent.DelegatedTaskExecutor.run(SourceFile:105) [?:?]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_311]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_311]     at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311] [23May2022 01:40:43.489] [IO-Worker-536/ERROR] [net.minecraft.world.chunk.storage.IOWorker/]: Failed to store chunk [-24, 75] java.io.IOException: No space left on device     at sun.nio.ch.FileDispatcherImpl.pwrite0(Native Method) ~[?:1.8.0_311]     at sun.nio.ch.FileDispatcherImpl.pwrite(FileDispatcherImpl.java:66) ~[?:1.8.0_311]     at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:89) ~[?:1.8.0_311]     at sun.nio.ch.IOUtil.write(IOUtil.java:65) ~[?:1.8.0_311]     at sun.nio.ch.FileChannelImpl.writeInternal(FileChannelImpl.java:772) ~[?:1.8.0_311]     at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:758) ~[?:1.8.0_311]     at net.minecraft.world.chunk.storage.RegionFile.func_227135_a_(SourceFile:377) ~[?:?]     at net.minecraft.world.chunk.storage.RegionFile$ChunkBuffer.close(SourceFile:350) ~[?:?]     at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:241) ~[?:1.8.0_311]     at java.io.FilterOutputStream.close(FilterOutputStream.java:159) ~[?:1.8.0_311]     at java.io.FilterOutputStream.close(FilterOutputStream.java:159) ~[?:1.8.0_311]     at net.minecraft.world.chunk.storage.RegionFileCache.func_219100_a(SourceFile:64) ~[?:?]     at net.minecraft.world.chunk.storage.IOWorker.func_227091_a_(SourceFile:144) ~[?:?]     at net.minecraft.world.chunk.storage.IOWorker.func_235978_b_(SourceFile:134) ~[?:?]     at net.minecraft.util.concurrent.ITaskQueue$RunnableWithPriority.run(SourceFile:54) [?:?]     at net.minecraft.util.concurrent.DelegatedTaskExecutor.func_213148_e(SourceFile:94) [?:?]     at net.minecraft.util.concurrent.DelegatedTaskExecutor.func_213145_a(SourceFile:137) [?:?]     at net.minecraft.util.concurrent.DelegatedTaskExecutor.run(SourceFile:105) [?:?]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_311]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_311]     at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311] [23May2022 01:40:43.496] [IO-Worker-504/ERROR] [net.minecraft.world.chunk.storage.IOWorker/]: Failed to store chunk [-21, 71] java.io.IOException: No space left on device     at sun.nio.ch.FileDispatcherImpl.pwrite0(Native Method) ~[?:1.8.0_311]     at sun.nio.ch.FileDispatcherImpl.pwrite(FileDispatcherImpl.java:66) ~[?:1.8.0_311]     at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:89) ~[?:1.8.0_311]     at sun.nio.ch.IOUtil.write(IOUtil.java:65) ~[?:1.8.0_311]     at sun.nio.ch.FileChannelImpl.writeInternal(FileChannelImpl.java:772) ~[?:1.8.0_311]     at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:758) ~[?:1.8.0_311]     at net.minecraft.world.chunk.storage.RegionFile.func_227135_a_(SourceFile:377) ~[?:?]     at net.minecraft.world.chunk.storage.RegionFile$ChunkBuffer.close(SourceFile:350) ~[?:?]     at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:241) ~[?:1.8.0_311]     at java.io.FilterOutputStream.close(FilterOutputStream.java:159) ~[?:1.8.0_311]     at java.io.FilterOutputStream.close(FilterOutputStream.java:159) ~[?:1.8.0_311]     at net.minecraft.world.chunk.storage.RegionFileCache.func_219100_a(SourceFile:64) ~[?:?]     at net.minecraft.world.chunk.storage.IOWorker.func_227091_a_(SourceFile:144) ~[?:?]     at net.minecraft.world.chunk.storage.IOWorker.func_235978_b_(SourceFile:134) ~[?:?]     at net.minecraft.util.concurrent.ITaskQueue$RunnableWithPriority.run(SourceFile:54) [?:?]     at net.minecraft.util.concurrent.DelegatedTaskExecutor.func_213148_e(SourceFile:94) [?:?]     at net.minecraft.util.concurrent.DelegatedTaskExecutor.func_213145_a(SourceFile:137) [?:?]     at net.minecraft.util.concurrent.DelegatedTaskExecutor.run(SourceFile:105) [?:?]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_311]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_311]     at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311] [23May2022 01:40:43.508] [IO-Worker-536/ERROR] [net.minecraft.world.chunk.storage.IOWorker/]: Failed to store chunk [-24, 77] java.io.IOException: No space left on device     at sun.nio.ch.FileDispatcherImpl.pwrite0(Native Method) ~[?:1.8.0_311]     at sun.nio.ch.FileDispatcherImpl.pwrite(FileDispatcherImpl.java:66) ~[?:1.8.0_311]     at sun.nio.ch.IOUtil.[23May2022 01:45:40.411] [Thread-1/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Config file corpse-server.toml changed, sending notifies [23May2022 01:45:40.414] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: com.electronwill.nightconfig.core.io.WritingException: Failed to flush the writer  
    • ---- Minecraft Crash Report ---- // I'm sorry, Dave. Time: 5/22/22 8:33 PM Description: Mod loading error has occurred java.lang.Exception: Mod Loading has failed     at net.minecraftforge.fml.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:85) [?:?] {re:classloading}     at net.minecraftforge.fml.client.ClientModLoader.completeModLoading(ClientModLoader.java:188) [?:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.lambda$null$1(Minecraft.java:508) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:sodium.mixins.json:features.options.MixinMinecraftClient,pl:mixin:APP:sodium.mixins.json:features.options.MixinMinecraftAccessor,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft$$Lambda$7680/333960151.run(Unknown Source) [?:?] {}     at net.minecraft.util.Util.func_215077_a(Util.java:320) [?:?] {re:classloading,re:mixin}     at net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:504) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:sodium.mixins.json:features.options.MixinMinecraftClient,pl:mixin:APP:sodium.mixins.json:features.options.MixinMinecraftAccessor,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft$$Lambda$6454/1659479517.accept(Unknown Source) [?:?] {}     at net.minecraft.client.gui.ResourceLoadProgressGui.func_230430_a_(ResourceLoadProgressGui.java:113) [?:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:481) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:shouldersurfing.mixins.json:MixinGameRenderer,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:977) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:sodium.mixins.json:features.options.MixinMinecraftClient,pl:mixin:APP:sodium.mixins.json:features.options.MixinMinecraftAccessor,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:sodium.mixins.json:features.options.MixinMinecraftClient,pl:mixin:APP:sodium.mixins.json:features.options.MixinMinecraftAccessor,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}     at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}     at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.23.jar:36.2] {}     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$457/688581408.call(Unknown Source) [forge-1.16.5-36.2.23.jar:36.2] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {re:classloading}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {re:classloading} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at java.lang.ClassLoader.findClass(ClassLoader.java:530) ~[?:1.8.0_51] {} -- MOD jeitweaker -- Details:     Caused by 0: java.lang.NoClassDefFoundError: mezz/jei/api/runtime/IIngredientManager         at com.blamejared.jeitweaker.implementation.RegistrationManager.registerIngredientType(RegistrationManager.java:34) ~[?:1.1.0.49] {re:classloading}         at com.blamejared.jeitweaker.api.IngredientTypeHolder.lambda$of$0(IngredientTypeHolder.java:74) ~[?:1.1.0.49] {re:classloading}         at com.blamejared.jeitweaker.api.IngredientTypeHolder$$Lambda$7398/1688682661.apply(Unknown Source) ~[?:?] {}         at com.blamejared.jeitweaker.api.IngredientTypeHolder.registerTo(IngredientTypeHolder.java:104) ~[?:1.1.0.49] {re:classloading}         at com.blamejared.jeitweaker.plugin.DefaultJeiTweakerPluginProvider.registerIngredientTypes(DefaultJeiTweakerPluginProvider.java:27) ~[?:1.1.0.49] {re:classloading}         at com.blamejared.jeitweaker.implementation.JeiTweakerInitializer.lambda$registerData$1(JeiTweakerInitializer.java:67) ~[?:1.1.0.49] {re:classloading}         at com.blamejared.jeitweaker.implementation.JeiTweakerInitializer$$Lambda$7381/2136356486.accept(Unknown Source) ~[?:?] {}         at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_51] {}         at com.blamejared.jeitweaker.implementation.JeiTweakerInitializer.registerData(JeiTweakerInitializer.java:66) ~[?:1.1.0.49] {re:classloading}         at com.blamejared.jeitweaker.implementation.JeiTweakerInitializer.initialize(JeiTweakerInitializer.java:22) ~[?:1.1.0.49] {re:classloading}         at com.blamejared.jeitweaker.JEITweaker.setupClient(JEITweaker.java:23) ~[?:1.1.0.49] {re:classloading}         at com.blamejared.jeitweaker.JEITweaker$$Lambda$3363/1135877283.accept(Unknown Source) ~[?:?] {}         at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-4.0.0.jar:?] {}         at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-4.0.0.jar:?] {}         at net.minecraftforge.eventbus.EventBus$$Lambda$2955/1066270324.invoke(Unknown Source) ~[?:?] {}         at net.minecraftforge.eventbus.EventBus$$Lambda$3134/132326253.invoke(Unknown Source) ~[?:?] {}         at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}         at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}         at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:120) ~[?:36.2] {re:classloading}         at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:121) ~[?:?] {re:classloading}         at net.minecraftforge.fml.ModContainer$$Lambda$3168/79283217.run(Unknown Source) ~[?:?] {}         at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618) ~[?:1.8.0_51] {}         at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1610) ~[?:1.8.0_51] {}         at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_51] {}         at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_51] {}         at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) ~[?:1.8.0_51] {}         at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_51] {}     Mod File: JEITweaker-1.16.5-1.1.0.49.jar     Failure message: JEI Tweaker (jeitweaker) encountered an error during the sided_setup event phase         java.lang.NoClassDefFoundError: mezz/jei/api/runtime/IIngredientManager     Mod Version: 1.1.0.49     Mod Issue URL: NOT PROVIDED     Exception message: java.lang.ClassNotFoundException: mezz.jei.api.runtime.IIngredientManager Stacktrace:     at java.lang.ClassLoader.findClass(ClassLoader.java:530) ~[?:1.8.0_51] {}     at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_51] {}     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:106) ~[modlauncher-8.0.9.jar:?] {re:classloading}     at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_51] {}     at com.blamejared.jeitweaker.implementation.RegistrationManager.registerIngredientType(RegistrationManager.java:34) ~[?:1.1.0.49] {re:classloading}     at com.blamejared.jeitweaker.api.IngredientTypeHolder.lambda$of$0(IngredientTypeHolder.java:74) ~[?:1.1.0.49] {re:classloading}     at com.blamejared.jeitweaker.api.IngredientTypeHolder$$Lambda$7398/1688682661.apply(Unknown Source) ~[?:?] {}     at com.blamejared.jeitweaker.api.IngredientTypeHolder.registerTo(IngredientTypeHolder.java:104) ~[?:1.1.0.49] {re:classloading}     at com.blamejared.jeitweaker.plugin.DefaultJeiTweakerPluginProvider.registerIngredientTypes(DefaultJeiTweakerPluginProvider.java:27) ~[?:1.1.0.49] {re:classloading}     at com.blamejared.jeitweaker.implementation.JeiTweakerInitializer.lambda$registerData$1(JeiTweakerInitializer.java:67) ~[?:1.1.0.49] {re:classloading}     at com.blamejared.jeitweaker.implementation.JeiTweakerInitializer$$Lambda$7381/2136356486.accept(Unknown Source) ~[?:?] {}     at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_51] {}     at com.blamejared.jeitweaker.implementation.JeiTweakerInitializer.registerData(JeiTweakerInitializer.java:66) ~[?:1.1.0.49] {re:classloading}     at com.blamejared.jeitweaker.implementation.JeiTweakerInitializer.initialize(JeiTweakerInitializer.java:22) ~[?:1.1.0.49] {re:classloading}     at com.blamejared.jeitweaker.JEITweaker.setupClient(JEITweaker.java:23) ~[?:1.1.0.49] {re:classloading}     at com.blamejared.jeitweaker.JEITweaker$$Lambda$3363/1135877283.accept(Unknown Source) ~[?:?] {}     at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-4.0.0.jar:?] {}     at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-4.0.0.jar:?] {}     at net.minecraftforge.eventbus.EventBus$$Lambda$2955/1066270324.invoke(Unknown Source) ~[?:?] {}     at net.minecraftforge.eventbus.EventBus$$Lambda$3134/132326253.invoke(Unknown Source) ~[?:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}     at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:120) ~[?:36.2] {re:classloading}     at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:121) ~[?:?] {re:classloading}     at net.minecraftforge.fml.ModContainer$$Lambda$3168/79283217.run(Unknown Source) ~[?:?] {}     at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618) ~[?:1.8.0_51] {}     at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1610) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_51] {} -- System Details -- Details:     Minecraft Version: 1.16.5     Minecraft Version ID: 1.16.5     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 708782032 bytes (675 MB) / 1947205632 bytes (1857 MB) up to 3817865216 bytes (3641 MB)     CPUs: 12     JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m     ModLauncher: 8.0.9+86+master.3cf110c     ModLauncher launch target: fmlclient     ModLauncher naming: srg     ModLauncher services:          /mixin-0.8.4.jar mixin PLUGINSERVICE          /eventbus-4.0.0.jar eventbus PLUGINSERVICE          /forge-1.16.5-36.2.23.jar object_holder_definalize PLUGINSERVICE          /forge-1.16.5-36.2.23.jar runtime_enum_extender PLUGINSERVICE          /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE          /forge-1.16.5-36.2.23.jar capability_inject_definalize PLUGINSERVICE          /forge-1.16.5-36.2.23.jar runtimedistcleaner PLUGINSERVICE          /mixin-0.8.4.jar mixin TRANSFORMATIONSERVICE          /forge-1.16.5-36.2.23.jar fml TRANSFORMATIONSERVICE      FML: 36.2     Forge: net.minecraftforge:36.2.23     FML Language Providers:          javafml@36.2         minecraft@1     Mod List:          forge-1.16.5-36.2.23-client.jar                   |Minecraft                     |minecraft                     |1.16.5              |ENQUEUE_IM|Manifest: NOSIGNATURE         TConstruct-1.16.5-3.3.2.324.jar                   |Tinkers' Construct            |tconstruct                    |3.3.2.324           |ENQUEUE_IM|Manifest: NOSIGNATURE         useful_backpacks-1.16.5-1.12.1.90.jar             |Useful Backpacks              |usefulbackpacks               |1.12.1.90           |ENQUEUE_IM|Manifest: f4:a6:0b:ee:cb:8a:1a:ea:9f:9d:45:91:8f:8b:b3:ae:26:f3:bf:05:86:1d:90:9e:f6:32:2a:1a:ed:1d:ce:b0         TreeChop-1.16.4-0.14.6-fixed.jar                  |HT's TreeChop                 |treechop                      |0.14.6              |ENQUEUE_IM|Manifest: NOSIGNATURE         MouseTweaks-2.14-mc1.16.2.jar                     |Mouse Tweaks                  |mousetweaks                   |2.14                |ENQUEUE_IM|Manifest: NOSIGNATURE         pamhc2trees-1.16.3-1.0.1.jar                      |Pam's HarvestCraft 2 Fruit Tre|pamhc2trees                   |1.0.1               |ENQUEUE_IM|Manifest: NOSIGNATURE         BiomesOPlenty-1.16.5-13.1.0.477-universal.jar     |Biomes O' Plenty              |biomesoplenty                 |1.16.5-13.1.0.477   |ENQUEUE_IM|Manifest: NOSIGNATURE         ShoulderSurfing-1.16.5-2.2.1.jar                  |Shoulder Surfing              |shouldersurfing               |1.16.5-2.2.1        |ENQUEUE_IM|Manifest: NOSIGNATURE         Neat 1.7-27.jar                                   |Neat                          |neat                          |1.7-27              |ENQUEUE_IM|Manifest: NOSIGNATURE         Mantle-1.16.5-1.6.152.jar                         |Mantle                        |mantle                        |1.6.152             |ENQUEUE_IM|Manifest: NOSIGNATURE         Waystones_1.16.5-7.6.4.jar                        |Waystones                     |waystones                     |7.6.4               |ENQUEUE_IM|Manifest: NOSIGNATURE         gravestone-1.16.5-1.0.6.jar                       |Gravestone Mod                |gravestone                    |1.16.5-1.0.6        |ENQUEUE_IM|Manifest: NOSIGNATURE         Clumps-6.0.0.27.jar                               |Clumps                        |clumps                        |6.0.0.27            |ENQUEUE_IM|Manifest: NOSIGNATURE         XaerosWorldMap_1.19.1_Forge_1.16.5.jar            |Xaero's World Map             |xaeroworldmap                 |1.19.1              |ENQUEUE_IM|Manifest: NOSIGNATURE         citadel-1.8.1-1.16.5.jar                          |Citadel                       |citadel                       |1.8.1               |ENQUEUE_IM|Manifest: NOSIGNATURE         alexsmobs-1.12.1.jar                              |Alex's Mobs                   |alexsmobs                     |1.12.1              |ENQUEUE_IM|Manifest: NOSIGNATURE         NaturesCompass-1.16.5-1.9.1-forge.jar             |Nature's Compass              |naturescompass                |1.16.5-1.9.1-forge  |ENQUEUE_IM|Manifest: NOSIGNATURE         obfuscate-0.6.2-1.16.3.jar                        |Obfuscate                     |obfuscate                     |0.6.2               |ENQUEUE_IM|Manifest: e1:59:1a:56:ec:97:b3:d0:b3:4b:25:06:1f:83:b0:f4:fd:0c:24:e3:6d:ea:94:b1:9f:22:b0:38:13:60:88:ea         u_team_core-1.16.5-3.2.1.196.jar                  |U Team Core                   |uteamcore                     |3.2.1.196           |ENQUEUE_IM|Manifest: f4:a6:0b:ee:cb:8a:1a:ea:9f:9d:45:91:8f:8b:b3:ae:26:f3:bf:05:86:1d:90:9e:f6:32:2a:1a:ed:1d:ce:b0         JEITweaker-1.16.5-1.1.0.49.jar                    |JEI Tweaker                   |jeitweaker                    |1.1.0.49            |ERROR     |Manifest: NOSIGNATURE         sodium-forge-2.9.10+rev.ea6353c.jar               |SodiumReforged                |sodium                        |2.9.10+rev.ea6353c  |ENQUEUE_IM|Manifest: NOSIGNATURE         CraftTweaker-1.16.5-7.1.2.489.jar                 |CraftTweaker                  |crafttweaker                  |7.1.2.489           |ENQUEUE_IM|Manifest: NOSIGNATURE         KimetsuAnimation_1.16.5_ver3.jar                  |kimetsuAnimationPlayer        |kimetsuanimationplayer        |1.0.0               |ENQUEUE_IM|Manifest: NOSIGNATURE         KimetsunoYaiba_1.16.5_ver35.jar                   |Kimetsunoyaiba                |kimetsunoyaiba                |1.0.0               |ENQUEUE_IM|Manifest: NOSIGNATURE         forge-1.16.5-36.2.23-universal.jar                |Forge                         |forge                         |36.2.23             |ENQUEUE_IM|Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90         appleskin-forge-mc1.16.x-2.2.0.jar                |AppleSkin                     |appleskin                     |mc1.16.4-2.2.0      |ENQUEUE_IM|Manifest: NOSIGNATURE         Aquaculture-1.16.5-2.1.21.jar                     |Aquaculture 2                 |aquaculture                   |1.16.5-2.1.21       |ENQUEUE_IM|Manifest: NOSIGNATURE         CosmeticArmorReworked-1.16.5-v4a.jar              |CosmeticArmorReworked         |cosmeticarmorreworked         |1.16.5-v4a          |ENQUEUE_IM|Manifest: 5e:ed:25:99:e4:44:14:c0:dd:89:c1:a9:4c:10:b5:0d:e4:b1:52:50:45:82:13:d8:d0:32:89:67:56:57:01:53         DynamicSurroundings-1.16.5-4.0.5.0.jar            |§3Dynamic Surroundings        |dsurround                     |4.0.5.0             |ENQUEUE_IM|Manifest: NOSIGNATURE     Crash Report UUID: c7f4603b-fec8-48b4-9dd2-260ae74bc6b9
    • https://github.com/ImpactDevelopment/ImpactIssues/issues/new?assignees=&labels=Bug&template=bug_report.md&title=Minecraft+crash+when+clicking+on+alts+button Here - make an issue on Impact Client's issue form. That area is where the developers of impact can see your post
    • ---- Minecraft Crash Report ---- // Hi. I'm Minecraft, and I'm a crashaholic. Time: 5/23/22 7:22 AM Description: mouseClicked event handler java.lang.NullPointerException: mouseClicked event handler     at net.impactclient.34V.2(34V.java:15)     at net.impactclient.34P.b(34P.java:24)     at dot.b(SourceFile:325)     at djz.a(SourceFile:922)     at net.impactclient.2T.8(2T.java:46)     at net.impactclient.2T$$Lambda$3632/1642244192.onPress(Unknown Source)     at dlj.b(SourceFile:33)     at dld.a(SourceFile:16)     at dlh.a(SourceFile:149)     at dmh.a(SourceFile:27)     at dka.b(SourceFile:92)     at dka$$Lambda$3621/25741263.run(Unknown Source)     at dot.a(SourceFile:435)     at dka.a(SourceFile:92)     at dka.c(SourceFile:162)     at dka$$Lambda$3620/764692091.run(Unknown Source)     at aob.execute(ThreadTaskExecutor.java:104)     at dka.b(SourceFile:162)     at dka$$Lambda$2354/1214025054.invoke(Unknown Source)     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)     at org.lwjgl.system.JNI.invokeV(Native Method)     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3174)     at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(SourceFile:127)     at djz.e(SourceFile:1071)     at djz.e(SourceFile:681)     at net.minecraft.client.main.Main.main(SourceFile:215)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:159)     at net.minecraft.launchwrapper.Launch.main(Launch.java:30) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at net.impactclient.34V.2(34V.java:15)     at net.impactclient.34P.b(34P.java:24)     at dot.b(SourceFile:325)     at djz.a(SourceFile:922)     at net.impactclient.2T.8(2T.java:46)     at net.impactclient.2T$$Lambda$3632/1642244192.onPress(Unknown Source)     at dlj.b(SourceFile:33)     at dld.a(SourceFile:16)     at dlh.a(SourceFile:149)     at dmh.a(SourceFile:27)     at dka.b(SourceFile:92)     at dka$$Lambda$3621/25741263.run(Unknown Source) -- Affected screen -- Details:     Screen name: net.impactclient.2T Stacktrace:     at dot.a(SourceFile:435)     at dka.a(SourceFile:92)     at dka.c(SourceFile:162)     at dka$$Lambda$3620/764692091.run(Unknown Source)     at aob.execute(ThreadTaskExecutor.java:104)     at dka.b(SourceFile:162)     at dka$$Lambda$2354/1214025054.invoke(Unknown Source)     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)     at org.lwjgl.system.JNI.invokeV(Native Method)     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3174)     at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(SourceFile:127)     at djz.e(SourceFile:1071)     at djz.e(SourceFile:681)     at net.minecraft.client.main.Main.main(SourceFile:215)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:159)     at net.minecraft.launchwrapper.Launch.main(Launch.java:30) -- System Details -- Details:     Minecraft Version: 1.16.5     Minecraft Version ID: 1.16.5     Operating System: Windows 8 (amd64) version 6.2     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 2105089736 bytes (2007 MB) / 3892314112 bytes (3712 MB) up to 4294967296 bytes (4096 MB)     CPUs: 4     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Launched Version: 1.16.5-Impact_4.9.1-OptiFine_HD_U_G6     Backend library: LWJGL version 3.2.2 build 10     Backend API: Intel(R) HD Graphics 2000 GL version 3.1.0 - Build 9.17.10.4459, Intel     GL Caps: Using framebuffer using OpenGL 3.0     Using VBOs: Yes     Is Modded: Very likely; Jar signature invalidated     Type: Client (map_client.txt)     Graphics mode: fancy     Resource Packs:      Current Language: English (US)     CPU: 4x Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz     OptiFine Version: OptiFine_1.16.5_HD_U_G6     OptiFine Build: 20210117-013236     Render Distance Chunks: 16     Mipmaps: 4     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: null     OpenGlVersion: 3.1.0 - Build 9.17.10.4459     OpenGlRenderer: Intel(R) HD Graphics 2000     OpenGlVendor: Intel     CpuCount: 4     The exit code i got: The game crashed whilst mouseclicked event handler Error: java.lang.NullPointerException: mouseClicked event handler Exit Code: -1  
    • i cant run forge on my computer it crashes every time...i have contacted Minecraft themselves and they haven't helped forge the website doesn't seem to have contact info and i have indulged in watching a large number of videos and read many articles on what to do to fix these problems and none whatsoever have done anything at all...i would really appreaciate a call so i can give a better rundown  my phone number is 8102800545
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.