Jump to content

[1.7.10][solved]Custom mob not rendering


hsgill97@gmail.com

Recommended Posts

UPDATE:sorry for wasting time i didn't call proxy.registerRendering(); in main mod class

 

I have been following a book to make a custom mob. I got the entity to spawn in the world with a spawn egg but the model is just like a rectangle and with no textures. It does wander like it ai says so

 

Mainmod class

 

@SidedProxy(clientSide="com.harpcode.EnderAdvancement.ClientProxyEnder",serverSide="com.harpcode.EnderAdvancement.CommonProxyEnder")
public static CommonProxyEnder proxy;
public void preInit(FMLInitializationEvent event)
{
	EntityRegistry.registerModEntity(EntityAlienMob.class, "alien", 0, this, 80, 3, true);
	registerEntityEgg(EntityAlienMob.class,0x000000,0xFF0000);
         }


public static void registerEntityEgg(Class<? extends Entity> entity, int primaryColor, int secondaryColor)  { 
	 int id = getUniqueEntityId();
	 EntityList.IDtoClassMapping.put(id, entity); 
	 EntityList.entityEggs.put(id, new EntityList.EntityEggInfo(id, primaryColor, secondaryColor)); 
	 } 
 static int startEntityId = 300;
 public static int getUniqueEntityId()  
 {
	 do  
	 { 
		 startEntityId++; 
	 }  
	 while (EntityList.getStringFromID(startEntityId) != null); 
	 return startEntityId; 
 } 

 

 

EntityAlienMob

 

import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.monster.EntityMob;
import net.minecraft.world.World;

public class EntityAlienMob extends EntityMob
{
public EntityAlienMob(World p_i1582_1_) 
{
	super(p_i1582_1_);
	System.out.println("creating entity");
	this.tasks.addTask(3, new EntityAIWander(this,1.0D));
}		
}

 

RenderCode

 

 

package com.harpcode.EnderAdvancement;

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

public class RenderAlien extends RenderLiving{

public RenderAlien(ModelBase par1, float par2) {

	super(par1,par2);
	System.out.println("creating renderer");
}

@Override
protected ResourceLocation getEntityTexture(Entity entity)
{
	return new ResourceLocation(mainEA.modid,"textures/models/Alien.png");

}
}

 

 

Client Proxy

 

package com.harpcode.EnderAdvancement;

import cpw.mods.fml.client.registry.RenderingRegistry;
import net.minecraft.client.model.ModelBase;

public class ClientProxyEnder extends CommonProxyEnder {

@Override
public void registerRendering()
{
	System.out.println("creating coomon");
	RenderingRegistry.registerEntityRenderingHandler(EntityAlienMob.class,new RenderAlien(new AlienModel(),0.5F));
}

}

 

model class

 

package com.harpcode.EnderAdvancement;

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

/**
* AlienBoss.tcn - NotZeuX
* Created using Tabula 5.1.0
*/
public class AlienModel extends ModelBase {
    public ModelRenderer head;
    public ModelRenderer eye1;
    public ModelRenderer eye2;
    public ModelRenderer eye3;
    public ModelRenderer eye4;
    public ModelRenderer eye5;
    public ModelRenderer eye6;
    public ModelRenderer eye7;
    public ModelRenderer body1;
    public ModelRenderer body2;
    public ModelRenderer spine1;
    public ModelRenderer spine2;
    public ModelRenderer spine3;
    public ModelRenderer rightarm1;
    public ModelRenderer rightarm2;
    public ModelRenderer rightarm3;
    public ModelRenderer rightarm4;
    public ModelRenderer rightarm5;
    public ModelRenderer rightleg1;
    public ModelRenderer rightleg2;
    public ModelRenderer rightleg3;
    public ModelRenderer rightleg4;
    public ModelRenderer rightleg5;
    public ModelRenderer leftarm1;
    public ModelRenderer leftarm2;
    public ModelRenderer leftarm3;
    public ModelRenderer leftarm4;
    public ModelRenderer leftarm5;
    public ModelRenderer leftleg1;
    public ModelRenderer leftleg2;
    public ModelRenderer leftleg3;
    public ModelRenderer leftleg4;
    public ModelRenderer leftleg5;

    public AlienModel() {
    	System.out.println("creating model");
        this.textureWidth = 138;
        this.textureHeight = 40;
        this.leftarm2 = new ModelRenderer(this, 54, 0);
        this.leftarm2.mirror = true;
        this.leftarm2.setRotationPoint(5.0F, -7.0F, 0.0F);
        this.leftarm2.addBox(-0.5F, 0.0F, -2.0F, 4, 9, 4, 0.0F);
        this.setRotateAngle(leftarm2, 0.2094395160675048F, -0.0F, -0.17453292012214658F);
        this.rightarm2 = new ModelRenderer(this, 54, 0);
        this.rightarm2.setRotationPoint(-5.0F, -7.0F, 0.0F);
        this.rightarm2.addBox(-3.5F, 0.0F, -2.0F, 4, 9, 4, 0.0F);
        this.setRotateAngle(rightarm2, 0.2094395160675048F, -0.0F, 0.17453292012214658F);
        this.eye2 = new ModelRenderer(this, 23, 0);
        this.eye2.setRotationPoint(0.0F, -6.0F, -1.0F);
        this.eye2.addBox(-4.0F, -4.5F, -5.5F, 1, 1, 4, 0.0F);
        this.leftarm3 = new ModelRenderer(this, 70, 0);
        this.leftarm3.mirror = true;
        this.leftarm3.setRotationPoint(5.0F, -7.0F, 0.0F);
        this.leftarm3.addBox(0.0F, 7.0F, 1.5F, 3, 13, 3, 0.0F);
        this.setRotateAngle(leftarm3, -0.2094395160675048F, -0.0F, -0.17453292012214658F);
        this.body1 = new ModelRenderer(this, 0, 23);
        this.body1.setRotationPoint(0.0F, -6.0F, 0.0F);
        this.body1.addBox(-5.0F, -1.0F, -4.0F, 10, 8, 9, 0.0F);
        this.setRotateAngle(body1, -0.07435721904039383F, -0.0F, 0.0F);
        this.head = new ModelRenderer(this, 0, 0);
        this.head.setRotationPoint(0.0F, -6.0F, -1.0F);
        this.head.addBox(-3.5F, -7.5F, -5.0F, 7, 7, 9, 0.0F);
        this.leftleg5 = new ModelRenderer(this, 116, 28);
        this.leftleg5.setRotationPoint(2.0F, 5.0F, 0.0F);
        this.leftleg5.addBox(3.0F, 17.0F, -6.5F, 1, 2, 10, 0.0F);
        this.eye6 = new ModelRenderer(this, 23, 0);
        this.eye6.setRotationPoint(0.0F, -6.0F, -1.0F);
        this.eye6.addBox(2.0F, -1.0F, -5.5F, 1, 1, 4, 0.0F);
        this.body2 = new ModelRenderer(this, 38, 25);
        this.body2.setRotationPoint(0.0F, -6.0F, 0.0F);
        this.body2.addBox(-3.5F, 6.0F, -4.0F, 7, 8, 7, 0.0F);
        this.setRotateAngle(body2, 0.037178609520196915F, -0.0F, 0.0F);
        this.eye1 = new ModelRenderer(this, 23, 0);
        this.eye1.setRotationPoint(0.0F, -6.0F, -1.0F);
        this.eye1.addBox(-3.0F, -8.0F, -5.5F, 1, 1, 4, 0.0F);
        this.rightleg2 = new ModelRenderer(this, 84, 27);
        this.rightleg2.setRotationPoint(-2.0F, 5.0F, 0.0F);
        this.rightleg2.addBox(-3.0F, 1.0F, -8.5F, 3, 9, 4, 0.0F);
        this.setRotateAngle(rightleg2, 0.5751383304595947F, -0.0F, 0.0F);
        this.leftarm5 = new ModelRenderer(this, 82, -4);
        this.leftarm5.setRotationPoint(5.0F, -7.0F, 0.0F);
        this.leftarm5.addBox(1.5F, 20.0F, 1.0F, 0, 8, 4, 0.0F);
        this.setRotateAngle(leftarm5, -0.2094395160675048F, -0.0F, -0.17453292012214658F);
        this.spine2 = new ModelRenderer(this, 29, 25);
        this.spine2.setRotationPoint(0.0F, -6.0F, 0.0F);
        this.spine2.addBox(-1.5F, 2.5F, 3.700000047683716F, 3, 5, 2, 0.0F);
        this.setRotateAngle(spine2, -0.05690392851829529F, -0.0F, 0.0F);
        this.rightleg5 = new ModelRenderer(this, 116, 28);
        this.rightleg5.setRotationPoint(-2.0F, 5.0F, 0.0F);
        this.rightleg5.addBox(0.0F, 17.0F, -6.5F, 1, 2, 10, 0.0F);
        this.leftarm1 = new ModelRenderer(this, 32, 0);
        this.leftarm1.setRotationPoint(5.0F, -7.0F, 0.0F);
        this.leftarm1.addBox(-2.0F, -1.0F, -3.0F, 5, 5, 6, 0.0F);
        this.setRotateAngle(leftarm1, 0.2094395160675048F, -0.0F, -0.17453292012214658F);
        this.eye3 = new ModelRenderer(this, 23, 0);
        this.eye3.setRotationPoint(0.0F, -6.0F, -1.0F);
        this.eye3.addBox(-3.0F, -1.0F, -5.5F, 1, 1, 4, 0.0F);
        this.rightleg4 = new ModelRenderer(this, 116, 28);
        this.rightleg4.setRotationPoint(-2.0F, 5.0F, 0.0F);
        this.rightleg4.addBox(-4.0F, 17.0F, -6.5F, 1, 2, 10, 0.0F);
        this.leftarm4 = new ModelRenderer(this, 90, 0);
        this.leftarm4.setRotationPoint(5.0F, -7.0F, 0.0F);
        this.leftarm4.addBox(1.0F, 16.0F, 2.5F, 1, 6, 3, 0.0F);
        this.setRotateAngle(leftarm4, -0.2094395160675048F, -0.0F, -0.17453292012214658F);
        this.eye4 = new ModelRenderer(this, 23, 0);
        this.eye4.setRotationPoint(0.0F, -6.0F, -1.0F);
        this.eye4.addBox(2.0F, -8.0F, -5.5F, 1, 1, 4, 0.0F);
        this.rightleg1 = new ModelRenderer(this, 66, 26);
        this.rightleg1.setRotationPoint(-2.0F, 5.0F, 0.0F);
        this.rightleg1.addBox(-3.5F, -1.0F, -2.5F, 4, 9, 5, 0.0F);
        this.setRotateAngle(rightleg1, -0.5751324892044067F, -0.0F, 0.0F);
        this.rightarm3 = new ModelRenderer(this, 70, 0);
        this.rightarm3.setRotationPoint(-5.0F, -7.0F, 0.0F);
        this.rightarm3.addBox(-3.0F, 7.0F, 1.5F, 3, 13, 3, 0.0F);
        this.setRotateAngle(rightarm3, -0.2094395160675048F, -0.0F, 0.17453292012214658F);
        this.spine1 = new ModelRenderer(this, 29, 25);
        this.spine1.setRotationPoint(0.0F, -6.0F, 0.0F);
        this.spine1.addBox(-1.5F, -1.0F, 3.5F, 3, 4, 2, 0.0F);
        this.setRotateAngle(spine1, 0.037178609520196915F, -0.0F, 0.0F);
        this.rightarm5 = new ModelRenderer(this, 82, -4);
        this.rightarm5.setRotationPoint(-5.0F, -7.0F, 0.0F);
        this.rightarm5.addBox(-1.5F, 20.0F, 1.0F, 0, 8, 4, 0.0F);
        this.setRotateAngle(rightarm5, -0.2094395160675048F, -0.0F, 0.17453292012214658F);
        this.rightarm1 = new ModelRenderer(this, 32, 0);
        this.rightarm1.setRotationPoint(-5.0F, -7.0F, 0.0F);
        this.rightarm1.addBox(-3.0F, -1.0F, -3.0F, 5, 5, 6, 0.0F);
        this.setRotateAngle(rightarm1, 0.2094395160675048F, -0.0F, 0.17453292012214658F);
        this.leftleg4 = new ModelRenderer(this, 116, 28);
        this.leftleg4.setRotationPoint(2.0F, 5.0F, 0.0F);
        this.leftleg4.addBox(-1.0F, 17.0F, -6.5F, 1, 2, 10, 0.0F);
        this.spine3 = new ModelRenderer(this, 29, 25);
        this.spine3.setRotationPoint(0.0F, -6.0F, 0.0F);
        this.spine3.addBox(-1.5F, 7.0F, 4.0F, 3, 5, 2, 0.0F);
        this.setRotateAngle(spine3, -0.12671710550785065F, -0.0F, 0.0F);
        this.eye5 = new ModelRenderer(this, 23, 0);
        this.eye5.setRotationPoint(0.0F, -6.0F, -1.0F);
        this.eye5.addBox(3.0F, -4.5F, -5.5F, 1, 1, 4, 0.0F);
        this.leftleg3 = new ModelRenderer(this, 98, 26);
        this.leftleg3.mirror = true;
        this.leftleg3.setRotationPoint(2.0F, 5.0F, 0.0F);
        this.leftleg3.addBox(-0.5F, 10.0F, -3.5F, 4, 9, 5, 0.0F);
        this.leftleg2 = new ModelRenderer(this, 84, 27);
        this.leftleg2.mirror = true;
        this.leftleg2.setRotationPoint(2.0F, 5.0F, 0.0F);
        this.leftleg2.addBox(0.0F, 1.0F, -8.5F, 3, 9, 4, 0.0F);
        this.setRotateAngle(leftleg2, 0.5751383304595947F, -0.0F, 0.0F);
        this.eye7 = new ModelRenderer(this, 23, 5);
        this.eye7.setRotationPoint(0.0F, -6.0F, -1.0F);
        this.eye7.addBox(-1.5F, -5.5F, -5.5F, 3, 3, 1, 0.0F);
        this.leftleg1 = new ModelRenderer(this, 66, 26);
        this.leftleg1.mirror = true;
        this.leftleg1.setRotationPoint(2.0F, 5.0F, 0.0F);
        this.leftleg1.addBox(-0.5F, -1.0F, -2.5F, 4, 9, 5, 0.0F);
        this.setRotateAngle(leftleg1, -0.5751324892044067F, -0.0F, 0.0F);
        this.rightleg3 = new ModelRenderer(this, 98, 26);
        this.rightleg3.setRotationPoint(-2.0F, 5.0F, 0.0F);
        this.rightleg3.addBox(-3.5F, 10.0F, -3.5F, 4, 9, 5, 0.0F);
        this.rightarm4 = new ModelRenderer(this, 90, 0);
        this.rightarm4.setRotationPoint(-5.0F, -7.0F, 0.0F);
        this.rightarm4.addBox(-2.0F, 16.0F, 2.5F, 1, 6, 3, 0.0F);
        this.setRotateAngle(rightarm4, -0.2094395160675048F, -0.0F, 0.17453292012214658F);
    }

    @Override
    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { 
        this.leftarm2.render(f5);
        this.rightarm2.render(f5);
        this.eye2.render(f5);
        this.leftarm3.render(f5);
        this.body1.render(f5);
        this.head.render(f5);
        this.leftleg5.render(f5);
        this.eye6.render(f5);
        this.body2.render(f5);
        this.eye1.render(f5);
        this.rightleg2.render(f5);
        this.leftarm5.render(f5);
        this.spine2.render(f5);
        this.rightleg5.render(f5);
        this.leftarm1.render(f5);
        this.eye3.render(f5);
        this.rightleg4.render(f5);
        this.leftarm4.render(f5);
        this.eye4.render(f5);
        this.rightleg1.render(f5);
        this.rightarm3.render(f5);
        this.spine1.render(f5);
        this.rightarm5.render(f5);
        this.rightarm1.render(f5);
        this.leftleg4.render(f5);
        this.spine3.render(f5);
        this.eye5.render(f5);
        this.leftleg3.render(f5);
        this.leftleg2.render(f5);
        this.eye7.render(f5);
        this.leftleg1.render(f5);
        this.rightleg3.render(f5);
        this.rightarm4.render(f5);
    }

    /**
     * This is a helper function from Tabula to set the rotation of model parts
     */
    public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) {
        modelRenderer.rotateAngleX = x;
        modelRenderer.rotateAngleY = y;
        modelRenderer.rotateAngleZ = z;
    }
}

 

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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi I’m running same mod on a server and realized they are spawning in chests which I don’t want, if I were to edit this data pack to disable them spawning in chests how would I do that? Explain to me like I’m 8
    • every time i use play forge in the launcher it says game crashed unexpected issuse and when i use curseforge it also doesn't work
    • I've attempted to use Jarfix as well. I tried running a previous version (18.2) of Minecraft and added a few random popular mods and the crashing is persistent among the servers. 
    • I attempted Java 17 again and it still doesn't work. Java -version in CMD: java -version java version "17.0.6" 2023-01-17 LTS Java(TM) SE Runtime Environment (build 17.0.6+9-LTS-190) Java HotSpot(TM) 64-Bit Server VM (build 17.0.6+9-LTS-190, mixed mode, sharing)   The error I get after using Java 17 again. 2023-03-24 19:01:56,259 main WARN Advanced terminal features are not available in this environment [19:01:56] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.2.8, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [19:01:56] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.6 by Oracle Corporation; OS Windows 10 arch amd64 version 10.0 [19:01:57] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/Kheyo/Downloads/Servers/Badaboop%20Server/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [19:01:57] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Kheyo\Downloads\Servers\Badaboop Server\libraries\net\minecraftforge\fmlcore\1.19.2-43.2.8\fmlcore-1.19.2-43.2.8.jar is missing mods.toml file [19:01:57] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Kheyo\Downloads\Servers\Badaboop Server\libraries\net\minecraftforge\javafmllanguage\1.19.2-43.2.8\javafmllanguage-1.19.2-43.2.8.jar is missing mods.toml file [19:01:57] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Kheyo\Downloads\Servers\Badaboop Server\libraries\net\minecraftforge\lowcodelanguage\1.19.2-43.2.8\lowcodelanguage-1.19.2-43.2.8.jar is missing mods.toml file [19:01:57] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Kheyo\Downloads\Servers\Badaboop Server\libraries\net\minecraftforge\mclanguage\1.19.2-43.2.8\mclanguage-1.19.2-43.2.8.jar is missing mods.toml file [19:01:57] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 8 dependencies adding them to mods collection [19:01:59] [main/INFO] [mixin/]: Compatibility level set to JAVA_17 [19:01:59] [main/ERROR] [mixin/]: Mixin config mixins.oculus.compat.sodium.json does not specify "minVersion" property [19:01:59] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [com.sonicether.soundphysics.MixinConnector] [19:01:59] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [ca.spottedleaf.starlight.mixin.MixinConnector] [19:01:59] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments [] [19:01:59] [main/WARN] [mixin/]: Reference map 'createdeco.refmap.json' for createdeco.mixins.json could not be read. If this is a development environment you can ignore this message [19:01:59] [main/WARN] [mixin/]: Reference map 'Weeping-Angels-forge-refmap.json' for weeping_angels.mixins.json could not be read. If this is a development environment you can ignore this message [19:01:59] [main/INFO] [Rubidium/]: Loaded configuration file for Rubidium: 30 options available, 0 override(s) found [19:01:59] [main/WARN] [mixin/]: Reference map 'yungsextras.refmap.json' for yungsextras.mixins.json could not be read. If this is a development environment you can ignore this message [19:01:59] [main/WARN] [mixin/]: Reference map 'yungsextras.refmap.json' for yungsextras_forge.mixins.json could not be read. If this is a development environment you can ignore this message [19:01:59] [main/WARN] [mixin/]: Reference map '${refmap_target}refmap.json' for corgilib.forge.mixins.json could not be read. If this is a development environment you can ignore this message [19:01:59] [main/WARN] [mixin/]: Reference map 'modid.refmap.json' for createtweaker.mixin.json could not be read. If this is a development environment you can ignore this message [Serene Seasons Transformer]: Transforming m_47480_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Z)Z in net/minecraft/world/level/biome/Biome [Serene Seasons Transformer]: Patched 1 calls [Serene Seasons Transformer]: Transforming m_47519_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z in net/minecraft/world/level/biome/Biome [Serene Seasons Transformer]: Successfully patched shouldSnow [Serene Seasons Transformer]: Transforming m_8714_ (Lnet/minecraft/world/level/chunk/LevelChunk;I)V in net/minecraft/server/level/ServerLevel [Serene Seasons Transformer]: Successfully patched tickChunk [19:01:59] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [19:01:59] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [19:01:59] [main/WARN] [mixin/]: Error loading class: com/mojang/blaze3d/audio/Channel (java.lang.ClassNotFoundException: com.mojang.blaze3d.audio.Channel) [19:01:59] [main/WARN] [mixin/]: @Mixin target com.mojang.blaze3d.audio.Channel was not found assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ChannelAccessor [Serene Seasons Transformer]: Transforming m_8714_ (Lnet/minecraft/world/level/chunk/LevelChunk;I)V in net/minecraft/server/level/ServerLevel [Serene Seasons Transformer]: Successfully patched tickChunk [19:02:00] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [19:02:00] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [Serene Seasons Transformer]: Transforming m_8107_ ()V in net/minecraft/world/entity/animal/SnowGolem [Serene Seasons Transformer]: Patched 1 calls [19:02:01] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [19:02:01] [main/INFO] [ne.mi.co.Co.placebo/COREMODLOG]: Patching IForgeItemStack#getEnchantmentLevel [19:02:02] [main/INFO] [minecraft/DataFixers]: Building unoptimized datafixer [19:02:02] [main/WARN] [mixin/]: @ModifyConstant conflict. Skipping repurposed_structures.mixins.json:structures.StructurePoolMixin->@ModifyConstant::repurposedstructures_increaseWeightLimitDev(I)I with priority 1000, already redirected by yungsapi_forge.mixins.json:IncreaseStructureWeightLimitMixinForge->@ModifyConstant::yungsapi_increaseWeightLimit(I)I with priority 1000 [Serene Seasons Transformer]: Transforming m_47480_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Z)Z in net/minecraft/world/level/biome/Biome [Serene Seasons Transformer]: Patched 1 calls [Serene Seasons Transformer]: Transforming m_47519_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z in net/minecraft/world/level/biome/Biome [Serene Seasons Transformer]: Successfully patched shouldSnow [19:02:03] [main/ERROR] [ne.mi.fm.lo.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/KeyMapping for invalid dist DEDICATED_SERVER [19:02:03] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/KeyMapping (java.lang.RuntimeException: Attempted to load class net/minecraft/client/KeyMapping for invalid dist DEDICATED_SERVER) Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:32)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)         at cpw.mods.bootstraplauncher@1.1.2/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) Caused by: java.lang.reflect.InvocationTargetException         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)         at java.base/java.lang.reflect.Method.invoke(Method.java:568)         at MC-BOOTSTRAP/fmlloader@1.19.2-43.2.8/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:29)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)         ... 7 more Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)         at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50)         at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113)         at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219)         at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229)         at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219)         at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135)         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)         at TRANSFORMER/minecraft@1.19.2/net.minecraft.world.inventory.MenuType.<clinit>(MenuType.java:7)         at TRANSFORMER/minecraft@1.19.2/net.minecraft.core.Registry.m_235768_(Registry.java:230)         at TRANSFORMER/minecraft@1.19.2/net.minecraft.core.Registry.lambda$internalRegister$54(Registry.java:461)         at TRANSFORMER/minecraft@1.19.2/net.minecraft.core.Registry.lambda$static$70(Registry.java:667)         at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)         at TRANSFORMER/minecraft@1.19.2/net.minecraft.core.Registry.<clinit>(Registry.java:666)         at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.Bootstrap.m_135870_(Bootstrap.java:43)         at TRANSFORMER/minecraft@1.19.2/net.minecraft.server.Main.main(Main.java:110)         ... 13 more Caused by: org.spongepowered.asm.mixin.throwables.ClassMetadataNotFoundException: net.minecraft.client.KeyMapping         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transformMethod(MixinPreProcessorStandard.java:754)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transform(MixinPreProcessorStandard.java:739)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:310)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:280)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1288)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)         ... 34 more Press any key to continue . . .    
  • Topics

×
×
  • Create New...

Important Information

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