Jump to content

[1.12.2] how would i go about changing the Entity, Model and Renderer for the player.


Discult

Recommended Posts

Hello i created a model loader that loads models that allow joints so i can animate them in something like blender then export to mc the only problem is the entity is where  i set the model as the entity is needing the model for all the animation variables to register and move the joins accordingly. what i am wondering is if there is a way to change the default player entity, model and renderer and replace with my custom version any help would be grateful.

 

Thank you for your time.

Link to comment
Share on other sites

48 minutes ago, Discult said:

default player entity

Why?

 

48 minutes ago, Discult said:

model and renderer and replace with my custom version any help would be grateful.

Subscribe to the RenderPlayerEvent.Pre cancel it and render your model.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

1 minute ago, Animefan8888 said:

Why?

 

Subscribe to the RenderPlayerEvent.Pre cancel it and render your model.

I know the RenderPlayerEvent it is mainly the entity i need to use custom variables in my entity in order to do the anims and to check when a aim is complete and if it should switch anim or loop.

Link to comment
Share on other sites

3 minutes ago, Discult said:

I know the RenderPlayerEvent it is mainly the entity i need to use custom variables in my entity in order to do the anims and to check when a aim is complete and if it should switch anim or loop.

Use capabilities.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

2 minutes ago, Discult said:

I need to add things to onUpdate is this possible with capabilities 

 

PlayerTickEvent

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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