• 0

    posted a message on The Best Minecraft Servers get Hosting from DemonVPS.com [DDoS Mitigation] [20% Off!] [from $1.99] [Instant Setup] [SSDs]
    Is there some sort of automatic installation for modded servers such as say a pixelmon server? (Couldn't do it manually a while back as the pixelmon file was too large while uploading.)
    Posted in: Minecraft Server Hosting
  • 0

    posted a message on LOF Network ⇛ Factions Wars/PvP/Raid/Grief ⇚ ⇛ Invasion PVP Custom Minigame ⇚ ⇛ Skywars ⇚ ⇛ ULTIMATE PVP NETWORK ⇚
    Alright, so before I didn't post a legitimate review. I only posted the rating. So enjoy this actual review:
    I love this server. Its very fun, staff isnt abusive at all, even if I said otherwise while raging. The server has many different custom plugins. First, you have the lobby. The lobby has a "Nail" server, which is one of the best gamemodes out there, especially since it is now FULLY AUTOMATED. Second is the health-showing plugin, where you can see other peoples health when they get hit. It's a cool feature that REALLY helps pvp.
    There are also guns on this server which is freaking AWESOME. I love that there are so many kits you can buy. One last thing; this server has a really nice community, and there is always a huge war going on between some epic factions. This month: FlameCon vs Anonymous. Anyway...
    9.7/10. No server can be PERFECT, but this one got VERY close.
    Posted in: PC Servers
  • 0

    posted a message on LOF Network ⇛ Factions Wars/PvP/Raid/Grief ⇚ ⇛ Invasion PVP Custom Minigame ⇚ ⇛ Skywars ⇚ ⇛ ULTIMATE PVP NETWORK ⇚
    It really is one of (if not) the best faction servers out there.
    Rating: 9.5/10. There are some problems, but its REALLY awesome. I hope you can join, if you haven't already.
    Posted in: PC Servers
  • 2

    posted a message on [1.4.7] Jbond98's Beginner/Advanced ModLoader Minecraft Modding Tutorials! -Everything Updated to 1.4.7! [Updated 1/23/2013]
    wow... Just because of this, im going back to modding. I mean this whole tutorial is amazingly done. All you need is the tree/sapling tutorial, and a biome tutorial, and dimension tutorial. And i am going to help you get there by pressing that green arrow! -click-

    I am really looking up to that dimension tutorial too, cause if it would work, i could finally make that mod that i was thinking about!
    Posted in: Tutorials
  • 0

    posted a message on Custom Block that randomly spawns custom mobs
    Ive been searching for about 3 hours now. If someone responds to this and says "google it", i will be mad.
    Anyway, i couldnt find it, and im too lazy to look for any special functions, so uhh... hopefully someone will see this thread and say how to do this.
    Posted in: Modification Development
  • 0

    posted a message on TechGuy's Modding Tutorials
    Quote from conaneve1

    Alright so I followed the tutorial for a custom mob. I made a slime with everything copied from slimes (render and model are both normal), exept I made it so it could only spawn in the jungle. (ocelots "GetCanSpawnHere") The model didnt work or it may have been the render because this snippet of code... " map.put(EntityJungleSlime.class, new RenderJungleSlime(new ModelJungleSlime(), 0.5F));" didnt work, as it says in eclipse... "ModelJungleSlime() is undefined" and when I "quick fix" it set a null. And you know what those do.

    tested a bit more, and well, still didnt work. infact I messed it up even worse. So I guess for now ill be working on other stuff.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    Alright so I followed the tutorial for a custom mob. I made a slime with everything copied from slimes (render and model are both normal), exept I made it so it could only spawn in the jungle. (ocelots "GetCanSpawnHere") The model didnt work or it may have been the render because this snippet of code... " map.put(EntityJungleSlime.class, new RenderJungleSlime(new ModelJungleSlime(), 0.5F));" didnt work, as it says in eclipse... "ModelJungleSlime() is undefined" and when I "quick fix" it set a null. And you know what those do.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on Custom Slimes.
    Anyone who says "copy the slime files".
    Doesnt work. I tried it.
    Posted in: Modification Development
  • 0

    posted a message on Custom Slimes.
    Unfortunately I am stuck at work so I dont have the java code with me right now, but, I really need help. So I started to make a mod. The mod included slimes. I got the ocelots spawn code, made a custom slime, exept I noticed that the normal "model(whatever)" and "render(whatever)" didnt work. It said I had to add something else, and so, I quick fixed it, and it said null. I couldnt find the source of what it was, but I shrugged and said whatever. So I then got the ocelots coding, and replaced the custom slimes spawn code with the ocelots spawn code. That made jungle effects such as little slime bits and noises of slimes, but the model didnt appear ingame. I need help, what does the null mean? Also in about 45 minutes or so, I will be home and can post the code...

    -edit-
    code for Mod_GenTest (I was experimenting earlier.)

    package net.minecraft.src;
    
    import java.util.Map;
    import java.util.Random;
    
    public class mod_GenTest extends BaseMod
    {
    
            public void load()
            {
             ModLoader.registerEntityID(EntityJungleSlime.class, "In-gameEntityName", ModLoader.getUniqueEntityId());
             ModLoader.addSpawn(EntityJungleSlime.class, 15, 5, 7, EnumCreatureType.creature);
            }
            public void addRenderer(Map map)
            {
             map.put(EntityJungleSlime.class, new RenderJungleSlime(new ModelJungleSlime(0), null, 0));
            }
            public String getVersion()
            {
                    return "1.1";
            }
    }


    I know that this is probably the problem. It forces me to put a few things in
    "map.put(EntityJungleSlime.class, new RenderJungleSlime(new ModelJungleSlime(), 0.5F));"

    so I quick fix. and this is what it becomes :

    "map.put(EntityJungleSlime.class, new RenderJungleSlime(new ModelJungleSlime(0), null, 0));"

    model


    package net.minecraft.src;
    
    public class ModelJungleSlime extends ModelBase
    {
        /** The slime's bodies, both the inside box and the outside box */
        ModelRenderer slimeBodies;
    
        /** The slime's right eye */
        ModelRenderer slimeRightEye;
    
        /** The slime's left eye */
        ModelRenderer slimeLeftEye;
    
        /** The slime's mouth */
        ModelRenderer slimeMouth;
    
        public ModelJungleSlime(int par1)
        {
            slimeBodies = new ModelRenderer(this, 0, par1);
            slimeBodies.addBox(-4F, 16F, -4F, 8, 8, 8);
    
            if (par1 > 0)
            {
                slimeBodies = new ModelRenderer(this, 0, par1);
                slimeBodies.addBox(-3F, 17F, -3F, 6, 6, 6);
                slimeRightEye = new ModelRenderer(this, 32, 0);
                slimeRightEye.addBox(-3.25F, 18F, -3.5F, 2, 2, 2);
                slimeLeftEye = new ModelRenderer(this, 32, 4);
                slimeLeftEye.addBox(1.25F, 18F, -3.5F, 2, 2, 2);
                slimeMouth = new ModelRenderer(this, 32, 8);
                slimeMouth.addBox(0.0F, 21F, -3.5F, 1, 1, 1);
            }
        }
    
        /**
         * Sets the models various rotation angles.
         */
        public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
        {
        }
    
        /**
         * Sets the models various rotation angles then renders the model.
         */
        public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7)
        {
            setRotationAngles(par2, par3, par4, par5, par6, par7);
            slimeBodies.render(par7);
    
            if (slimeRightEye != null)
            {
                slimeRightEye.render(par7);
                slimeLeftEye.render(par7);
                slimeMouth.render(par7);
            }
        }
    }

    render

    package net.minecraft.src;
    
    import org.lwjgl.opengl.GL11;
    
    public class RenderJungleSlime extends RenderLiving
    {
        private ModelBase scaleAmount;
    
        public RenderJungleSlime(ModelBase par1ModelBase, ModelBase par2ModelBase, float par3)
        {
            super(par1ModelBase, par3);
            scaleAmount = par2ModelBase;
        }
    
        protected int func_40287_a(EntitySlime par1EntitySlime, int par2, float par3)
        {
            if (par2 == 0)
            {
                setRenderPassModel(scaleAmount);
                GL11.glEnable(GL11.GL_NORMALIZE);
                GL11.glEnable(GL11.GL_BLEND);
                GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
                return 1;
            }
    
            if (par2 == 1)
            {
                GL11.glDisable(GL11.GL_BLEND);
                GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
            }
    
            return -1;
        }
    
        /**
         * sets the scale for the slime based on getSlimeSize in EntitySlime
         */
        protected void scaleSlime(EntitySlime par1EntitySlime, float par2)
        {
            int i = par1EntitySlime.getSlimeSize();
            float f = (par1EntitySlime.field_767_b + (par1EntitySlime.field_768_a - par1EntitySlime.field_767_B) * par2) / ((float)i * 0.5F + 1.0F);
            float f1 = 1.0F / (f + 1.0F);
            float f2 = i;
            GL11.glScalef(f1 * f2, (1.0F / f1) * f2, f1 * f2);
        }
    
        /**
         * Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args:
         * entityLiving, partialTickTime
         */
        protected void preRenderCallback(EntityLiving par1EntityLiving, float par2)
        {
            scaleSlime((EntitySlime)par1EntityLiving, par2);
        }
    
        /**
         * Queries whether should render the specified pass or not.
         */
        protected int shouldRenderPass(EntityLiving par1EntityLiving, int par2, float par3)
        {
            return func_40287_a((EntitySlime)par1EntityLiving, par2, par3);
        }
    }

    entity

    package net.minecraft.src;
    
    import java.util.Random;
    
    public class EntityJungleSlime extends EntityLiving implements IMob
    {
        public float field_40139_a;
        public float field_768_a;
        public float field_767_b;
    
        /** the time between each jump of the slime */
        private int slimeJumpDelay;
    
        public EntityJungleSlime(World par1World)
        {
            super(par1World);
            slimeJumpDelay = 0;
            texture = "/mob/slime.png";
            int i = 1 << rand.nextInt(3);
            yOffset = 0.0F;
            slimeJumpDelay = rand.nextInt(20) + 10;
            setSlimeSize(i);
            experienceValue = i;
        }
    
        protected void entityInit()
        {
            super.entityInit();
            dataWatcher.addObject(16, new Byte((byte)1));
        }
    
        public void setSlimeSize(int par1)
        {
            dataWatcher.updateObject(16, new Byte((byte)par1));
            setSize(0.6F * (float)par1, 0.6F * (float)par1);
            setPosition(posX, posY, posZ);
            setEntityHealth(getMaxHealth());
        }
    
        public int getMaxHealth()
        {
            int i = getSlimeSize();
            return i * i;
        }
    
        /**
         * Returns the size of the slime.
         */
        public int getSlimeSize()
        {
            return dataWatcher.getWatchableObjectByte(16);
        }
    
        /**
         * (abstract) Protected helper method to write subclass entity data to NBT.
         */
        public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
        {
            super.writeEntityToNBT(par1NBTTagCompound);
            par1NBTTagCompound.setInteger("Size", getSlimeSize() - 1);
        }
    
        /**
         * (abstract) Protected helper method to read subclass entity data from NBT.
         */
        public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
        {
            super.readEntityFromNBT(par1NBTTagCompound);
            setSlimeSize(par1NBTTagCompound.getInteger("Size") + 1);
        }
    
        /**
         * Returns the name of a particle effect that may be randomly created by EntitySlime.onUpdate()
         */
        protected String getSlimeParticle()
        {
            return "slime";
        }
    
        protected String func_40138_aj()
        {
            return "mob.slime";
        }
    
        /**
         * Called to update the entity's position/logic.
         */
        public void onUpdate()
        {
            if (!worldObj.isRemote && worldObj.difficultySetting == 0 && getSlimeSize() > 0)
            {
                isDead = true;
            }
    
            field_768_a = field_768_a + (field_40139_a - field_768_a) * 0.5F;
            field_767_b = field_768_a;
            boolean flag = onGround;
            super.onUpdate();
    
            if (onGround && !flag)
            {
                int i = getSlimeSize();
    
                for (int j = 0; j < i * 8; j++)
                {
                    float f = rand.nextFloat() * (float)Math.PI * 2.0F;
                    float f1 = rand.nextFloat() * 0.5F + 0.5F;
                    float f2 = MathHelper.sin(f) * (float)i * 0.5F * f1;
                    float f3 = MathHelper.cos(f) * (float)i * 0.5F * f1;
                    worldObj.spawnParticle(getSlimeParticle(), posX + (double)f2, boundingBox.minY, posZ + (double)f3, 0.0D, 0.0D, 0.0D);
                }
    
                if (func_40134_ak())
                {
                    worldObj.playSoundAtEntity(this, func_40138_aj(), getSoundVolume(), ((rand.nextFloat() - rand.nextFloat()) * 0.2F + 1.0F) / 0.8F);
                }
    
                field_40139_a = -0.5F;
            }
    
            func_40136_ag();
        }
    
        protected void updateEntityActionState()
        {
            despawnEntity();
            EntityPlayer entityplayer = worldObj.getClosestVulnerablePlayerToEntity(this, 16D);
    
            if (entityplayer != null)
            {
                faceEntity(entityplayer, 10F, 20F);
            }
    
            if (onGround && slimeJumpDelay-- <= 0)
            {
                slimeJumpDelay = func_40131_af();
    
                if (entityplayer != null)
                {
                    slimeJumpDelay /= 3;
                }
    
                isJumping = true;
    
                if (func_40133_ao())
                {
                    worldObj.playSoundAtEntity(this, func_40138_aj(), getSoundVolume(), ((rand.nextFloat() - rand.nextFloat()) * 0.2F + 1.0F) * 0.8F);
                }
    
                field_40139_a = 1.0F;
                moveStrafing = 1.0F - rand.nextFloat() * 2.0F;
                moveForward = 1 * getSlimeSize();
            }
            else
            {
                isJumping = false;
    
                if (onGround)
                {
                    moveStrafing = moveForward = 0.0F;
                }
            }
        }
    
        protected void func_40136_ag()
        {
            field_40139_a = field_40139_a * 0.6F;
        }
    
        protected int func_40131_af()
        {
            return rand.nextInt(20) + 10;
        }
    
        protected EntityJungleSlime createInstance()
        {
            return new EntityJungleSlime(worldObj);
        }
    
        /**
         * Will get destroyed next tick
         */
        public void setEntityDead()
        {
            int i = getSlimeSize();
    
            if (!worldObj.isRemote && i > 1 && getEntityHealth() <= 0)
            {
                int j = 2 + rand.nextInt(3);
    
                for (int k = 0; k < j; k++)
                {
                    float f = (((float)(k % 2) - 0.5F) * (float)i) / 4F;
                    float f1 = (((float)(k / 2) - 0.5F) * (float)i) / 4F;
                    EntityJungleSlime entityslime = createInstance();
                    entityslime.setSlimeSize(i / 2);
                    entityslime.setLocationAndAngles(posX + (double)f, posY + 0.5D, posZ + (double)f1, rand.nextFloat() * 360F, 0.0F);
                    worldObj.spawnEntityInWorld(entityslime);
                }
            }
    
            super.setEntityDead();
        }
    
        /**
         * Called by a player entity when they collide with an entity
         */
        public void onCollideWithPlayer(EntityPlayer par1EntityPlayer)
        {
            if (func_40137_ah())
            {
                int i = getSlimeSize();
    
                if (canEntityBeSeen(par1EntityPlayer) && (double)getDistanceToEntity(par1EntityPlayer) < 0.6D * (double)i && par1EntityPlayer.attackEntityFrom(DamageSource.causeMobDamage(this), func_40130_ai()))
                {
                    worldObj.playSoundAtEntity(this, "mob.slimeattack", 1.0F, (rand.nextFloat() - rand.nextFloat()) * 0.2F + 1.0F);
                }
            }
        }
    
        protected boolean func_40137_ah()
        {
            return getSlimeSize() > 1;
        }
    
        protected int func_40130_ai()
        {
            return getSlimeSize();
        }
    
        /**
         * Returns the sound this mob makes when it is hurt.
         */
        protected String getHurtSound()
        {
            return "mob.slime";
        }
    
        /**
         * Returns the sound this mob makes on death.
         */
        protected String getDeathSound()
        {
            return "mob.slime";
        }
    
        /**
         * Returns the item ID for the item the mob drops on death.
         */
        protected int getDropItemId()
        {
            if (getSlimeSize() == 1)
            {
                return Item.slimeBall.shiftedIndex;
            }
            else
            {
                return 0;
            }
        }
    
        /**
         * Checks if the entity's current position is a valid location to spawn this entity.
         */
        public boolean getCanSpawnHere()
        {
            if (worldObj.rand.nextInt(3) == 0)
            {
                return false;
            }
    
            if (worldObj.checkIfAABBIsClear(boundingBox) && worldObj.getCollidingBoundingBoxes(this, boundingBox).size() == 0 && !worldObj.isAnyLiquid(boundingBox))
            {
                int i = MathHelper.floor_double(posX);
                int j = MathHelper.floor_double(boundingBox.minY);
                int k = MathHelper.floor_double(posZ);
    
                if (j < 63)
                {
                    return false;
                }
    
                int l = worldObj.getBlockId(i, j - 1, k);
    
                if (l == Block.grass.blockID || l == Block.leaves.blockID)
                {
                    return true;
                }
            }
    
            return false;
        }
        /**
         * Returns the volume for the sounds this mob makes.
         */
        protected float getSoundVolume()
        {
            return 0.4F * (float)getSlimeSize();
        }
    
        /**
         * The speed it takes to move the entityliving's rotationPitch through the faceEntity method. This is only currently
         * use in wolves.
         */
        public int getVerticalFaceSpeed()
        {
            return 0;
        }
    
        protected boolean func_40133_ao()
        {
            return getSlimeSize() > 1;
        }
    
        protected boolean func_40134_ak()
        {
            return getSlimeSize() > 2;
        }
    }

    Posted in: Modification Development
  • 0

    posted a message on ★ ☆ PASS IT ON - FLOATING ISLANDS ☆ ★
    Quote from Shooshy162

    How do I use a .rar file?

    Get 7-zip/winrar, extract the file, put the folder in saves, there you go.
    Posted in: Maps
  • 0

    posted a message on My dogs won't stand up!
    Quote from CortheMurph

    im not stupid i tried that


    DAMMMIT!!! does that mean i can't get them back?


    Yes, very very sorry for your loss... ive gone through the same thing...
    POOR WOLFIE T_T
    (1.4, FIRST TAMED WOLF I EVER HAD, AND IT GLITCHED ON ME. I raged. Hard.)
    Posted in: Survival Mode
  • 0

    posted a message on Out of sprites, and I know forgeAPI exists.
    Quote from TheJmax04

    Check Minecraft Extended, but only if you have a decent computer.

    back to modding. Took a decent break and now I remember this thread
    ForgeAPI is annoying to use since anybody I find to help me set it up for 1.1 makes metadata items AND custom images. I only want one. And before you say "Just use the code for custom sprites!"... it doesnt work like that. The way they set it up was like this : "item1 in the metadata item would be this image (some image file here) and item2 would be (image file here) and item3 would be this : (once again)" and if I were to set it up so it was just ONE item it would give me quite a few errors

    Minecraft Extended... You know the problem. 1.7.3 FTL.

    I dont know if I can make my mod any further and if I must I will use forge API but it means that any code I did before is GONE. GONE. FOREVER. Because I have to recode it for ForgeAPI.
    Posted in: Modification Development
  • 0

    posted a message on Is there a way to make an on death 4 hour ban?
    As the topic title asks, If you can make an on-death timed ban, how do you do so? Is there any mods that do this?
    Posted in: Server Support and Administration
  • 0

    posted a message on About creating wolves...
    Seriously? Is there no fix? I have been googling a bit and I could not find answers. Now, I didnt google for too long.


    EDIT :
    DEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEERP possibly.
    I think that only glitches in MCP's "startclient" because I had a pet "Poodle" and it didnt glitch!
    Can I get complete confirmation? Because I may just be an idiot.
    Posted in: Modification Development
  • 0

    posted a message on TechGuy's Modding Tutorials
    SUGGESTION : World generations.
    Yes, I know this would be tough. But I also want to know how to generate things like flowers, I know someone asked for ores, and you still need to make the flower, but I wanted to know how to generate CUSTOM flowers.


    hey I fixed my block creeper mod and it compiled right but I got a picture error in my mcp


    [17:03:30] java.lang.RuntimeException: java.lang.Exception: Image not found: Creeper.png
    [17:03:30] at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1356)
    [17:03:30] at net.minecraft.src.ModLoader.OnTick(ModLoader.java:1069)
    [17:03:30] at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:18)
    [17:03:30] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:737)
    [17:03:30] at net.minecraft.client.Minecraft.run(Minecraft.java:634)
    [17:03:30] at java.lang.Thread.run(Thread.java:680)
    [17:03:30] Caused by: java.lang.Exception: Image not found: Creeper.png
    [17:03:30] at net.minecraft.src.ModLoader.loadImage(ModLoader.java:1007)
    [17:03:30] at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1348)

    I really want this to work...


    ... you realise you need to put the file in wherever you assigned it to right?
    Say I assign all my mod textures to "mods/(imagehere)", I made a file called mods inside my minecraft.jar and then put the image in there. There you go.
    Posted in: Mapping and Modding Tutorials
  • To post a comment, please .