Ettin Wont Compile

Started by Retlaw21 on Thu, 02/20/2020 - 23:52

Topic category: Help with modding

Last seen on 03:57, 28. Mar 2020
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Ettin Wont Compile
Thu, 02/20/2020 - 23:52

I am making custom models now it is saying that the java file failed to compile. help plz.

Also check out kinnar rpg mod.

0Upvote this forum topic
Last seen on 03:57, 28. Mar 2020
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Not any of those. Lol.
Fri, 02/21/2020 - 14:08

Not any of those. Lol.

0Upvote this forum topic
Last seen on 14:36, 2. Apr 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
then open a support ticket…
Fri, 02/21/2020 - 15:21

then open a support ticket on the issue tracker with a workspace

0Upvote this forum topic
Last seen on 03:57, 28. Mar 2020
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Cleared cache and fixed. Run…
Fri, 02/21/2020 - 23:33

Cleared cache and fixed. Run kinnar rn

0Upvote this forum topic
Last seen on 14:36, 2. Apr 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
I'm happy you got it fixed :)
Sat, 02/22/2020 - 01:41

I'm happy you got it fixed :)

0Upvote this forum topic
Last seen on 03:57, 28. Mar 2020
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
C:\Users\Walter…
Mon, 02/24/2020 - 16:51

C:\Users\Walter\MCreatorWorkspaces\kinnar_rpg_minecraft_mod\build\sources\main\java\net\mcreator\kinnar_rpg_minecraft_mod\MCreatorEttin.java:182: error: invalid method declaration; return type required
        public custom_model() {
               ^
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3m 31s

 

 

still wont work uhh….

0Upvote this forum topic
Last seen on 03:57, 28. Mar 2020
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
//Made with Blockbench /…
Mon, 02/24/2020 - 16:53

//Made with Blockbench
//Paste this code into your mod.

import org.lwjgl.opengl.GL11;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelBox;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.entity.Entity;

public class custom_modelettin extends ModelBase {
    private final ModelRenderer bb_main;

    public custom_model() {
        textureWidth = 16;
        textureHeight = 16;

        bb_main = new ModelRenderer(this);
        bb_main.setRotationPoint(0.0F, 24.0F, 0.0F);
        bb_main.cubeList.add(new ModelBox(bb_main, 0, 0, -5.0F, -4.0F, 6.0F, 2, 4, 2, 0.0F, false));
        bb_main.cubeList.add(new ModelBox(bb_main, 0, 0, -5.0F, -4.0F, 0.0F, 2, 4, 2, 0.0F, false));
        bb_main.cubeList.add(new ModelBox(bb_main, 0, 0, -6.0F, -6.0F, -1.0F, 4, 2, 10, 0.0F, false));
        bb_main.cubeList.add(new ModelBox(bb_main, 0, 0, -6.0F, -8.0F, 0.0F, 4, 2, 8, 0.0F, false));
        bb_main.cubeList.add(new ModelBox(bb_main, 0, 0, -6.0F, -10.0F, -1.0F, 4, 2, 10, 0.0F, false));
        bb_main.cubeList.add(new ModelBox(bb_main, 0, 0, -5.0F, -10.0F, -3.0F, 2, 5, 2, 0.0F, false));
        bb_main.cubeList.add(new ModelBox(bb_main, 0, 0, -5.0F, -10.0F, 9.0F, 2, 5, 2, 0.0F, false));
        bb_main.cubeList.add(new ModelBox(bb_main, 0, 0, -5.0F, -13.0F, 0.0F, 2, 3, 3, 0.0F, false));
        bb_main.cubeList.add(new ModelBox(bb_main, 0, 0, -5.0F, -13.0F, 5.0F, 2, 3, 3, 0.0F, false));
    }

    @Override
    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
        bb_main.render(f5);
    }
    public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) {
        modelRenderer.rotateAngleX = x;
        modelRenderer.rotateAngleY = y;
        modelRenderer.rotateAngleZ = z;
    }
}

 

java stuff

0Upvote this forum topic