Started by
FoxyFox500
on
Topic category: Help with Minecraft modding (Java Edition)
I don't under stand the code for blockstates. I want to have a model for first person view or third person. Can anyone give me the code for the sub-model for first person view and third person?
Edited by FoxyFox500 on Thu, 08/11/2016 - 02:12
Also im using Blender to use this.
You must edit rotations in in your items .json file for First person , Third Person and Inventory seperately
I don't know how to use the .json files
Im using OBJ not .json
You have in resources your model .obj file that is used by .json file that uses MC.
It is special .json file from Forge.
Look here: https://mcforge.readthedocs.io/en/latest/blockstates/forgeBlockstates/
Ill be looking forward into it. Thank you for the help, Nuparu00! :D
Ill be looking forward into it. Thank you for the help, Nuparu00! :D
This is really confussing. I really don't know what its talking about. Like where to go and stuff.
nvm, i found it. But i don't know how to make the model have a first person view and third person view.
If you can send me an example of the first person view and third person view .json thing. That would be great!
You must create the .json file MCreator\user\json\blockstates . Name of the file must be unlocalized name of your item , so if you in MCreator put the element name "SniperRifle" , the unlocalized name is propably "sniperRifle".In the file put something like:
{
"forge_marker": 1,
"defaults": {
"model": "TestEnvironmentMod:YOUR_OBJ_NAME.obj"
},
"variants": {
"inventory": [{
"transform": {
"firstperson": {
"translation": [0, 0, 0.15],
"rotation": [{"x": 0}, {"y": 0},{"z": 0}]
},
"thirdperson": {
"translation": [0.1, -0.2, -0.15],
"rotation": [{"x": 0}, {"y": 0}, {"z": 0}],
"scale": [0.45, 0.45, 0.45]
},
"gui": {
"translation": [0, 0.04, 0],
"rotation": [{"z": 0}],
"scale": [0.4, 0.4, 0.4]
}
}
}
]
}
}
Put there your .obj model name and you can set the scale , position and rotation
well i need help witth upload mod want i try to make new mod in jar or zip and it give me 33.9 MB or 71 MB and i just make 1 or 10 or 20 text mod and still do that way i dont know what i can do even i have dropbox i can not put my link on and if you can help me i have skype and you can help me
Add : ricometzen1992 ps you can call me in everyting to help me
also i test up with mcreator version 1.6.3 to 1.7.0 both d the same way
i dont know what i can do
@#12 Make a new topic about. :D They will help you.
You need to use Maya3d to view the correct code. Blender is like a personal statement for nursing, It ruins a good code. It displays it such that no one understands it. I am speaking with my own experience.