T3rr11's Avatar
Member
Level 33 Artisan Modder
14

Forum Posts

1 - 20 of 26

    1
    04/24/2014 12:08 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    Haha the Derpy Pink Helicowters!
    1
    04/23/2014 9:58 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    BeardieloverI laughed so hard when I watched the video


    Thanks for the feedback guys, if i was aloud i would just post the mod on its own but it would get taken down for being to "simple" so yeah it will be intergrated into one of my new mods
    1
    04/23/2014 9:20 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    You know i really really like that idea, do you mind if i do that in my mod?
    1
    04/23/2014 9:19 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    Am planing on it i now have to mobs:

    Derpy Pink Cow
    and a
    Pink Cow
    1
    04/23/2014 9:18 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    It was just a simple mob rotation that i changed around was a bug i did by accident it was an wasy fix
    1
    04/23/2014 9:17 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    deadrecon98Why did you change the rotation angles on the model? Just create a new entity using the original cow model but with a different texture...


    I know what i did wrong but thanks for helping, and yeah i just changed the par1 movements to par2 and they messed up, it was an easy fix so now i have 2 mobs.

    Derpy Pink Cow
    and a
    Pink Cow
    1
    01/25/2014 10:32 pm
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    My name is t3rr11
    1
    01/25/2014 10:26 pm
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    If its in the file folder the package says:

    package net.minecraft.src.armor;
    package net.minecraft.src.biome;
    package net.minecraft.src.block;
    package net.minecraft.src.dimension;
    package net.minecraft.src.entity;
    package net.minecraft.src.extentions;
    package net.minecraft.src.item;
    package net.minecraft.src.magic;
    package net.minecraft.src.tab;

    and imports

    import net.minecraft.src.armor.*;
    import net.minecraft.src.biome.*;
    import net.minecraft.src.block.*;
    import net.minecraft.src.dimension.*;
    import net.minecraft.src.entity.*;
    import net.minecraft.src.extentions.*;
    import net.minecraft.src.item.*;
    import net.minecraft.src.magic.*;
    import net.minecraft.src.tab.*;
    1
    01/25/2014 10:17 pm
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    Aww i know this one its on the tip of my tongue i think it might be ars magica, i think :/
    1
    01/25/2014 6:41 pm
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    Ok i need help again, its shooting the entity but the image is not showing up?
    1
    01/25/2014 7:11 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    I sent you PM :/
    1
    01/25/2014 6:59 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    Will do thanks
    1
    01/25/2014 6:56 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    You sir are my hero!, Thanks heaps, its working now! You are a legend!
    1
    01/25/2014 6:50 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    Almost there that worked but now it has this error:

    C:\mcp\src\minecraft\net\minecraft\src\kingNoodle.java:121:
    error: cannot find symbol
    public void addRenderer(Map var1)

    Symbol = class map
    1
    01/25/2014 6:44 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    Ok nope still same error :/

    Here is my code i have added the item now.

    Click to reveal
    public class kingNoodle extends BaseMod{

    public kingNoodle(){}

    public static Item block;

    public void load(){
    ModLoader.addName(block, "Tex Ball");
    ModLoader.addName(block, "King Noodle");new ChestGenHooks("dungeonChest").addItem(new WeightedRandomChestContent(new ItemStack(block), 1, 1, 10));
    ModLoader.registerEntityID(EntityTexBall.class, "Fireball", -2000);
    ModLoader.addEntityTracker(this, EntityTexBall.class, -2000, 80, 3, true);
    }
    public void addRenderer(Map var1)
    {
    var1.put(EntityTexBall.class, new RenderSnowball(kingNoodle.texBall));
    }

    public Entity spawnEntity(int var1, World var2, double var3, double var5, double var7)
    {
    switch (var1)
    {
    case -2000:
    return new EntityTexBall(var2);
    default:
    return null;
    }
    }

    public Packet23VehicleSpawn getSpawnPacket(Entity var1, int var2)
    {
    return var1 instanceof EntityTexBall ? new Packet23VehicleSpawn(var1, var2): null;
    }

    public String getVersion(){
    return "1.0";
    }

    static{
    block = (new ItemkingNoodle(194));
    block = (new texBall(195));
    }

    static class ItemkingNoodle extends Item{

    public ItemkingNoodle(int par1){
    super(par1);
    setMaxDamage(0);
    maxStackSize = 1;
    setUnlocalizedName("GoldenNoodle");
    setTextureName("GoldenNoodle");
    setCreativeTab(texTab.tab);
    }
    public boolean hasEffect(ItemStack par1ItemStack)
    {
    return true;
    }
    public int getItemEnchantability()
    {
    return 10;
    }
    public int getMaxItemUseDuration(ItemStack par1ItemStack)
    {
    return 0;
    }
    public float getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
    {
    return 1.0F;
    }
    public ItemStack onItemRightClick(ItemStack par1ItemStack, World world, EntityPlayer entity)
    {
    world.playSoundAtEntity(entity, "random.bow", 0.5F, 0.4F / (itemRand.nextFloat() * 0.4F + 0.8F));

    if (!world.isRemote)
    {
    world.spawnEntityInWorld(new EntityEnderPearl(world, entity));
    }

    return par1ItemStack;
    }
    public void addInformation(ItemStack itemStack, EntityPlayer entityPlayer, List list, boolean is)
    {
    list.add("Teleporting Wand");
    }
    }}
    1
    01/25/2014 6:37 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    nope sorry haha and ok thanks ill try it xD
    1
    01/25/2014 6:34 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    My import list is huge so i wont post that.. pretty much outlines everything.

    Click to reveal
    public class kingNoodle extends BaseMod{

    public kingNoodle(){}

    public static Item block;

    public void load(){
    ModLoader.addName(block, "King Noodle");new ChestGenHooks("dungeonChest").addItem(new WeightedRandomChestContent(new ItemStack(block), 1, 1, 10));
    ModLoader.registerEntityID(EntityTexBall.class, "Fireball", -2000);
    ModLoader.addEntityTracker(this, EntityTexBall.class, -2000, 80, 3, true);
    }
    public void addRenderer(Map var1)
    {
    var1.put(EntityTexBall.class, new RenderSnowball(Item.texBall));
    }

    public Entity spawnEntity(int var1, World var2, double var3, double var5, double var7)
    {
    switch (var1)
    {
    case -2000:
    return new EntityTexBall(var2);
    default:
    return null;
    }
    }

    public Packet23VehicleSpawn getSpawnPacket(Entity var1, int var2)
    {
    return var1 instanceof EntityTexBall ? new Packet23VehicleSpawn(var1, var2): null;
    }

    public String getVersion(){
    return "1.0";
    }

    static{
    block = (new ItemkingNoodle(194));
    }

    static class ItemkingNoodle extends Item{

    public ItemkingNoodle(int par1){
    super(par1);
    setMaxDamage(0);
    maxStackSize = 1;
    setUnlocalizedName("GoldenNoodle");
    setTextureName("GoldenNoodle");
    setCreativeTab(texTab.tab);
    }
    public boolean hasEffect(ItemStack par1ItemStack)
    {
    return true;
    }
    public int getItemEnchantability()
    {
    return 10;
    }
    public int getMaxItemUseDuration(ItemStack par1ItemStack)
    {
    return 0;
    }
    public float getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
    {
    return 1.0F;
    }
    public ItemStack onItemRightClick(ItemStack par1ItemStack, World world, EntityPlayer entity)
    {
    world.playSoundAtEntity(entity, "random.bow", 0.5F, 0.4F / (itemRand.nextFloat() * 0.4F + 0.8F));

    if (!world.isRemote)
    {
    world.spawnEntityInWorld(new EntityEnderPearl(world, entity));
    }

    return par1ItemStack;
    }
    public void addInformation(ItemStack itemStack, EntityPlayer entityPlayer, List list, boolean is)
    {
    list.add("Teleporting Wand");
    }

    }}
    1
    01/25/2014 6:30 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    getting this error:

    C:\mcp\src\minecraft\net\minecraft\src\kingNoodle.java:122:
    error: cannot find symbol
    var1.put(EntityTexBall.class, new RenderSnowball(Item.texBall));
    ------------------------------------------------------------------------------- ^

    also doing that error for (Map var1)
    1
    01/25/2014 6:20 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    This is how i learn, i code for ages until i just cannot work it out then i ask the forums, the forums is my last resort, anyway ill try that thanks, and i seen you use blazeloader
    1
    01/25/2014 6:13 am
    Level 33 : Artisan Modder
    T3rr11
    T3rr11's Avatar
    Here ill post my code i cannot figure it out this is for my item that throws the item.

    Click to reveal
    public class kingNoodle extends BaseMod{

    public kingNoodle(){}

    public static Item block;public void load(){
    ModLoader.addName(block, "King Noodle");new ChestGenHooks("dungeonChest").addItem(new WeightedRandomChestContent(new ItemStack(block), 1, 1, 10));}
    public String getVersion(){
    return "1.0";
    }

    static{
    block = (new ItemkingNoodle(194));
    }

    static class ItemkingNoodle extends Item{

    public ItemkingNoodle(int par1){
    super(par1);
    setMaxDamage(0);
    maxStackSize = 1;
    setUnlocalizedName("GoldenNoodle");
    setTextureName("GoldenNoodle");
    setCreativeTab(texTab.tab);
    }
    public boolean hasEffect(ItemStack par1ItemStack)
    {
    return true;
    }
    public int getItemEnchantability()
    {
    return 10;
    }
    public int getMaxItemUseDuration(ItemStack par1ItemStack)
    {
    return 0;
    }
    public float getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
    {
    return 1.0F;
    }
    public ItemStack onItemRightClick(ItemStack par1ItemStack, World world, EntityPlayer entity)
    {
    world.playSoundAtEntity(entity, "random.bow", 0.5F, 0.4F / (itemRand.nextFloat() * 0.4F + 0.8F));

    if (!world.isRemote)
    {
    world.spawnEntityInWorld(new EntityTexBall(world, entity));
    }

    return par1ItemStack;
    }
    public void addInformation(ItemStack itemStack, EntityPlayer entityPlayer, List list, boolean is)
    {
    list.add("Teleporting Wand");
    }
    }
    }

1 - 20 of 26

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome