• 0

    posted a message on How can I assign commands to an item? Or is there another way to make a item that teleports me to spawn?
    Quote from Vic_
    Ehrm... May I ask why you kill the player to teleport him to spawn? I bet there is a spawn location somewhere inside World and you can use player.teleportTo(...) for teleportation. Unfortunately, I can't look at my code to validate but its defenetly not a good style to kill someone to let him teleport to spawn ;)

    It was the easiest way I could think of. I really need an item to teleport me home to finish my mod
    Posted in: Modification Development
  • 0

    posted a message on How can I assign commands to an item? Or is there another way to make a item that teleports me to spawn?
    I want to assign three commands to go into effect when an item is used, and also destroy that item. Anyone know how to do this?
    The commands I want to add are

    /gamerule keepInventory true
    /kill
    /gamerule keepInventory false

    so that the player is teleported to their spawn point without losing anything
    Posted in: Modification Development
  • 0

    posted a message on [WIP] [1.3.1] Sword Craft Online (The Originial SAO Mod)
    So this mod is officially dead? I'm making an SAO mod of my own but don't want to post anything that copies anything off of someone else's mod.
    Posted in: WIP Mods
  • 1

    posted a message on Mob textures not loading
    This is my full Render Class:



    package achilleus.sao.mobs.render;

    import achilleus.sao.MainClass;
    import achilleus.sao.mobs.FrenzyBoar;
    import achilleus.sao.mobs.entity.EntityFrenzyBoar;
    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;

    public class RenderFrenzyBoar extends RenderLiving {
    private static final ResourceLocation EntityTexture = new ResourceLocation("sao:textures/entity/boar/boar.png");
    protected FrenzyBoar model;
    public RenderFrenzyBoar(ModelBase par1ModelBase, float par2) {
    super(par1ModelBase, par2);
    model = ((FrenzyBoar)mainModel);
    }


    public void renderFrenzyBoar(EntityFrenzyBoar entity, double par2, double par4, double par6, float par8, float par9) {
    super.doRender(entity, par2, par4, par6, par8, par9);
    }

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

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


    @Override
    protected ResourceLocation getEntityTexture(Entity entity) {

    return EntityTexture;
    }

    }

    Posted in: Modification Development
  • 0

    posted a message on Mob textures not loading
    Quote from Darkhax

    Your issue here is the path to the resource location. Minecraft does not detect the src/main/rescources/assets part. This should be changed to new ResourceLocation("modid", "textures/entities/boar/boar.png"); the file would then be src/main/resources/assets/modid/textures/entities/boar/boar.png If this does not work remove "/textures" from the start of the resource location. The correct path for the texture is also noted in the console.


    Quote from Xuluf
    Change
    ResourceLocation("/src/main/resources/assets/textures/entity/boar/boar.png");
    to
    ResourceLocation("yourmodid","textures/entity/boar/boar.png");
    or
    ResourceLocation("yourmodid:textures/entity/boar/boar.png");

    None of that had any effect whatsoever. Also, my mobs leg animation doesn't work quite right. The legs swing out past the body. Could that be effecting it?
    Posted in: Modification Development
  • 0

    posted a message on Mob textures not loading
    I have created a custom mob that functions in minecraft using forge/eclipse, but there is no texture. It's stats are all correct, and its body shape, but it has the purple black no texture overlay. When I run minecraft I get this error: "java.io.FileNotFoundException: minecraft:/src/main/resources/assets/textures/entity/boar/boar.png"

    And this is the line of code I used to call the texture:

    "private static final ResourceLocation EntityTexture = new ResourceLocation("/src/main/resources/assets/textures/entity/boar/boar.png");"

    Does anyone know how to fix this? I have searched google and multiple forums for over 18 hours over the past two days regarding this issue and have come up with nothing. The texture and model class were made using Techne.
    Posted in: Modification Development
  • 0

    posted a message on [1.7.2] [FORGE] God's Equipment Mod (GEM)
    Quote from TigersBudder

    This would make diamonds a lot more useful but it sounds pretty overpowered considering that you can get a average of 20 diamonds in a average sized strip mine .

    So do you think I should make the recipes require more diamonds?
    Posted in: WIP Mods
  • 0

    posted a message on [1.7.2] [FORGE] God's Equipment Mod (GEM)
    God's Equipment Mod (GEM)
    This is my first mod. Any help, suggestions, or comments are greatly appreciated.
    This mod provides more things to create with diamonds. It adds "God's Equipment." Currently there is the full set of tools (Pickaxe, Axe, Shovel, Hoe), the Sword, the full set of armor, and two new blocks (Compact Diamond and Window of the World).
    Blocks
    Compact Diamond
    Four Diamond Blocks. Used to make items in this mod.
    Window of the World
    Four Compact Diamonds. Allows you to see underground structures and caves
    God's Tools
    God's Armor
    The tools all destroy their respective blocks quicker than it would in creative, and the Sword has over 100 attack power. The armor makes you nearly invincible. All durability is extremely high. Any suggestions for changes or additions are greatly appreciated.


    Here are the links. Please use adfly.
    adfly: http://adf.ly/pyzS2
    MediaFire: https://www.mediafire.com/?5ahrwq0su6xx0h5


    Installation:
    Just place the .jar file in the mods folder in your .minecraft directory
    Posted in: WIP Mods
  • 0

    posted a message on [Forge 1.7.10] Bleach Mod [SSP/LAN/SMP] Hollow Test Update Available!
    Does not working on servers mean it doesn't work on LAN?
    Posted in: WIP Mods
  • 0

    posted a message on How to play LAN on the new launcher with one account?
    I have one account on Minecraft and want to play LAN with my little brother. When I join game it says name already taken. On the old launcher I would just enter his name as the username and play offline and it would work. Now it doesn't. How do I fix this?
    Posted in: Server Support and Administration
  • 0

    posted a message on Single Player Commands [V4.9] - Official Download [SPC] [+NoClip]
    Can someone please tell me how to use this over LAN?
    Posted in: Minecraft Mods
  • 0

    posted a message on Single Player Commands [V4.9] - Official Download [SPC] [+NoClip]
    Quote from grimfrog11

    . Just open to LAN me and my sister do that and only I have it


    What version of SPC and Minecraft do you have?
    Posted in: Minecraft Mods
  • 0

    posted a message on Single Player Commands [V4.9] - Official Download [SPC] [+NoClip]
    Quote from painter73

    Well then try and enable cheats then create world. Or maybe creative world plus cheats enabled and see what happens :)
    Tried and failed.
    Posted in: Minecraft Mods
  • 0

    posted a message on Single Player Commands [V4.9] - Official Download [SPC] [+NoClip]
    Quote from painter73

    Read the title of the mod very slowly and maybe a couple of times if you need to. Maybe you can find the very important key words in the title to answer your own question :)
    I know it says single player commands, but all over the internet it says this command works easily for LAN. I just can't figure out how.
    Posted in: Minecraft Mods
  • To post a comment, please .