#Change Player’s Skin

1 messages · Page 1 of 1 (latest)

cloud yacht
#

Could use variants in player.json

#

idk about tag stuff resource pack side, I just know you can use variants cause I have before for a minigame

cloud yacht
#

What I did was just make an array of geometries and textures in the render controller, then I fed the variant into that

#

Also sorry, for some reason I didn't get the reply notification

#

The pack's kinda for a server I'm working on and I'm not the owner of the server, so I don't think they'd want me to send it lol

#

Query.variant

#

and setting variants with player.json

cloud yacht
#

"component_groups": {
"not_squid":{
"minecraft:variant": {
"value": 0
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.8
}
},
"red_squid":{
"minecraft:variant": {
"value": 1
},
"minecraft:collision_box": {
"width": 0.95,
"height": 0.95
}
},
"blue_squid":{
"minecraft:variant": {
"value": 2
},
"minecraft:collision_box": {
"width": 0.95,
"height": 0.95
}
},
"green_squid":{
"minecraft:variant": {
"value": 3
},
"minecraft:collision_box": {
"width": 0.95,
"height": 0.95
}
},
"purple_squid":{
"minecraft:variant": {
"value": 4
},
"minecraft:collision_box": {
"width": 0.95,
"height": 0.95
}
},

#

behavior

#

have you done entity stuff before?

#

define textures for the player here in the player entity file

#

define geometries here in the player entity file

#

you can make arrays like this in the player render controller

#

and then you feed the query.variant into the textures/geometries

#

in the render controller

#

all that is what i used to change the players model and texture

#

Also, you'll need to setup events in the player.json to swap to the other component groups

cloud yacht
#

np

cloud yacht
atomic mirageBOT
#
snaily_man

I would like to learn how to use the render controller but I don't know the truth. I would like to make variants of a mob

cloud yacht
#

I put all the information in this thread

atomic mirageBOT
#
snaily_man

I'm making a texture pack of variants of pigs and others, but I can't fail with foxes.

cloud yacht
atomic mirageBOT
#
snaily_man

I don't speak English but thanks anyway

#
snaily_man

is this render controller?

cloud yacht
#

Render controller and entity file screenshots

atomic mirageBOT
#
snaily_man

I was able to add a variant of a fox but I don't know how to add the other one. The truth is, this makes me dizzy.