i really apreciate, i found them now! thanks, but what part i need on that on my mob? the part on you show on the screenshot? im gonna back work on it right now..
Hey there, my name is Nico, and I'm here to ask something about modeling item or block to render in 3D.
So the questions are "How can I port or scripting the model to use in the mod for minecraft 1.7.10?" and "What is the model file format for minecraft 1.7.10?"
Those are what I need to know for now.
Thank you in adv :3
use MCreator for start, its a amazing tool... learning java is a pain in the butt
and i have this on my mob already, i still dont understand how to scale the child down, i just dont see it on the vanilla mobs codings
and im not advanced lol no way man im still learning, as i said i apreciate and got those tutorials, but i could not find this specific info there, again thanks for your help here
look all over your mob(entity) tutorials, could not find that info there too.. sorry for the trouble lol
So overall, if you wanted to make a entity that was always small, all you had to do was put a scaling call in your model, and set the size of the bounding box in your entity.
scalling call ok, so how i do it man? thanks. you talking about coding right? not making a second model on techne correct?
lol come on dude dont give me the 'google' its obvious i sunk my head on google first to ask, its just because, i cant understand lol, like minecraft have THOUSANDS of mods, so many people knows how to do stuff, but almost nobody try to teach others i want to leaaaaaaaaaaaaarn
thanks for those 2 links i will read them right now!
hum i check those but its most basic stuff and structure... what i need now is how to code the part that the mob child is scaled down, then grow up like a regular minecraf mob, i made this monkey and it looks pretty cool, but on breeding it gives a same size monkey.
hey guys! i could use some help on this code here; i want my monkey breed a small child monkey, that grows like the vanilla mobs do, but it just give me a regular monkey... im missing a scale call or something, but i dont know how to do it, do i need a brand new model or i can do this adding some lines here?
well i told on the 3rd posting its a old topic, thats why i post it.. im looking for a new one..
on my client folder (im looking on 1.10 version file) i cant see 'renderer' folder, btw i never could find the minecraft vanilla entities .class files, so i can visualise them and learn the coding, where can i find these?
0
0
cool thanks things are happening.. i did add the code, but its giving me a error on compile on the shadow part:
this.shadowSize = 0.25F;
error:
java:150: error: cannot find symbol
symbol: variable shadowSize
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
do i need a import library for the shadowsize or for the prerenderCallback something?
0
i really apreciate, i found them now! thanks, but what part i need on that on my mob? the part on you show on the screenshot? im gonna back work on it right now..
0
on the villager file i see this:
public EntityVillager createChild(EntityAgeable ageable)
{
EntityVillager entityvillager = new EntityVillager(this.worldObj);
entityvillager.onInitialSpawn(this.worldObj.getDifficultyForLocation(new BlockPos(entityvillager)), (IEntityLivingData)null);
return entityvillager;
}
public float getEyeHeight()
{
return this.isChild() ? 0.81F : 1.62F;
}
this is mine:
public EntitymonkeyBlack createChild(EntityAgeable ageable) {public EntitymonkeyBlack createChild(EntityAgeable ageable) { return new EntitymonkeyBlack(world); }
public float getEyeHeight() { return this.isChild() ? this.height : 1.3F; }
public boolean isBreedingItem(ItemStack stack) { return stack != null && com.google.common.collect.Sets.newHashSet(new Item[]{mcreator_wildBanana.block,}).contains(stack.getItem()); }
i dont see any scale, nor scale calling, import library on those files, how come the young cow is smaller it makes no sense to me :
0
the other thing i want to fix is this arm position, i want that it stick with the arm original position
(it got a angle like; setRotation(armleft, -0.3490659F, 0F, 0F); and here it starts the animation from vertical fixed position)
this.armleft.rotateAngleX = MathHelper.cos(f * 0.6662F) * 2.0F * f1 * 0.5F;
this.armright.rotateAngleX = MathHelper.cos(f * 0.6662F + (float) Math.PI) * 2.0F * f1 * 0.5F;
lol omg im so stupid i just solve this doing:
this.armleft.rotateAngleX = MathHelper.cos(f * 0.6662F) * 2.0F * f1 * 0.5F -0.3490659F;
cheeears
but i still need help with the baby monkey child scale thing
0
btw i remove the 'draw' part for space safe here
0
use MCreator for start, its a amazing tool... learning java is a pain in the butt
0
this is all i can find on the pig file:
public EntityPig createChild(EntityAgeable ageable)
{
return new EntityPig(this.worldObj);
}
public boolean isBreedingItem(@Nullable ItemStack stack)
{
return stack != null && TEMPTATION_ITEMS.contains(stack.getItem());
}
and i have this on my mob already, i still dont understand how to scale the child down, i just dont see it on the vanilla mobs codings
and im not advanced lol no way man im still learning, as i said i apreciate and got those tutorials, but i could not find this specific info there, again thanks for your help here
look all over your mob(entity) tutorials, could not find that info there too.. sorry for the trouble lol
0
scalling call ok, so how i do it man? thanks. you talking about coding right? not making a second model on techne correct?
0
lol come on dude dont give me the 'google'
its obvious i sunk my head on google first to ask, its just because, i cant understand lol, like minecraft have THOUSANDS of mods, so many people knows how to do stuff, but almost nobody try to teach others
i want to leaaaaaaaaaaaaarn 
thanks for those 2 links i will read them right now!
hum i check those but its most basic stuff and structure... what i need now is how to code the part that the mob child is scaled down, then grow up like a regular minecraf mob, i made this monkey and it looks pretty cool, but on breeding it gives a same size monkey.
0
hey guys! i could use some help on this code here; i want my monkey breed a small child monkey, that grows like the vanilla mobs do, but it just give me a regular monkey... im missing a scale call or something, but i dont know how to do it, do i need a brand new model or i can do this adding some lines here?
thank you all!
0
Sorry i acident double post it
0
i found this on git, because i cant find my own files :/ i know this is lamme but im new on this
https://github.com/vmarchaud/Alkazia/blob/master/1.8/Client/src/minecraft/net/minecraft/client/renderer/entity/RenderVillager.java
0
well i told on the 3rd posting its a old topic, thats why i post it.. im looking for a new one..
on my client folder (im looking on 1.10 version file) i cant see 'renderer' folder, btw i never could find the minecraft vanilla entities .class files, so i can visualise them and learn the coding, where can i find these?
thanks again!
0
i also need to know how to scale down a model on the code, i got this here, but i dont know how ot set it up, its also 5 years old..
protected void preRenderCallback(EntityLiving par1EntityLiving, float par2)
{
func_40292_b((EntityMyMob)par1EntityLiving, par2);
}
protected void func_40292_b(EntityMyMob par1EntityMyMob, float par2)
{
float f = 0.9375F;
f = (float)((double)f * 0.5D);
shadowSize = 0.25F;
GL11.glScalef(f, f, f);
}