Jump to content

[1.6.4] How to create a mob?


Pandassaurus

Recommended Posts

Hi,

So I found code online to create a new mob, and in the video as well as my other mod it worked, but for some reason, it's not in this one.

 

main class:

 

 package com.Pandassaurus.WTHMod;

import com.Pandassaurus.WTHMod.mob.entity.EntityPedophileMob;
import com.Pandassaurus.WTHMod.mob.model.PedophileMob;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import net.minecraft.block.Block;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityEggInfo;
import net.minecraft.entity.EntityList;
import net.minecraft.entity.EnumCreatureType;
import net.minecraftforge.common.MinecraftForge;

/**
* User: Pandassaurus
* Date: 2/17/14
*/
@Mod(modid = WTHMod.MODID, version = WTHMod.VERSION)
@NetworkMod(clientSideRequired = true, serverSideRequired = false)
public class WTHMod {
    public static final String MODID = "WTHMod";
    public static final String VERSION = "1.0";

    @SidedProxy(clientSide = "com.Pandassaurus.WTHMod.ClientProxy", serverSide = "com.Pandassaurus.WTHMod.CommonProxy")
    public static CommonProxy proxy;

    @Mod.EventHandler
    public void load(FMLInitializationEvent event) {
        proxy.registerRenderers();
    }

   /* @Mod.EventHandler
    public void preInt(FMLInitializationEvent event) {
        MinecraftForge.EVENT_BUS.register(new SoundHandler());
    }
                        */

    public static int startEntityId = 300;

    public static int getUniqueEntityId() {
        do {
            startEntityId++;
        }
        while (EntityList.getStringFromID(startEntityId) != null);
        return startEntityId++;
    }

    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 EntityEggInfo(id, primaryColor, secondaryColor));
    }


    public WTHMod() {
        EntityRegistry.registerGlobalEntityID(EntityPedophileMob.class, "Pedophile", 1);
        EntityRegistry.addSpawn(EntityPedophileMob.class, 3, 1, 4, EnumCreatureType.creature);
        EntityRegistry.findGlobalUniqueEntityId();
        registerEntityEgg(EntityPedophileMob.class, 0xffffffff, 0x00033ff);
    }
}

 

 

Entity Class:

 

package com.Pandassaurus.WTHMod.mob.entity;

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.EntityCreature;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.world.World;

/**
* User: Pandassaurus
* Date: 2/18/14
*/
public abstract class EntityPedophileMob extends EntityCreature {
    public EntityPedophileMob(World par1World) {
        super(par1World);
    }

    public void applyEntityAttributes() {
        super.applyEntityAttributes();
        this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setAttribute(0D);
        this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setAttribute(20D);
    }

    public boolean getCanSpawnHere() {
        return super.getCanSpawnHere();
    }

    public String getLivingSound() {
        return "modid:textures/sound/sounds/pedophilegrunt.ogg";
    }

    public void onLivingUpdate() {
        if (isInWater())
            this.worldObj.playSoundAtEntity(this, "modid:textures/sound/sounds/pedophilegrunt.ogg", 1.0F, 1.0F);
    }
}

 

 

Render Class:

 

package com.Pandassaurus.WTHMod.mob.render;

import com.Pandassaurus.WTHMod.mob.entity.EntityPedophileMob;
import com.Pandassaurus.WTHMod.mob.model.PedophileMob;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.util.ResourceLocation;

/**
* User: Pandassaurus
* Date: 2/18/14
*/
public class RenderPedophileMob extends RenderLiving {
    private static final ResourceLocation field_110837_a = new ResourceLocation("modid:textures/mobs/PedophileMob.png");
    protected PedophileMob model;

    public RenderPedophileMob(ModelBase par1ModelBase, float par2) {
        super(par1ModelBase, par2);
        model = ((PedophileMob) mainModel);
    }

    public void RenderPedophile(EntityPedophileMob entity, double par2, double par4, double par6, float par8, float par9) {
        super.doRenderLiving(entity, par2, par4, par6, par8, par9);
    }

    public void doRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9) {
        RenderPedophile((EntityPedophileMob) par1EntityLiving, par2, par4, par6, par8, par9);
    }

    public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9) {
        RenderPedophile((EntityPedophileMob) par1Entity, par2, par4, par6, par8, par9);
    }

    @Override
    protected ResourceLocation getEntityTexture(Entity entity) {
        return field_110837_a;
    }
}

 

 

Client Proxy:

 

package com.Pandassaurus.WTHMod;

import com.Pandassaurus.WTHMod.mob.entity.EntityPedophileMob;
import com.Pandassaurus.WTHMod.mob.model.PedophileMob;
import com.Pandassaurus.WTHMod.mob.render.RenderPedophileMob;
import cpw.mods.fml.client.registry.RenderingRegistry;
import net.minecraft.client.renderer.entity.Render;

/**
* User: Pandassaurus
* Date: 2/19/14
*/
public class ClientProxy extends CommonProxy {
    @Override
    public void registerRenderers() {
        RenderingRegistry.registerEntityRenderingHandler(EntityPedophileMob.class, new RenderPedophileMob(new PedophileMob(), 0.3F));
    }
}

 

 

Common Proxy

 

package com.Pandassaurus.WTHMod;

/**
* User: Pandassaurus
* Date: 2/19/14
*/
public class CommonProxy {
    public void registerRenderers() {
    }
}

 

 

Error:

 

java.lang.InstantiationException
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:205)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:139)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:86)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:153)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:434)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:556)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:58)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2014-02-19 17:33:42 [iNFO] [sTDERR] 	at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:583)
2014-02-19 17:33:42 [WARNING] [Minecraft-Server] Skipping Entity with id 301

 

 

 

Dont mind the name of the mob :P

 

anyway, thanks, and any help is appreciated.

-Pandassaurus

Link to comment
Share on other sites

Oh sorry, I forgot to add the model class:

 

 

// Date: 2/17/2014 10:20:32 PM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX


package com.Pandassaurus.WTHMod.mob.model;

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

public class PedophileMob extends ModelBase {
    //fields
    ModelRenderer head;
    ModelRenderer body;
    ModelRenderer rightupperarm;
    ModelRenderer rightlowerarm;
    ModelRenderer leftupperarm;
    ModelRenderer leftlowerarm;
    ModelRenderer rightleg;
    ModelRenderer leftleg;

    public PedophileMob() {
        textureWidth = 64;
        textureHeight = 64;

        head = new ModelRenderer(this, 0, 0);
        head.addBox(-4F, -8F, -4F, 8, 8, ;
        head.setRotationPoint(0F, 0F, 0F);
        head.setTextureSize(64, 64);
        head.mirror = true;
        setRotation(head, 0F, 0F, 0F);
        body = new ModelRenderer(this, 16, 16);
        body.addBox(-4F, 0F, -2F, 8, 12, 4);
        body.setRotationPoint(0F, 0F, 0F);
        body.setTextureSize(64, 64);
        body.mirror = true;
        setRotation(body, 0F, 0F, 0F);
        rightupperarm = new ModelRenderer(this, 40, 16);
        rightupperarm.addBox(-3F, -2F, -2F, 4, 7, 4);
        rightupperarm.setRotationPoint(-5F, 2F, 0F);
        rightupperarm.setTextureSize(64, 64);
        rightupperarm.mirror = true;
        setRotation(rightupperarm, 0F, 0F, 0F);
        rightlowerarm = new ModelRenderer(this, 32, 0);
        rightlowerarm.addBox(-2F, 0F, -2F, 4, 6, 4);
        rightlowerarm.setRotationPoint(-6F, 6F, 0F);
        rightlowerarm.setTextureSize(64, 64);
        rightlowerarm.mirror = true;
        setRotation(rightlowerarm, -0.7853982F, 0F, 0F);
        leftupperarm = new ModelRenderer(this, 40, 16);
        leftupperarm.addBox(-1F, -2F, -2F, 4, 7, 4);
        leftupperarm.setRotationPoint(5F, 2F, 0F);
        leftupperarm.setTextureSize(64, 64);
        leftupperarm.mirror = true;
        setRotation(leftupperarm, 0F, 0F, 0F);
        leftlowerarm = new ModelRenderer(this, 32, 0);
        leftlowerarm.addBox(-2F, 0F, -2F, 4, 6, 4);
        leftlowerarm.setRotationPoint(6F, 6F, 0F);
        leftlowerarm.setTextureSize(64, 64);
        leftlowerarm.mirror = true;
        setRotation(leftlowerarm, -0.7853982F, 0F, 0F);
        rightleg = new ModelRenderer(this, 0, 16);
        rightleg.addBox(-2F, 0F, -2F, 4, 12, 4);
        rightleg.setRotationPoint(-2F, 12F, 0F);
        rightleg.setTextureSize(64, 64);
        rightleg.mirror = true;
        setRotation(rightleg, 0F, 0F, 0F);
        leftleg = new ModelRenderer(this, 0, 16);
        leftleg.addBox(-2F, 0F, -2F, 4, 12, 4);
        leftleg.setRotationPoint(2F, 12F, 0F);
        leftleg.setTextureSize(64, 64);
        leftleg.mirror = true;
        setRotation(leftleg, 0F, 0F, 0F);
    }

    public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7) {
        setRotationAngles(par2, par3, par4, par5, par6, par7, par1Entity);
        head.render(par7);
        body.render(par7);
        rightupperarm.render(par7);
        rightlowerarm.render(par7);
        leftupperarm.render(par7);
        leftlowerarm.render(par7);
        rightleg.render(par7);
        leftleg.render(par7);
    }

    private void setRotation(ModelRenderer model, float x, float y, float z) {
        model.rotateAngleX = x;
        model.rotateAngleY = y;
        model.rotateAngleZ = z;
    }

    public void setRotationAngles(float par1, float par2, float par3, float par4, float par5, float par6, Entity par7Entity) {
    }

}

 

Link to comment
Share on other sites

Your mob should look black and purple because your pointing to a (mostly likely) non-existant texture at assets/modid/textures/mobs/PedophileMob.png instead of assets/wthmod/textures/mobs/PedophileMob.png

 

I do have the texture, but even if i didn't, but instead of there being a white or purple and black box, it's just invisible.

This is the class path of the picture:

 

http://24.media.tumblr.com/c2a434334eaa6e97a2efb17a2385c984/tumblr_n1bgybNCrF1sejvuqo1_250.png

 

 

Ctrl+F shows me that you're missing

Minecraft.theWorld.spawnEntityInWorld(yourEntityObject);

Would this be correct?

 

Also, be sure you're setting a location for your entity!

 

I am missing that, but is that necessary? In my other mod that I am trying i didn't need it. If so, where would i put it?

Also, what do you mean by setting a location for my entity?

 

I'm sorry, im new to modding, so thanks for the help!

-Pandassaurus

Link to comment
Share on other sites

I currently use spawnEntityinWorld, perhaps there is another method, I'm not sure, new to this as well ;)

BUT as for the location say you have your entity pandasauruss

 
EntityPandasauruss pandasauruss = new EntityPandasauruss(Minecraft.theWorld);
pandasauruss.setPositionAndUpdate(player.posX, player.posY, player.posZ);

The player.posX, etc. would change to be where your egg landed but same concept. Perhaps that will work for you.

Link to comment
Share on other sites

I currently use spawnEntityinWorld, perhaps there is another method, I'm not sure, new to this as well ;)

BUT as for the location say you have your entity pandasauruss

 
EntityPandasauruss pandasauruss = new EntityPandasauruss(Minecraft.theWorld);
pandasauruss.setPositionAndUpdate(player.posX, player.posY, player.posZ);

The player.posX, etc. would change to be where your egg landed but same concept. Perhaps that will work for you.

 

no, that didn't work for me.

 

thanks though,

-Pandassaurus

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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • my game crashed and I have no idea why here is a link to the pastebin of the crash https://pastebin.com/vv89r9vC
    • I know duplicated mods are causing the crashes but i just dunno what mod(s) are duplicated   [14:54:36] [main/INFO]: ModLauncher running: args [--username, DiscoloredScars, --version, forge-40.2.0, --gameDir, E:\curseforge minecraft\Instances\MT6 (1), --assetsDir, E:\curseforge minecraft\Install\assets, --assetIndex, 1.18, --uuid, 66ccf15a7ca24a8386d37f6d3bfef878, --accessToken, ????????, --clientId, MjEwMWVmMTYtODVjYS00OTcwLWFmZTktOTZiNTAyYmM2YTQ3, --xuid, 2535421420761636, --userType, msa, --versionType, release, --width, 1024, --height, 768, --launchTarget, forgeclient, --fml.forgeVersion, 40.2.0, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914] [14:54:36] [main/INFO]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.1 by Microsoft [14:54:36] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/E:/curseforge%20minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=CLIENT [14:54:36] [main/INFO]: Found mod file [1.18.2-forge]-Epic-Knights-8.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file AdvancementPlaques-1.18.2-1.4.5.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Apotheosis-1.18.2-5.8.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file architectury-4.11.93-forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ars_nouveau-1.18.2-2.9.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file AutoLeveling-1.18.2-1.17.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file betterstats-2.2.2+1.18.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file blockui-1.18.2-0.0.71-ALPHA.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Bookshelf-Forge-1.18.2-13.3.56.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file BrassAmberBattleTowers-1.18.2-2.3.12.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file bygonenether-1.3.0-1.18.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file caelus-forge-1.18.1-3.0.0.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file cloth-config-6.5.102-forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Clumps-forge-1.18.2-8.0.0+17.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file collection-of-singiro-1.19.x-1.1.4.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file collective-1.18.2-6.65.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ConfigMenusForge-v3.2.0-1.18.2-Forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file CreativeCore_FORGE_v2.6.17_mc1.18.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file curioofundying-forge-1.18-5.3.0.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file curios-forge-1.18.2-5.0.9.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file curiouselytra-forge-1.18.1-5.0.1.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file domum_ornamentum-1.18.2-1.0.50-ALPHA-universal.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file dungeons_enhanced-1.18.2-3.2.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file dungeons_gear-1.18.2-4.0.2-beta.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file dungeons_libraries-1.18.2-2.0.5-beta.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file dungeons_plus-1.18.2-1.2.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file embeddium-0.3.18+mc1.18.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file EnchantmentDescriptions-Forge-1.18.2-10.0.12.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file EndlessBiomes 1.3s - 1.18.2 (Server-friendly).jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file FarmersDelight-1.18.2-1.2.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file FarmersRespite-1.18.2-1.3.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file framework-forge-1.18.2-0.4.3.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ftb-chunks-forge-1802.3.17-build.265.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ftb-essentials-1802.2.2-build.83.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ftb-library-forge-1802.3.11-build.177.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ftb-quests-forge-1802.3.14-build.191.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ftb-teams-forge-1802.2.11-build.107.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ftb-ultimine-forge-1802.3.3-build.70.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file geckolib-forge-1.18-3.0.57.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Goblins_Dungeons_1.0.8.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file goblintraders-1.8.0-1.18.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ironchest-1.18.2-13.2.11.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ironfurnaces-1.18.2-3.3.3.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Jade-1.18.2-forge-5.3.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file jei-1.18.2-9.7.2.1001.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file LegendaryTooltips-1.18.2-1.3.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file mahoutsukai-1.18.2-v1.34.62.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file minecolonies-1.18.2-1.1.29-BETA.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file miners_delight-1.18.2-1.1.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file modestmining-1.18.2-0.1.41.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file modnametooltip-1.18.1-1.18.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file morevillagers-forge-1.18.2-3.3.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file MouseTweaks-forge-mc1.18-2.21.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file mowziesmobs-1.5.32.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file multi-piston-1.18.2-1.2.15-ALPHA.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file MutantMonsters-v3.0.1-1.18.2-Forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file oculus-mc1.18.2-1.6.4.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Oh_The_Biomes_You'll_Go-forge-1.18.2-1.4.7.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Origins-1.18.2-1.4.1.4-unified.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file pamhc2crops-1.18.2-1.0.6.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file pamhc2foodcore-1.18.2-1.0.3.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file pamhc2foodextended-1.18.2-1.0.5.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file pamhc2trees-1.18.2-1.0.4.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Patchouli-1.18.2-71.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Pehkui-3.7.7+1.18.2-forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Placebo-1.18.2-6.6.7.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file PuzzlesLib-v3.4.6-1.18.2-Forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Quark-3.2-358.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file reforgium-1.18.2-1.0.12a.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file rpggods-18.2.6.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file rubidium-0.5.6.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file rubidium_extras-1.18.2_v1.3.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file selene-1.18.2-1.17.9.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file sereneseasonfix-1.18.2-1.0.6.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file SereneSeasons-1.18.2-7.0.0.15.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file sons-of-sins-1.18.2-1.1.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file sophisticatedbackpacks-1.18.2-3.19.4.976.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file sophisticatedcore-1.18.2-0.5.109.515.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file spark-1.10.38-forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file structure_gel-1.18.2-2.4.7.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file structurize-1.18.2-1.0.424-ALPHA.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file supplementaries-1.18.2-1.5.18.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file TerraBlender-forge-1.18.2-1.2.0.126.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file TradingPost-v3.2.0-1.18.2-Forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file TravelersTitles-1.18.2-Forge-2.1.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file upgrade_aquatic-1.18.2-4.0.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file upgradedcore-1.18.2-3.3.0.0-release.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file upgradednetherite-1.18.2-4.3.0.1-release.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file upgradednetherite_items-1.18.2-3.3.0.0-release.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file upgradednetherite_ultimate-1.18.2-3.3.0.0-release.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file valhelsia_core-forge-1.18.2-0.4.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file villagernames-1.18.2-5.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file villagespawnpoint-1.18.2-4.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file waystones-forge-1.18.2-10.2.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file weaponmaster-1.2.1-1.18.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsApi-1.18.2-Forge-2.2.9.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBetterDungeons-1.18.2-Forge-2.1.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBetterMineshafts-1.18.2-Forge-2.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBetterNetherFortresses-1.18.2-Forge-1.0.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBetterOceanMonuments-1.18.2-Forge-1.0.3.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBetterStrongholds-1.18.2-Forge-2.1.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBetterWitchHuts-1.18.2-Forge-1.0.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBridges-1.18.2-Forge-2.1.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsExtras-1.18.2-Forge-2.1.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:37] [main/WARN]: Mod file E:\curseforge minecraft\Install\libraries\net\minecraftforge\fmlcore\1.18.2-40.2.0\fmlcore-1.18.2-40.2.0.jar is missing mods.toml file [14:54:37] [main/WARN]: Mod file E:\curseforge minecraft\Install\libraries\net\minecraftforge\javafmllanguage\1.18.2-40.2.0\javafmllanguage-1.18.2-40.2.0.jar is missing mods.toml file [14:54:37] [main/WARN]: Mod file E:\curseforge minecraft\Install\libraries\net\minecraftforge\lowcodelanguage\1.18.2-40.2.0\lowcodelanguage-1.18.2-40.2.0.jar is missing mods.toml file [14:54:37] [main/WARN]: Mod file E:\curseforge minecraft\Install\libraries\net\minecraftforge\mclanguage\1.18.2-40.2.0\mclanguage-1.18.2-40.2.0.jar is missing mods.toml file [14:54:37] [main/INFO]: Found mod file fmlcore-1.18.2-40.2.0.jar of type LIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@2577d6c8 [14:54:37] [main/INFO]: Found mod file javafmllanguage-1.18.2-40.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@2577d6c8 [14:54:37] [main/INFO]: Found mod file lowcodelanguage-1.18.2-40.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@2577d6c8 [14:54:37] [main/INFO]: Found mod file mclanguage-1.18.2-40.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@2577d6c8 [14:54:37] [main/INFO]: Found mod file client-1.18.2-20220404.173914-srg.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@2577d6c8 [14:54:37] [main/INFO]: Found mod file forge-1.18.2-40.2.0-universal.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@2577d6c8 [14:54:37] [main/ERROR]: Failed to build unique mod list after mod discovery. net.minecraftforge.fml.loading.EarlyLoadingException: Duplicate mods found     at net.minecraftforge.fml.loading.UniqueModListBuilder.buildUniqueList(UniqueModListBuilder.java:78) ~[fmlloader-1.18.2-40.2.0.jar%2317!/:1.0]     at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:76) ~[fmlloader-1.18.2-40.2.0.jar%2317!/:?]     at net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:166) ~[fmlloader-1.18.2-40.2.0.jar%2317!/:1.0]     at net.minecraftforge.fml.loading.FMLServiceProvider.beginScanning(FMLServiceProvider.java:86) ~[fmlloader-1.18.2-40.2.0.jar%2317!/:1.0]     at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:112) ~[modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:100) ~[modlauncher-9.1.3.jar%235!/:?]     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) [?:?]     at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1779) [?:?]     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) [?:?]     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) [?:?]     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) [?:?]     at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) [?:?]     at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) [?:?]     at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622) [?:?]     at java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627) [?:?]     at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:102) [modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:55) [modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.modlauncher.Launcher.run(Launcher.java:87) [modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] [14:54:37] [main/ERROR]: Mod Discovery failed. Skipping dependency discovery.  
    • ok apparently the issue is even stupider than that. the folder the server was in was called "𝓯𝓻𝓮𝓪𝓴𝔂 server" and apparently the special characters in the folder name break the whole damn thing. this is the stupidest thing in the history of ever
    • Thanks, but now I have the 3d model in hand (and in inventory bcz I won't need that anymore) but now when I try to throw it, it doesnt rotate and its just the end of the trident not the head part. Edit: I removed the 3d custom model. I use the original minecraft files. Json and etc. In minecraft the rendering is made in code. I sent the code in the first message. I have mostly the code. But I don't know how to register the renderers like minecraft do. For example, in minecraft there are 2 jsons: trident_in_hand and trident_throwing , I have both of them. They don't render while I have the item in hand. That's the main problem. I checked the code but I still can't figure out how to register and render the entity basically, in hand
  • Topics

×
×
  • Create New...

Important Information

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