• 0

    posted a message on Searching for a team
    Quote from DarkWolffe

    You, internet-person, are my knight in shining armor! I can do blocks and items no prob, but have trouble with mobs and entities. :biggrin.gif:

    So are you in?


    Yeah, I'll have a go.

    You know the Modloader function:

    Modloader.AddName(item, "Item Name");


    Well, this seems to give me errors :/ any ideas on that?

    EDIT: I assume we will be using modloader, ya?
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on Searching for a team
    I have interest in this team you are asking for. I can do some basic weapons, I can do throwable items, and some basic mobs. I can also do items, but I cannot seem to do blocks...
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on [Beta 1.6.6] Drones! [WIP]
    Bump.

    Can someone test this? It seems a lot of people are having problems.
    Posted in: Minecraft Mods
  • 0

    posted a message on MC Gamer[First Issue OUT!]
    Awesome.

    Could I help?
    Posted in: Fan Art
  • 0

    posted a message on Just need a little help with an item...
    Ok,

    I'm trying to make an item that spawns a mob (EntityDrone) when right-clicked. The code so far is:

    package net.minecraft.src;
    import java.util.Random;
    
    public class EntityDrone extends EntityMob
    {
    	public EntityDrone(World world)
    	{
    		super(world);
    		flight=0.0F;
    		flight2=0.0F;
    		flight3=0.0F;
    		health = 5;
    		texture = "/Drones/drone1.png";
    		moveSpeed = 0.7F;
    		attackStrength = 3;
    	}
    
    	protected float getBlockPathWeight(int i, int j, int k) 
        { 
            if(worldObj.getBlockId(i, j - 1, k) == Block.cobblestone.blockID) 
            { 
                return 10F; 
            }
            if(worldObj.getBlockId(i, j - 1, k) == Block.stone.blockID)
            { 
            	return 10F;
            }
            {
                return worldObj.getLightBrightness(i, j, k) - 0.5F; 
            } 
        }
    
    	public void onDeath(Entity entity){
    		super.onDeath(entity);
    		if(!worldObj.multiplayerWorld){
    		int r;
    			r=rand.nextInt(100);
    			if(r<100)dropItem(mod_Blasphemy.plate.shiftedIndex,1);        
    		}
    	}
    
    	protected void fall(float f){
    		int i = (int)Math.ceil(f - 3.00F);
    		if(i > 0){
    			attackEntityFrom(null, i);
    			int j = worldObj.getBlockId(MathHelper.floor_double(posX), MathHelper.floor_double(posY - 0.20000000298023224D - (double)yOffset), MathHelper.floor_double(posZ));
    			if(j > 0){
    				StepSound stepsound = Block.blocksList[j].stepSound;
    			}
    		}
    	}
    
    	public void onLivingUpdate(){
    		super.onLivingUpdate();
    		lastflight=flight;
    		lastflight2=flight2;
    		flight2 += (double)(onGround ? -1 : 4) * 0.29999999999999999D;
    		if(flight2 < 0.0F)flight2 = 0.0F;
    		if(flight2 > 1.0F)flight2 = 1.0F;
    		if(!onGround && flight3 < 1.0F)flight3 = 1.0F;
    		flight3 *= 0.90000000000000002D;
    		if(!onGround && motionY < 0.0D)motionY *= 0.59999999999999998D;
    	}
    	
    	public int getMaxSpawnedInChunk()
        {
    		return 10;
        }
    
      public boolean getCanSpawnHere()
        {
            return worldObj.checkIfAABBIsClear(boundingBox) && worldObj.getCollidingBoundingBoxes(this, boundingBox).size() == 0 && !worldObj.getIsAnyLiquid(boundingBox);
        }
    	
    	
    	protected void attackEntity(Entity entity, float f)
        {
            if(f < 10F)
            {
                double d = entity.posX - posX;
                double d1 = entity.posZ - posZ;
                if(attackTime == 0)
                {
       
                	BEntityDoneAmmo BEntityDoneAmmo = new BEntityDoneAmmo(worldObj, this); 
                	BEntityDoneAmmo.posY += 1.3999999761581421D;
                    double d2 = entity.posY - 0.20000000298023224D - BEntityDoneAmmo.posY;
                    float f1 = MathHelper.sqrt_double(d * d + d1 * d1) * 0.2F;
                    worldObj.playSoundAtEntity(this, "random.bow", 1.0F, 1.0F / (rand.nextFloat() * 0.4F + 0.8F));
                    worldObj.entityJoinedWorld(BEntityDoneAmmo);
                    BEntityDoneAmmo.setArrowHeading(d, d2 + (double)f1, d1, 0.6F, 12F);
                    attackTime = 30;
                }
                rotationYaw = (float)((Math.atan2(d1, d) * 180D) / 3.1415927410125732D) - 90F;
    
            }
        }
    	
    	
    	protected int timeUntilNextDrop;
    	protected int attackStrength;
    	public float flight;
    	public float flight2;
    	public float flight3;
    	public float lastflight;
    	public float lastflight2;
    	
    }


    Its not working, though.

    Any ideas?
    Posted in: Mods Discussion
  • 0

    posted a message on WorldPainter - graphical & interactive map creator/generator
    This is awesome.
    Posted in: Minecraft Tools
  • 0

    posted a message on [1.7.3] Hostile Cow Mob (UPDATIFIED!) 2.1 [MOB]
    Looks great, good work :biggrin.gif:

    But.... Create a new NPC

    Is that really your idea? Great work; and its better than the tutorial's, (And you changed a few things).

    Add horns, and take away the udders. Bulls don't produce milk :biggrin.gif:
    Posted in: Minecraft Mods
  • 0

    posted a message on [Beta 1.6.6] Drones! [WIP]
    Ok everyone; OP updated. I found out that this requires Turbo Modeller Thingy.

    Get that and MoadLoader; and you should be good.

    You guys are asking what NanoChips will be used for? Well, eventually you will craft drones and deploy them. Update will come when my computer can connect to the Internet. I'm on an iPad :biggrin.gif:
    Posted in: Minecraft Mods
  • 0

    posted a message on [Beta 1.6.6] Drones! [WIP]
    Quote from DanCraft

    Its not because I tried with modloader and it crashed.


    It is. I can prove it, one of the files is called mod_blasphemy. it is prefixed with mod_ ! That means it is made using ModLoader.

    Mabye you don't have the latest version of Modloader? try re-installing the latest version of Modloader. It should work.

    And @aussie_modder; you said you got a crash on startup? Would you mind posting it?
    Posted in: Minecraft Mods
  • 0

    posted a message on [Beta 1.6.6] Drones! [WIP]
    This uses Modloader; forgot to say. Main post updated.
    Posted in: Minecraft Mods
  • 0

    posted a message on [Beta 1.6.6] Drones! [WIP]
    I am working on screenshots right now. I can't do videos, sorry; but I can manage pics.

    EDIT: Got a pic up now.
    Posted in: Minecraft Mods
  • 0

    posted a message on [Beta 1.6.6] Drones! [WIP]
    DRONES!


    - by suctioncup

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    REQUIREMENTS:

    - Rigusami's Modloader
    - Minecraft Turbo Modeller Thingy

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    This mod currently adds 1 Drone to the game Minecraft. This Drone shoots electricity at you; and when killed; drops a "Nano-Chip". This currently has no use; but in future updates this will most certainly change.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Vers: 1.0_01

    Download: Download (Direct) Beta 1.6.6

    PICS:





    Better one coming soon.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Whats in the next update:

    - Nano-Chip use
    - Another Drone
    - Changes to the pathfinding of the original Drone


    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    IF YOU HAVE A CRASH, PLEASE POST IT IN THE code TAGS. IF YOU DO NOT HAVE THE TAGS YOU WILL BE EXPRESSLY IGNORED.

    Anyway...
    
    ---------------------------
    
    How to install:
    
     - In "run" type in "%appdata%".
     - Navigate to >.minecraft > bin
     - Open up "minecraft" with winRAR, 7zip or something similair
     - Drag everything (Including folders) from the folder "minecraft" into it.
     - Play.


    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    BUGS:

    - Requires "Turbo Modeller Thingy". Being fixed.
    - Sometimes you may come across somehing called "DroneAmmo". This is what the Drone shoots. Be happy. Chuck it at a pig. (Remember; it dissappears on contact with the ground)

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~

    I need ideas, guys. Please comment on any ideas you have in mind.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Your friendly Modder, (Well, as friendly as a guy can be that makes things that try to electrocute you)!

    suctioncup.
    Posted in: Minecraft Mods
  • 0

    posted a message on How to assign a name to a block?
    This:

    ModLoader.AddName(Barrel, "Barrel");


    Hope this helps :biggrin.gif:
    Posted in: Tutorials
  • 0

    posted a message on [1.5_01] Begginers Mob Making Tutorial 2 The Modloader Way!
    This is my mod_Suctioncup code:

    package net.minecraft.src;
    
    import java.util.Map;
    
    import java.util.Random;
    
    public class mod_Blasphemy extends BaseMod
    {
    	
    public mod_Suctioncup()
    {
    	
    	ModLoader.RegisterEntityID(EntityDrone.class, "Drone", ModLoader.getUniqueEntityId());
    	ModLoader.AddSpawn(EntityDrone.class, 3, EnumCreatureType.creature);
    	
    	public void AddRenderer(Map map)
    	{
    	    map.put(EntityDrone.class, new RenderDrone(new ModelDrone(), 0.5F));
    	}
    
    			
    }
    public void AddRenderer(Map map)
    {
       
    
    }
    public String Version()
       {
       return "1.6.6";
       }
    
    }


    I get errors on "AddRenderer" and the ")" at the end of the same line.


    Error Report:

    Mods loaded: 1
    ModLoader Beta 1.6.6
    
          Minecraft has crashed!      
          ----------------------      
    
    Minecraft has stopped running because it encountered a problem.
    
    If you wish to report this, please copy this entire text and email it to [email protected]
    Please include a description of what you did when the error occured.
    
    
    
    --- BEGIN ERROR REPORT 72687359 --------
    Generated 5/06/11 1:44 PM
    
    Minecraft: Minecraft Beta 1.6.6
    OS: Windows 7 (x86) version 6.1
    Java: 1.6.0_25, Sun Microsystems Inc.
    VM: Java HotSpot(TM) Client VM (mixed mode, sharing), Sun Microsystems Inc.
    LWJGL: 2.4.2
    OpenGL: GeForce 9500 GT/PCI/SSE2 version 3.2.0, NVIDIA Corporation
    
    java.lang.Error: Unresolved compilation problems: 
    	void is an invalid type for the variable AddRenderer
    	Syntax error on token "(", ; expected
    	Syntax error on token ")", ; expected
    
    	at net.minecraft.src.mod_Blasphemy.<init>(mod_Blasphemy.java:16)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    	at java.lang.reflect.Constructor.newInstance(Unknown Source)
    	at java.lang.Class.newInstance0(Unknown Source)
    	at java.lang.Class.newInstance(Unknown Source)
    	at net.minecraft.src.ModLoader.addMod(ModLoader.java:215)
    	at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1179)
    	at net.minecraft.src.ModLoader.init(ModLoader.java:785)
    	at net.minecraft.src.ModLoader.AddAllRenderers(ModLoader.java:112)
    	at net.minecraft.src.RenderManager.<init>(RenderManager.java:65)
    	at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:158)
    	at net.minecraft.client.Minecraft.startGame(Minecraft.java:138)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:435)
    	at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT 6641f4cc ----------


    Please help!

    - Suctioncup
    Posted in: Tutorials
  • 0

    posted a message on JRE trouble.



    I get this.

    I can run, recompile MCP and Eclipse, so I have a PATH set.

    My PATH:

    C:\Program Files (x86)\Java\jdk1.6.0_24\bin;C:\Program Files\Java\jre6\bin;


    The above is my updated version. Still doesn't want to work. My old version:

    C:\Program Files (x86)\Java\jre6\bin;C:\Program Files (x86)\Java\jdk1.6.0_24\binC:\Program Files\Java\jre6\bin;C:\Program Files (x86)\Java\jre6\bin


    Help?
    Posted in: Mods Discussion
  • To post a comment, please or register a new account.