Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I am just trying to do a simple techne model as a block in mcreator. everything is running fine now.. but for some reason its saying public ModelCetosUterus();

is an invalid method declaration.

everywhere I have looked today it looks like this. This is not a creature just a block.. Please if you can help I would much appreciate it.

 

public static class ModelCetosUterus extends ModelBase

{

//fields

 

ModelRenderer Piece1;

ModelRenderer Folder1;

ModelRenderer EggSack;

ModelRenderer TallMidU;

ModelRenderer UcontoEgg;

ModelRenderer medMidBackU;

ModelRenderer UtubeMidUp;

ModelRenderer crookbigU;

ModelRenderer tubeMid;

ModelRenderer MedMiddleU;

ModelRenderer UTubeAtch;

ModelRenderer SmallerMidU;

ModelRenderer SmallEndU;

 

}

 

public ModelCetosUterus();

 

 

{

textureWidth = 64;

textureHeight = 39;

setTextureOffset("Piece1.Folder1", 0, 0);

Here's something that might help.

 

Change

 public ModelCetosUterus(); 

to

public ModelCetosUterus() {

}

 

Then continue with rendering and such.

 

Method declarations are basic Java.

Developer of small, unreleased, basic, and incomplete mods since 2014!

Do NOT use code generators like MCreator. Learn java if you want to make a mod.

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

  • Author

bah I know i am learning slowly but surely this is just nice for the mean time :P

Remove static from your class declaration.

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.