• 0

    posted a message on Entity Part Rotating with other Part

    Hey guys!


    im doing a mod here and im doing good on blocks and items, but i cant make Mobs with parts that spin/rotate with other parts;


    Im doing a Imp/small devil model, i cant make its Horns to spin with the Head, it keeps spinning along with the Body, no matter what i do lol, im kinda new on coding, so i wonder if someone can help me here.... here is the little devil:



    // Date: 28/10/2017 21:48:09
    // Template version 1.1
    // Java generated by Techne
    // Keep in mind that you still need to fill in some blanks
    // - ZeuX




    package net.minecraft.src;

    public class ModelChucky extends ModelBase
    {
    //fields
    ModelRenderer head;
    ModelRenderer righthorn;
    ModelRenderer lefthorn;
    ModelRenderer body;
    ModelRenderer rightarm;
    ModelRenderer rightleg;
    ModelRenderer leftarm;
    ModelRenderer leftleg;

    public ModelChucky()
    {
    textureWidth = 64;
    textureHeight = 32;

    head = new ModelRenderer(this, 4, 4);
    head.addBox(-1F, -3F, -1F, 2, 3, 2);
    head.setRotationPoint(0F, 16F, 0F);
    head.setTextureSize(64, 32);
    head.mirror = true;
    setRotation(head, 0F, 0F, 0F);
    righthorn = new ModelRenderer(this, 23, 7);
    righthorn.addBox(-1.5F, -3F, -0.5F, 1, 3, 1);
    righthorn.setRotationPoint(0F, 14F, 0F);
    righthorn.setTextureSize(64, 32);
    righthorn.mirror = true;
    setRotation(righthorn, 0F, 0F, 0F);
    lefthorn = new ModelRenderer(this, 23, 2);
    lefthorn.addBox(0.5F, -3F, -0.5F, 1, 3, 1);
    lefthorn.setRotationPoint(0F, 14F, 0F);
    lefthorn.setTextureSize(64, 32);
    lefthorn.mirror = true;
    setRotation(lefthorn, 0F, 0F, 0F);
    body = new ModelRenderer(this, 39, 2);
    body.addBox(-1.5F, 0F, -1F, 3, 4, 2);
    body.setRotationPoint(0F, 16F, 0F);
    body.setTextureSize(64, 32);
    body.mirror = true;
    setRotation(body, 0F, 0F, 0F);
    rightarm = new ModelRenderer(this, 49, 16);
    rightarm.addBox(-1F, -1F, -0.5F, 1, 4, 1);
    rightarm.setRotationPoint(-1.5F, 17F, 0F);
    rightarm.setTextureSize(64, 32);
    rightarm.mirror = true;
    setRotation(rightarm, 0F, 0F, 0F);
    rightleg = new ModelRenderer(this, 4, 16);
    rightleg.addBox(-0.5F, 0F, -0.5F, 1, 4, 1);
    rightleg.setRotationPoint(-1F, 20F, 0F);
    rightleg.setTextureSize(64, 32);
    rightleg.mirror = true;
    setRotation(rightleg, 0F, 0F, 0F);
    leftarm = new ModelRenderer(this, 40, 16);
    leftarm.addBox(0F, -1F, -0.5F, 1, 4, 1);
    leftarm.setRotationPoint(1.5F, 17F, 0F);
    leftarm.setTextureSize(64, 32);
    leftarm.mirror = true;
    setRotation(leftarm, 0F, 0F, 0F);
    leftleg = new ModelRenderer(this, 14, 16);
    leftleg.addBox(-1F, 0F, -0.5F, 1, 4, 1);
    leftleg.setRotationPoint(1.5F, 20F, 0F);
    leftleg.setTextureSize(64, 32);
    leftleg.mirror = true;
    setRotation(leftleg, 0F, 0F, 0F);
    }

    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5);
    head.render(f5);
    righthorn.render(f5);
    lefthorn.render(f5);
    body.render(f5);
    rightarm.render(f5);
    rightleg.render(f5);
    leftarm.render(f5);
    leftleg.render(f5);
    }

    private void setRotation(ModelRenderer model, float x, float y, float z)
    {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
    }

    public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.setRotationAngles(f, f1, f2, f3, f4, f5);
    }

    }



    i already remove the 'entity' entrances after f5, that was breaking teh animations somehow :/

    Posted in: Modification Development
  • 0

    posted a message on Program to make mobs? (1.10 .JSON)

    oh snap yeah i made a mistake here, thanks..

    Posted in: Modification Development
  • 0

    posted a message on Program to make mobs? (1.10 .JSON)

    Alright so its kinda hard to make a mod today, 1.10 now uses .json files for mobs, and the only one i can find that export json is MrCrayFish model maker, but it cant animate mobs, its only good for blocks... I trie Tabula, Technic, MCAnimator... but none of them export .json, can you guys plz point me to a recent model editor?? i just cant find how you guys are making custom mobs for 1.10+ :(

    Posted in: Modification Development
  • 0

    posted a message on Custom Blocks Appear on Custom Dimensions?

    hey guys!


    im kinda new on modding, i did this mod sometime ago, and i had this custom block 1x2 high, a refrigerator, and it works ok, but when i go to the Moon (Galacticraft Dimension), the Overworld refrigerators are there! lol like copies of them flying on the moon sky (prb on equivalent coordiantes i guess :?)


    anyway, i wonder how i could fix this? any ideas?? i wonder if other modders have this prb with galacticraft too and/or with other mods dimensions. ?


    im doing this on 1.10 btw, on the last stable GC builds.


    thanks!

    Posted in: Modification Development
  • 0

    posted a message on Fairy Lights - Decorate your world with hanging lights and bunting!

    i lost my 1 week world i spend so much time building this... my last backup was 2 days ago, i was trying my very FIRST light after i put some i got a Ticking Entity crash taht corrupted my world, i tried everything; i deleted my playerdata, i installed this Region Fixer program, nothing works... after i break a light block the item fell on the floor, ticking entity it... so sad :(


    this mod is promissing but is way buggy now for any modpack :(

    Posted in: Minecraft Mods
  • 0

    posted a message on Ice and Fire: Dragons in a Whole New Light! - Build 1.1.0 - 1.11.2 Update

    oh nvm the horn is like a medallion, it wont call it will it? anyway, how i name my dragon?

    Posted in: Minecraft Mods
  • 0

    posted a message on Ice and Fire: Dragons in a Whole New Light! - Build 1.1.0 - 1.11.2 Update

    how i use the dragon horn to call my dragon? he fly away on stage 2 lol

    Posted in: Minecraft Mods
  • 0

    posted a message on Pocket Creatures MC:PE 0.15.X / 0.16.X! Elephants, Lions, Ostriches, Sharks.. Over 50 animals!

    does it have a version for regular minecrafT?

    Posted in: MCPE: Mods / Tools
  • 0

    posted a message on Exotic Birds - Herons, Owls, Pelicans and MORE!

    i cant make the phoenix hatch thou, i put the light the animation begins but the egg wont change color, how much it takes anyway?

    Posted in: Minecraft Mods
  • 0

    posted a message on Exotic Birds - Herons, Owls, Pelicans and MORE!

    This mod is AMAZING, so detail and so beautiful models, i was SO happy when i saw the 1.10 version today! i add it on my world asp! thanks !!

    Posted in: Minecraft Mods
  • 0

    posted a message on RFTools, Dimension Builder, Teleportation, Crafter, Screens, Builder, Spawner, Block Protector, Storage, and more (V7.00)

    Hello, nice mod!


    Im trying to add custom Mobs (from other mods) to work on the Spawner,

    i look this guide here:


    https://www.reddit.com/r/feedthebeast/comments/2zvyo5/full_overview_of_the_rftools_spawner/


    But its 2 years old and the files changed, i cant make the 1st and dimlets part :(

    Im trying to add the Turkey from Mo Creatures, but im not sure of its correct EntityName;


    is it:

    1) entity.mocreatures.Turkey

    2) mocreatures.Turkey

    3) or just 'Turkey'


    ???


    any help? thanks!

    Posted in: Minecraft Mods
  • 0

    posted a message on OpenComputers [v1.5.21]

    its ok i got patience, i want to do this for the comunity :D

    im trying to post there too, but i would apreciate any help.

    Thanks guys

    all i need is the way to make open computers play sounds, i got the sounds working via comand block, i also have computronics add on with a sound board on the computer, just in case i need it.

    Posted in: Minecraft Mods
  • 0

    posted a message on OpenComputers [v1.5.21]

    i got command block enabled on config, but i cant find what is the command to play the sounds.. on old computer craft was just the same comand of the commandblock.. what i am missing here?

    Posted in: Minecraft Mods
  • 0

    posted a message on Playing Custom Sound (and Vanilla MC sounds) on Open Computers? (1.10)

    Hello!


    Guys i really need some help here! im doing another cool map so you guys can play, but i just cant make my custom sounds play on the Open Computers Computer, i just dont know how to do it nor can find a simple tutorial for this...


    i already can play my sounds using command_blocks, so they are working, but when i use the same comand on OC it wont find the file.


    Any help???


    Here some of my last work!


    Posted in: Maps Discussion
  • 0

    posted a message on OpenComputers [v1.5.21]

    Guys i really need some help here! im doing another cool map so you guys can play, but i just cant make my custom sounds play on the Open Computers Computer, i just dont know how to do it nor can find a simple tutorial for this... i already can play my sounds using command_blocks, so they are working, but when i use the same comand on OC it wont find the file.


    Any help???



    Here some of my last work!


    Posted in: Minecraft Mods
  • To post a comment, please .