1.19.2 Custom player heads as helmets

Discussion in 'Plugin Development' started by Oxiod, Dec 15, 2022.

Thread Status:
Not open for further replies.
  1. Offline

    Oxiod

    So i've been searching for a method to turn custom player heads into helmets with the only methods i've found being deprcieted/ outdated, using game profile (whihc shows up as unrecognised) and solutions that arent clear/ arent solved in general. I know you can do this in vanilla minecraft using command blocks but was wondering how to do it on here.
     
  2. Offline

    DopeBrot

    Code:
    player.getInventory().setHelmet(helmetItem);
    this lets you put an itemstack in the helmet slot of a player.
     
Thread Status:
Not open for further replies.

Share This Page