Can't Run Client And Need Help 2025.3

Started by Plerpy on

Topic category: Troubleshooting, bugs, and solutions

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can't Run Client And Need Help 2025.3

(I am pretty sure no one has had this problem)

 

When I added a java file for a model from blockbench this is what it showed:

 

Executing Gradle task: runClient
Build info: MCreator 2025.3.45720, forge-1.20.1, 64-bit, 16347 MB, Windows 10, JVM 21.0.8, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2025-12-09-16:41:40

Reusing configuration cache.
> Task :writeClientLegacyClasspath UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :downloadAssets UP-TO-DATE
> Task :createMinecraftArtifacts UP-TO-DATE
> Task :prepareClientRun UP-TO-DATE
> Task :compileJava FAILED
Note: SpongePowered MIXIN Annotation Processor Version=0.8.5
Note: Supported obfuscation types: ObfuscationServiceMCP supports [searge,notch]
C:\Users\Liam\MCreatorWorkspaces\abyssal_behemoth\src\main\java\net\mcreator\abyssalbehemoth\client\model\ModelAbyssal_Behemoth.java:38: error: cannot find symbol public Abyssal Behemoth(ModelPart root) {
^
symbol: class Abyssal
location: class ModelAbyssal_Behemoth<T>
where T is a type-variable:
T extends Entity declared in class ModelAbyssal_Behemoth
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler output below.
Note: SpongePowered MIXIN Annotation Processor Version=0.8.5
1 error
* Try:
> Run with --scan to generate a Build Scan (powered by Develocity).
BUILD FAILED in 888ms
6 actionable tasks: 1 executed, 5 up-to-date
Configuration cache entry reused.

BUILD FAILED
Task completed in less than a second

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think the problem might be…
Tue, 12/09/2025 - 07:00

I think the problem might be the name of some bone into your model, do you have a bone or something named with just one letter? or with differente simbols numbers or spaces?

 

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have bones with…
Tue, 12/09/2025 - 07:07

I have bones with underscores, but I have done that in the past and it has been fine, so I don't think that's it.

Thanks for the help though.

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This error is happening…
Tue, 12/09/2025 - 07:10

This error is happening because of the name of the model / constructor that Blockbench exported, and how Java works together with MCreator.

In Java, the constructor name must be exactly the same as the class name, and it cannot contain spaces.

Your error says:

 

ModelAbyssal_Behemoth.java:38: error: cannot find symbol 
public Abyssal Behemoth(ModelPart root) {
      ^
symbol: class Abyssal
location: class ModelAbyssal_Behemoth<T>

 

ModelAbyssal_Behemoth.java:38: error: cannot find symbol
public Abyssal Behemoth(ModelPart root) {
      ^
symbol: class Abyssal
location: class ModelAbyssal_Behemoth<T>

 

This means Blockbench exported something like:

public Abyssal Behemoth(ModelPart root) {
   // ...
}

Java reads that as:

  • Abyssal = a class/type name (which does NOT exist),
  • Behemoth = the constructor name.

So it crashes with cannot find symbol: class Abyssal.

 

Make sure to export your Blockbench model without spaces and using the same method. Do the same with the model parts, such as the body, bones, and anything else found in the model. Then, export it as ModelAbyssal_Behemoth.java, making sure to use the same name when exporting to MCreator. Only use a different name for the living entities section, where you can enter a custom name.

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This error can occurs when…
Tue, 12/09/2025 - 07:11

This error can occurs when java dont get something, java is really crazy, so it can occur sometimes, xd.

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm a bit confused here, IDK…
Tue, 12/09/2025 - 07:24

I'm a bit confused here, IDK if this will help but here is the code inside the java model when I exported it from blockbench.

 

Maybe I missed something, but I don't think I did.

 

// Made with Blockbench 5.0.4
// Exported for Minecraft version 1.17 or later with Mojang mappings
// Paste this class into your mod and generate all required imports


public class Abyssal Behemoth<T extends Entity> extends EntityModel<T> {
    // This layer location should be baked with EntityRendererProvider.Context in the entity renderer and passed into this model's constructor
    public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation(new ResourceLocation("modid", "abyssal_behemoth"), "main");
    private final ModelPart Everything;
    private final ModelPart Head;
    private final ModelPart Jaw;
    private final ModelPart Body_Front;
    private final ModelPart Front_Left_Fin;
    private final ModelPart Front_Right_Fin;
    private final ModelPart Top_Front_Fin;
    private final ModelPart Body_back;
    private final ModelPart Back_Left_Fin;
    private final ModelPart Back_Right_Fin;
    private final ModelPart Top_Back_Fin;
    private final ModelPart Tail;

    public Abyssal Behemoth(ModelPart root) {
        this.Everything = root.getChild("Everything");
        this.Head = this.Everything.getChild("Head");
        this.Jaw = this.Head.getChild("Jaw");
        this.Body_Front = this.Everything.getChild("Body_Front");
        this.Front_Left_Fin = this.Body_Front.getChild("Front_Left_Fin");
        this.Front_Right_Fin = this.Body_Front.getChild("Front_Right_Fin");
        this.Top_Front_Fin = this.Body_Front.getChild("Top_Front_Fin");
        this.Body_back = this.Body_Front.getChild("Body_back");
        this.Back_Left_Fin = this.Body_back.getChild("Back_Left_Fin");
        this.Back_Right_Fin = this.Body_back.getChild("Back_Right_Fin");
        this.Top_Back_Fin = this.Body_back.getChild("Top_Back_Fin");
        this.Tail = this.Body_back.getChild("Tail");
    }

    public static LayerDefinition createBodyLayer() {
        MeshDefinition meshdefinition = new MeshDefinition();
        PartDefinition partdefinition = meshdefinition.getRoot();

        PartDefinition Everything = partdefinition.addOrReplaceChild("Everything", CubeListBuilder.create(), PartPose.offset(0.0F, 6.0F, -48.0F));

        PartDefinition Head = Everything.addOrReplaceChild("Head", CubeListBuilder.create().texOffs(288, 0).addBox(-18.0F, -21.0F, -56.0F, 36.0F, 21.0F, 56.0F, new CubeDeformation(0.0F))
        .texOffs(432, 458).addBox(17.75F, 0.0F, -56.0F, 0.0F, 6.0F, 56.0F, new CubeDeformation(0.0F))
        .texOffs(472, 0).addBox(-17.75F, 0.0F, -56.0F, 0.0F, 6.0F, 56.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, 0.0F, 0.0F));

        PartDefinition TeethRightFrontTop_r1 = Head.addOrReplaceChild("TeethRightFrontTop_r1", CubeListBuilder.create().texOffs(216, 485).addBox(0.0F, -6.0F, -25.0F, 0.0F, 6.0F, 25.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(-18.0F, 6.0F, -56.0F, 0.0F, -0.7854F, 0.0F));

        PartDefinition TeethLeftFrontTop_r1 = Head.addOrReplaceChild("TeethLeftFrontTop_r1", CubeListBuilder.create().texOffs(266, 485).addBox(0.0F, -6.0F, -25.0F, 0.0F, 6.0F, 25.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(18.0F, 6.0F, -56.0F, 0.0F, 0.7854F, 0.0F));

        PartDefinition HeadFront_r1 = Head.addOrReplaceChild("HeadFront_r1", CubeListBuilder.create().texOffs(448, 77).addBox(-26.0F, -11.0F, -26.0F, 26.0F, 21.0F, 26.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -10.1F, -38.0F, 0.0F, -0.7854F, 0.0F));

        PartDefinition Jaw = Head.addOrReplaceChild("Jaw", CubeListBuilder.create().texOffs(184, 365).addBox(-18.0F, 0.0F, -56.0F, 36.0F, 16.0F, 56.0F, new CubeDeformation(0.0F))
        .texOffs(320, 458).addBox(17.0F, -6.0F, -56.0F, 0.0F, 6.0F, 56.0F, new CubeDeformation(0.0F))
        .texOffs(0, 469).addBox(-17.0F, -6.0F, -56.0F, 0.0F, 6.0F, 56.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, 0.0F, 0.0F));

        PartDefinition TeethRightFrontBottom_r1 = Jaw.addOrReplaceChild("TeethRightFrontBottom_r1", CubeListBuilder.create().texOffs(500, 338).addBox(0.0F, -6.0F, -24.0F, 0.0F, 6.0F, 24.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(-17.0F, 0.0F, -56.0F, 0.0F, -0.7854F, 0.0F));

        PartDefinition TeethLeftFrontBottom_r1 = Jaw.addOrReplaceChild("TeethLeftFrontBottom_r1", CubeListBuilder.create().texOffs(500, 368).addBox(0.0F, -6.0F, -24.0F, 0.0F, 6.0F, 24.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(17.0F, 0.0F, -56.0F, 0.0F, 0.7854F, 0.0F));

        PartDefinition JawFront_r1 = Jaw.addOrReplaceChild("JawFront_r1", CubeListBuilder.create().texOffs(112, 485).addBox(-26.0F, -11.0F, -26.0F, 26.0F, 16.0F, 26.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, 11.1F, -38.0F, 0.0F, -0.7854F, 0.0F));

        PartDefinition Body_Front = Everything.addOrReplaceChild("Body_Front", CubeListBuilder.create().texOffs(0, 0).addBox(-24.0F, -25.0F, 0.0F, 48.0F, 43.0F, 96.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, 0.0F, 0.0F));

        PartDefinition Front_Left_Fin = Body_Front.addOrReplaceChild("Front_Left_Fin", CubeListBuilder.create().texOffs(0, 421).addBox(0.0F, 0.0F, -8.0F, 32.0F, 0.0F, 48.0F, new CubeDeformation(0.0F)), PartPose.offset(24.0F, 13.0F, 8.0F));

        PartDefinition Front_Right_Fin = Body_Front.addOrReplaceChild("Front_Right_Fin", CubeListBuilder.create().texOffs(288, 77).addBox(-32.0F, 0.0F, -8.0F, 32.0F, 0.0F, 48.0F, new CubeDeformation(0.0F)), PartPose.offset(-24.0F, 13.0F, 8.0F));

        PartDefinition Top_Front_Fin = Body_Front.addOrReplaceChild("Top_Front_Fin", CubeListBuilder.create().texOffs(204, 242).addBox(0.0F, -27.0F, -48.0F, 0.0F, 27.0F, 96.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, -25.0F, 48.0F));

        PartDefinition Body_back = Body_Front.addOrReplaceChild("Body_back", CubeListBuilder.create().texOffs(204, 139).addBox(-18.0F, -15.5F, 0.0F, 36.0F, 31.0F, 72.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, -3.5F, 96.0F));

        PartDefinition Back_Left_Fin = Body_back.addOrReplaceChild("Back_Left_Fin", CubeListBuilder.create(), PartPose.offset(18.0F, 10.5F, 24.0F));

        PartDefinition BackLeftFin_r1 = Back_Left_Fin.addOrReplaceChild("BackLeftFin_r1", CubeListBuilder.create().texOffs(396, 242).addBox(-32.0F, 0.0F, -24.0F, 32.0F, 0.0F, 48.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, 0.0F, 10.0F, 0.0F, 3.1416F, 0.0F));

        PartDefinition Back_Right_Fin = Body_back.addOrReplaceChild("Back_Right_Fin", CubeListBuilder.create(), PartPose.offset(-18.0F, 10.5F, 24.0F));

        PartDefinition BackRightFin_r1 = Back_Right_Fin.addOrReplaceChild("BackRightFin_r1", CubeListBuilder.create().texOffs(396, 242).mirror().addBox(0.0F, 0.0F, -24.0F, 32.0F, 0.0F, 48.0F, new CubeDeformation(0.0F)).mirror(false), PartPose.offsetAndRotation(0.0F, 0.0F, 10.0F, 0.0F, -3.1416F, 0.0F));

        PartDefinition Top_Back_Fin = Body_back.addOrReplaceChild("Top_Back_Fin", CubeListBuilder.create().texOffs(368, 365).addBox(0.0F, -27.5F, -31.0F, 0.0F, 27.0F, 66.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, -15.0F, 34.0F));

        PartDefinition Tail = Body_back.addOrReplaceChild("Tail", CubeListBuilder.create().texOffs(0, 286).addBox(-10.0F, -7.0F, 0.0F, 20.0F, 15.0F, 72.0F, new CubeDeformation(0.0F))
        .texOffs(0, 139).addBox(0.0F, -22.0F, 0.0F, 0.0F, 45.0F, 102.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, -0.5F, 72.0F));

        return LayerDefinition.create(meshdefinition, 1024, 1024);
    }

    @Override
    public void setupAnim(Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) {

    }

    @Override
    public void renderToBuffer(PoseStack poseStack, VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) {
        Everything.render(poseStack, vertexConsumer, packedLight, packedOverlay, red, green, blue, alpha);
    }
}