• 0

    posted a message on [1.7.10] Really Disturbing Tank Engines Mod v1.0.0 - Adds The Disturbing Side of Thomas and his Friends! (Mob, Items)

    Thanks man for the feedback! This is my first weird random mod I made ;)

    Posted in: Minecraft Mods
  • 1

    posted a message on [1.7.10] Really Disturbing Tank Engines Mod v1.0.0 - Adds The Disturbing Side of Thomas and his Friends! (Mob, Items)
    Really Disturbing Tank Engines Mod v1.0.0

    Description


    This mod adds Toby The Train, he will stalk you, haunt you and hunt you. His eyes are crying blood as it shocks down your spine. His speed is incredibly fast as you have nowhere to turn.

    This mod also implements new items, most of the items are item drops from Toby but has mechanics behind it (operable). Items descriptions in the "items:" section.


    Before you say anything, Toby The Tram Engine and other items were only implemented because I am still in development of making other stuff. So for now, I only implemented Toby The Tram Engine, foods, a weapon and his items. If you want to help me model or texture,
    please email me at: [email protected]


    I will add new characters and items, these ideas will be implemented in the next update.

    (These are not in the mod! They're ideas that I will be implementing!)
    - Thomas (of course!)
    - Hiro
    - Percy
    -Gordon
    - Harold
    - Splatter and Dodge



    Mod Licence: You can add it to your modpack but you must give credits.

    Please report bugs on the comments section.


    Don't forget to like this thread! This would help me so much! :)



    Items:


    - Raw Toby Meat

    - Cooked Toby Meat

    - Toby's Soul (Potion effects - Fire resistance, increased in jump and sprint)

    -The Fat Controllers Cane (Weapon, +10 damage)

    -Spawn egg (Toby The Tram Engine)



    Mobs:

    Toby The Tram Engine


    -Has 100 hearts

    -Spawns in the desert

    - Avoids water but can swim

    - Kills pigs, wolfs and the player

    - Follows coal

    - Drops Toby Meat and Toby Soul (weird right!?)

    -Honks and speaks in a distorted way.


    At Night



    At Day


    Crafting Recipes and Smelting:


    The Fat Controller's Cane Recipe


    Raw Toby Meat Smelting


    Posted in: Minecraft Mods
  • 0

    posted a message on How to get custom texture icon for your custom entity spawn egg?

    Thanks man for your reply, I will try this!

    Posted in: Modification Development
  • 0

    posted a message on How to get custom texture icon for your custom entity spawn egg?

    Ill try to make my own spawn egg, thanks for your help and advice

    Posted in: Modification Development
  • 0

    posted a message on How to get custom texture icon for your custom entity spawn egg?

    I tried to put it but I made my entity in this type of way, I am not sure where to place it since that it is not an item. Sorry for bothering you man.


    This class is the creation of the entity


    package com.chamchi.mobs;

    import java.util.List;
    import net.minecraft.entity.EntityList;
    import net.minecraft.entity.EnumCreatureType;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import net.minecraft.world.biome.BiomeGenBase;

    import com.chamchi.main.Strings;
    import com.chamchi.main.MainClass;

    import cpw.mods.fml.common.registry.EntityRegistry;

    public class EntityTobyTrain {


    public static void mainRegistry() {
    registerEntity();
    }

    public static void registerEntity() {
    createEntity(EntityTobyTrainMob.class, "TobyTrain", 0x000000, 0x000000);

    }

    public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor) {
    int randomId = EntityRegistry.findGlobalUniqueEntityId();
    EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
    EntityRegistry.registerModEntity(entityClass, entityName, randomId, MainClass.modInstance, 64, 1, true);
    EntityRegistry.addSpawn(entityClass, 10, 4, 5, EnumCreatureType.creature, BiomeGenBase.desert);

    createEgg(randomId, solidColor, spotColor);
    }

    private static void createEgg(int randomId, int solidColor, int spotColor) {
    EntityList.entityEggs.put(Integer.valueOf(randomId), new EntityList.EntityEggInfo(randomId, spotColor, solidColor));

    }





    }


    This class is the AI of the entity


    package com.chamchi.mobs;

    import net.minecraft.entity.EntityAgeable;
    import net.minecraft.entity.SharedMonsterAttributes;
    import net.minecraft.entity.ai.EntityAIAttackOnCollide;
    import net.minecraft.entity.ai.EntityAIHurtByTarget;
    import net.minecraft.entity.ai.EntityAILookIdle;
    import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
    import net.minecraft.entity.ai.EntityAIPanic;
    import net.minecraft.entity.ai.EntityAISwimming;
    import net.minecraft.entity.ai.EntityAITempt;
    import net.minecraft.entity.ai.EntityAIWander;
    import net.minecraft.entity.ai.EntityAIWatchClosest;
    import net.minecraft.entity.monster.EntityMob;
    import net.minecraft.entity.passive.EntityChicken;
    import net.minecraft.entity.passive.EntityCow;
    import net.minecraft.entity.passive.EntityHorse;
    import net.minecraft.entity.passive.EntityPig;
    import net.minecraft.entity.passive.EntityWolf;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.world.World;

    import com.chamchi.main.MainClass;

    public class EntityTobyTrainMob extends EntityMob{


    public EntityTobyTrainMob(World par1World) {
    super(par1World);
    this.setSize(4.0F, 4.0F);
    this.getNavigator().setAvoidsWater(true);
    this.tasks.addTask(0, new EntityAISwimming(this));
    this.tasks.addTask(1, new EntityAIPanic(this, 0.9D));
    this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 0.6D, false));
    this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityPig.class, 0.6D, true));
    this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityCow.class, 0.6D, true));
    this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityChicken.class, 0.6D, true));
    this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityWolf.class, 0.6D, true));
    this.tasks.addTask(3, new EntityAITempt(this, 0.9D, MainClass.itemTobySoul, false));
    this.tasks.addTask(7, new EntityAIWander(this, 0.9D));
    this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
    this.tasks.addTask(8, new EntityAILookIdle(this));
    this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPig.class, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityCow.class, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityChicken.class, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityWolf.class, 0, true));

    }

    public boolean isAIEnabled() {
    return true;

    }

    protected void applyEntityAttributes() {
    super.applyEntityAttributes();
    this.getEntityAttribute(SharedMonsterAttributes.followRange).setBaseValue(40.0D);
    this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(100.0F);
    this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.9D);
    this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(0.7D);

    }

    public EntityTobyTrainMob createChild(EntityAgeable p_90011_1_) {
    return new EntityTobyTrainMob(worldObj);
    }

    @Override
    protected String getLivingSound()
    {
    return "rdtem:mob.TobyTrain.live";
    }

    @Override
    protected String getDeathSound()
    {
    return "rdtem:mob.TobyTrain.death";

    }



    }


    And this class is the render of the entity


    package com.chamchi.mobs;

    import com.chamchi.main.Strings;

    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 RenderTobyTrain extends RenderLiving {

    private static final ResourceLocation mobTextures = new ResourceLocation(Strings.MODID + ":textures/entity/ModelTobyTrainTexture.png");

    public RenderTobyTrain(ModelBase par1ModelBase, float par2) {
    super(par1ModelBase, par2);
    }

    protected ResourceLocation getEntityTexture(EntityTobyTrainMob entity) {
    return mobTextures;
    }

    protected ResourceLocation getEntityTexture(Entity entity) {
    return this.getEntityTexture((EntityTobyTrainMob)entity);
    }

    }

    Posted in: Modification Development
  • 0

    posted a message on How to get custom texture icon for your custom entity spawn egg?

    Thanks man for the help, but I also wondered how you put your custom egg in to your custom creative tabs? I read some threads but none of them weren't solved yet.

    Posted in: Modification Development
  • 0

    posted a message on How to get custom texture icon for your custom entity spawn egg?

    I made a custom entity (mob) but I don't know how to add a custom texture icon-like thing for the spawn egg. Like the alien vs predator mod, the spawn of the aliens had a custom icon on it.

    I also wanted to know how to add a description to the custom entity spawn egg, I'm a beginner to modding.

    Posted in: Modification Development
  • To post a comment, please .