Can you resize mob?

Started by Zerer on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Jul 2014
Points:
829

User statistics:

  • Modifications: 3
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 58
Can you resize mob?

Hi, I have one question. Can you change the size of mob by coding or another way? I want mob's model to resize, not the hitbox.

Active 1 year ago
Joined Aug 2013
Points:
1163

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 737
Using GL11.glScalef(xScale
Thu, 07/27/2017 - 09:43

Using GL11.glScalef(xScale,yScale,zScale) in its renderer will work.

Active 2 years ago
Joined Jul 2014
Points:
829

User statistics:

  • Modifications: 3
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 58
Omg thanks!!! Now i can make
Thu, 07/27/2017 - 10:28

Omg thanks!!! Now i can make mobs as big as godzilla!

Active 6 years ago
Joined Oct 2015
Points:
754

User statistics:

  • Modifications: 1
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 43
Where is the renderer? I'm
Fri, 07/28/2017 - 16:17

Where is the renderer? I'm asking because I'm working on a mob which will be slightly taller than normal.

Active 2 years ago
Joined Jul 2014
Points:
829

User statistics:

  • Modifications: 3
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 58
RE:Where is the renderer? I'm
Sat, 07/29/2017 - 07:48

@#3 Umm, I think "renderer" is the piece of code.

Active 3 years ago
Joined Jul 2017
Points:
749

User statistics:

  • Modifications: 2
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 27
It took me a little bit of
Sat, 07/29/2017 - 16:54

It took me a little bit of time but to rescale a model add this import 

Active 3 years ago
Joined Jul 2017
Points:
749

User statistics:

  • Modifications: 2
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 27
import org.lwjgl.opengl.GL11;
Sat, 07/29/2017 - 16:55

import org.lwjgl.opengl.GL11;

Active 3 years ago
Joined Jul 2017
Points:
749

User statistics:

  • Modifications: 2
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 27
and the line of code that was
Sat, 07/29/2017 - 16:56

and the line of code that was above

im sorry this was in 2 different comments i pressed enter and it entered my comment 

Active 6 years ago
Joined Oct 2015
Points:
754

User statistics:

  • Modifications: 1
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 43
RE:and the line of code that was
Sat, 07/29/2017 - 18:16

@#6 Where do I paste it?

Active 3 years ago
Joined Jul 2017
Points:
749

User statistics:

  • Modifications: 2
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 27
RE:RE:and the line of code that was
Sun, 07/30/2017 - 04:02

@#6.1 Paste it under render living but be warned that you can cause block mob collision by doing this I don't know how to fix that so I recommend you scale the mobs on techne

Active 3 years ago
Joined Feb 2019
Points:
789

User statistics:

  • Modifications: 3
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 64
does it also scale the…
Sat, 08/22/2020 - 01:38

does it also scale the texture?