How do import the .java code that you get when you open the file in a text editor?

Started by klushie225 on

Topic category: Help with modding (Java Edition)

Last seen on 23:58, 19. Apr 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do import the .java code that you get when you open the file in a text editor?

I have been looking all over the forums, and i cant find an answer to this.

 

i dont know where to copy and paste this:

 

public bearman class custommodel extends EntityModel {
    

    public custommodel() {
        textureWidth = 16;
        textureHeight = 22;

        
    }

    @Override
    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
        
    }

    public void setRotationAngle(RendererModel modelRenderer, float x, float y, float z) {
        modelRenderer.rotateAngleX = x;
        modelRenderer.rotateAngleY = y;
        modelRenderer.rotateAngleZ = z;
    }
}

 

thank you for anybody that will help!!!  (:

Last seen on 23:58, 19. Apr 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
wait, nevermind. sorry.  
Sun, 04/26/2020 - 16:25

wait, nevermind. sorry.

 

I suggest you check our…
Mon, 04/27/2020 - 18:47

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

There are some Blockbench tutorials too