• 0

    posted a message on Offline Server Question
    http://www.minecraft.net/haspaid.jsp?user=bunie
    good luck getting someone to help you with a pirated game.
    Edit: looks like she's since bought the game to anyone that cares.
    Posted in: Server Support and Administration
  • 0

    posted a message on NPC Guards?
    Quote from sfxworks »
    Quote from Dominic92x »
    Sorry guy, I think something like this requires intense coding that no one has done yet.

    I know Actionscript 3 and some java

    So...how would I begin?

    It's good that you're willing to try but with no experience modding at all, you wont have much luck. He doesn't mean that nobody has tried to do it, he means nobody can get it to work yet.
    Posted in: Server Support and Administration
  • 0

    posted a message on Minecraft more mobs + Laupas tool, Ideas
    A friendly creeper mod already exists, and do you realize that there is tons of mods that add mobs to the game? Like dozens of mods.
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on Help with HD patcher Mod compatibility??
    It removed your mods, patch first, mod second. Lol.
    Posted in: Mods Discussion
  • 0

    posted a message on mod help
    Quote from Xxbiohazardxx »
    since irc isnt helping me may i ask one a few more questions? Where can you add/edit damage?

    Are we talking mob strength? Well idk if it will work for you because your mob extends EntityCreature, but for mobs that extend EntityMobs you can use this code
    attackStrength = 4;

    that would go directly under your health code. But again, idk if it will work for EntityCreature. If not, you might just want to change your mob to extend EntityMobs anyways, the only con to that being they wont spawn on peaceful. And might attack you if they don't already.
    Posted in: Mods Discussion
  • 0

    posted a message on [Creating Mods] Human Mobs (MCP) [4/17/11]
    Quote from AndarielWoWV »
    Is there a way to add multiple mobs to the same mod_name file? I was going to copy the same mob code in the file, but looking at sources of other mods(such as mo creatures) it didn't seem like the thing to do, so thought i'd ask here, also, great tutorial, works perfectly :biggrin.gif:

    To have multiple mobs run through the same mod_ file, simply replicate this code:
    ModLoader.RegisterEntityID(EntityPigman.class, "Pigman", ModLoader.getUniqueEntityId());
            spawnlist.add("Surface biomes", 1, new Object[] {
                EntityPigman.class
            });

    and this code
    public void AddRenderer(Map map)
        {
            map.put(EntityPigman.class, new RenderBiped(new ModelBiped(), 0.5F));
        }

    replacing the names as needed.
    ex:
    ModLoader.RegisterEntityID(EntityPigman.class, "Pigman", ModLoader.getUniqueEntityId());
            spawnlist.add("Surface biomes", 1, new Object[] {
                EntityPigman.class
            });
    ModLoader.RegisterEntityID(EntityPiggirl.class, "Piggirl", ModLoader.getUniqueEntityId());
            spawnlist.add("Surface biomes", 1, new Object[] {
                EntityPiggirl.class
            });
    public void AddRenderer(Map map)
        {
            map.put(EntityPigman.class, new RenderBiped(new ModelBiped(), 0.5F));
        }
            map.put(EntityPiggirl.class, new RenderBiped(new ModelBiped(), 0.5F));
        }
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Simple person mob (MCP) [30/1/11]
    Quote from Senku_Niola »
    Ok this is annoying the hell out of me, I've been trying to get a single mob to appear for a full week or two now. Today I noticed the spawnlist adding thing is different since I had no other way to know that till I was told. Still not working. I even used the tutorial files and modified them with a small test of extra code.

    EntityPigman.java
    package net.minecraft.src;
    
    public class EntityPigman extends EntityCreature
    {
    
    	public EntityPigman(World world)
    	{
    		super(world);
    		//This is the texture for your mob
    		texture = "/mob/mymob.png";
    	}
    
    	protected int getDropItemId()
    	{
    		//This is the item your mob will drop
    		return Item.porkCooked.shiftedIndex;
    	}
    }


    mod_Pigman.java
    package net.minecraft.src;
    
    import java.lang.reflect.Method;
    
    public class mod_Pigman extends BaseMod
    {
    	public mod_Pigman()
    	{
    	}
    
    	public String Version()
    	{
    		return "1.2_02";
    	}
    
    	public void AddEntityID()
    	{
    		//This defines your entity. Class name, entity name, and then the entity ID.
    		EntityList.addMapping(EntityPigman.class, "Pigman", ModLoader.getUniqueEntityId());
    		//This adds your mob to the spawn list.
    		ModLoader.RegisterEntityID(EntityPigman.class, "Pigman", ModLoader.getUniqueEntityId());
    		spawnlist.add("Surface biomes", 1, new Object[] {
    		EntityPigman.class
    		});
    	}
    }


    I purposely left both the old and new coding for the UniqueID thing cause I wasn't sure if anything was even working.

    No matter what I've tried I NEVER EVER see a new mob ANYWHERE.

    Any ideas?

    I'm kind of short on time so I can't read through your code but I rewrote this guide here: viewtopic.php?f=25&t=165582
    i fixed the things that were missing and wrote it step by step so you should find whats wrong there. Hope I helped.
    Posted in: Tutorials
  • 0

    posted a message on [REQ] Notch, Herobrine, Israphel Mobs
    Quote from turbeauke »
    Quote from miztakay »
    Quote from Chazarz »
    Well I think I have Notch's PNG skin.. but I'm not 110% sure :Notch:

    http://s3.amazonaws.com/MinecraftSkins/Notch.png

    And Herobrine's, I think.... :Sheep:

    http://s3.amazonaws.com/MinecraftSkins/Herobrine.png

    OH! Got Israphel's! I think... :Pig: :Pig: :Pig:

    http://s3.amazonaws.com/MinecraftSkins/Israphel.png

    Alright I'll touch up and post this mod tomorrow, I'm tired as hell lol. Those are the right png's.


    aw
    i wanted to do it :sad.gif:

    Lol you can have it, I'm working on a couple mods right now, I was just gonna give him basic mobs.
    Posted in: Mods Discussion
  • 0

    posted a message on [REQ] Notch, Herobrine, Israphel Mobs
    Quote from Chazarz »
    Well I think I have Notch's PNG skin.. but I'm not 110% sure :Notch:

    http://s3.amazonaws.com/MinecraftSkins/Notch.png

    And Herobrine's, I think.... :Sheep:

    http://s3.amazonaws.com/MinecraftSkins/Herobrine.png

    OH! Got Israphel's! I think... :Pig: :Pig: :Pig:

    http://s3.amazonaws.com/MinecraftSkins/Israphel.png

    Alright I'll touch up and post this mod tomorrow, I'm tired as hell lol. Those are the right png's.
    Posted in: Mods Discussion
  • 0

    posted a message on [Creating Mods] Human Mobs (MCP) [4/17/11]
    Quote from ZombieMannequin »
    It worked.
    And suddenly a barrage of pointless mobs descended upon my world.
    You're awesome. Again, thank you.
    I also posted a fix for that problem in the OP. Lol. Glad I helped. It took me like a week to get someone to help me.
    Posted in: Tutorials
  • 0

    posted a message on [REQ] Notch, Herobrine, Israphel Mobs
    Quote from Chazarz »
    Quote from miztakay »
    If you can post the skins I'll do it for you.


    Here's Herobrine's skin http://tinyurl.com/49oredd

    Here's Notch's skin (for the back, just think of the front kind of) http://tinyurl.com/4cnaatg

    Israphel is unknown, so i guess unknown... for now.

    No i need the actual skin .png's, not pictures of what they look like. find those and I will put this mod up, the coding is already done.
    Edit*:Didn't see the post above, you want more than one of each to spawn? Cause I made it so only one of each will spawn at any given time. Which would u prefer?
    Posted in: Mods Discussion
  • 0

    posted a message on [Creating Mods] Human Mobs (MCP) [4/17/11]
    Quote from ZombieMannequin »
    Any tips on how to add idle, death, and hurt sounds to the NPCs? I've got the sounds in the right format, I just don't know what code to implement.

    Yes and I will add it to the OP at some point. put this in EntityYourmob
    protected String getLivingSound()
        {
            return "mob.skeleton";
        }
    
        protected String getHurtSound()
        {
            return "mob.skeletonhurt";
        }
    
        protected String getDeathSound()
        {
            return "mob.skeletonhurt";
        }

    replace "mob" with the name of the folder your sounds are in, and after the period comes the name of the sound. if you have a couple different sounds for each thing, just name them the same with 2, 3, 4, etc. that should work. anyways the folder path should be .minecraft/resources/mod/sound/yourfolder.
    Posted in: Tutorials
  • 0

    posted a message on mod help
    Quote from Xxbiohazardxx »
    i have just one last question, which line can you edit your mobs health and setting of the brightness where it can spawn

    Under:
    public Entitygman(World world)
       {
          super(world);
          //This is the texture for your mob
          texture = "/mob/gman.png";
        }
    anywhere in that little group, add
    health = 100;
    change 100 to whatever you want I guess, 100 is pretty high.
    Also I need to edit what I said earlier, to make you mobs carry items add this code to mod_
    public void AddRenderer(Map map)
        {
    map.put(Entitygman.class, new RenderBiped(new ModelBiped(), 0.5F));
    }

    as for the brightness, add this to your code somewhere in Entitygman
    public boolean getCanSpawnHere()
        {
                 
            int i = MathHelper.floor_double(posX);
            int j = MathHelper.floor_double(boundingBox.minY);
            int k = MathHelper.floor_double(posZ);
            int l = worldObj.getBlockId(i, j - 1, k);
            return worldObj.checkIfAABBIsClear(boundingBox) && worldObj.getCollidingBoundingBoxes(this, boundingBox).size() == 0 && worldObj.getBlockLightValue(i, j, k) > 8 && !worldObj.getIsAnyLiquid(boundingBox) 
        }

    change the 8 to whatever, i've never played with that value so idk how to help you there.
    Posted in: Mods Discussion
  • 0

    posted a message on [REQ] Notch, Herobrine, Israphel Mobs
    If you can post the skins I'll do it for you.
    Posted in: Mods Discussion
  • 0

    posted a message on mod help
    *edit:glad I could help man.
    Posted in: Mods Discussion
  • To post a comment, please .