Topic category: Help with MCreator software
Hi all, first message, first try with Mcreator and first error :D looking for a bit of understanding and guidance.
I built a model using Blockbench and it's (java) export plugin to build a shark model.
Using Mcreator to try and turn this into a mob i get the following message (over and over again) for what seems to be every line of code for the model.
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_shark.java:64: error: not a statement
this.0.setRotationPoint(14.02322F, 4.7F, 7.07678F);
^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_shark.java:64: error: ';' expected
this.0.setRotationPoint(14.02322F, 4.7F, 7.07678F);
This is just the first 2 lines of code and from there on it's the same thing over and over for each cube/part
I am not a java coder :( but can tell that something isn't a statement and seems to be missing a ' ; '
If anyone has the know how, please show me what i am missing and where i can correct it.
Thanks in advance
Bob
I created a sample biped model with rotated arms in Techne and i got something different from Blockbench gave to you (the main difference is that the Techne model worked).
Here's the code:
You may try to make the same model in Techne.
P.S. You also must notice that you'll need to animate Techne models by yourself, just importing a little simple code there and a MathHelper import.
You had named your model part just by a number. On the model import the parts are stored in variables named after them. And in Java ( And pretty much also in all other programming languages) a number itself can not be a variable name as it has already a value on its own.
Hi Delofon and thanks for the advice, i can't find Techne anywhere, except a couple of dodgy looking sites, nothing official. :(
Hi Nuparu00
I am guessing you mean 'this.0' as the model part?
I find it very strange because when building, every single part had a different name. I am wondering if Blockbench can't handle the java export
Delofon, i don't know how to edit post's here (no button) so i am wasting space and time by just correcting myself with a new message.
On another thread here i found this:
https://mcreator.net/forum/37531/tutorial-how-download-techne-2017
I will give it a try
Bob (or Box-o-Blox), you could use Tabula mod for Minecraft instead of Techne - Tabula is actually the same as Techne. Also, your mob is called Shark, right? You could use MCAnimator for modelling and animating shark - but, i'll be honest - i don't know what MCAnimator actually is.