1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Head block with player’s head skindata

Discussion in 'Development' started by korado531m7, Mar 14, 2018.

  1. korado531m7

    korado531m7 Slime

    Messages:
    77
    GitHub:
    korado531m7
    is there any way to make a head block with each player’s skindata?
    If it is possible, how do i?
    thank you for reading and answering.
     
  2. MioTaku

    MioTaku Witch

    Messages:
    69
    GitHub:
    uselesswaifu
    A block? No
    But you could send a skin with custom geometry data that only renders the head (hack)
     
    NickTehUnicorn likes this.
  3. korado531m7

    korado531m7 Slime

    Messages:
    77
    GitHub:
    korado531m7
    i see, thank you.
     
  4. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    This may help: https://github.com/Muqsit/FaceLogin. It parses the front side of the face from skindata.

    Here's something else you can do if you are okay without the skindata.
    xx.JPG
    That's an invisible Minecart carrying a glass block. But the block doesn't seem to rotate according to the minecart's yaw and pitch.
     
    Last edited: Mar 15, 2018
    korado531m7 likes this.
  5. SleepSpace9

    SleepSpace9 Slime

    Messages:
    78
    GitHub:
    sleepspace9
    Works! I used custom geometryData on my player and can create a Slapper entity from that. Although it's also quite funny watching a moving head on the ground. :D

    upload_2018-3-15_23-38-17.png upload_2018-3-15_23-38-39.png
     
  6. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    That's awesome, can you show is how you worked with the geometry data? :p
     
  7. SleepSpace9

    SleepSpace9 Slime

    Messages:
    78
    GitHub:
    sleepspace9
    I recommend using Blockbench - a great free software for import and export Minecraft Bedrock format.
    I've loaded the model from an existing skin pack (where it makes a player to a block), added the player texture and reassigned the texture areas.
    At the end I just exported the model again and used it as geometryData in setSkin().

    upload_2018-3-16_1-0-24.png
     
    Last edited: Mar 16, 2018
  8. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    this is cool, but it's still not a block of Steve's head, that would be an entity with a custom skinData(Geometry). but it still being an option, cool ;)
     
    MasterPE likes this.
  9. korado531m7

    korado531m7 Slime

    Messages:
    77
    GitHub:
    korado531m7
    I’ll use it and edit for my server
    I wanna add each head block to players, and it will be teleported when they selected them (like pc server).
     
  10. korado531m7

    korado531m7 Slime

    Messages:
    77
    GitHub:
    korado531m7
    i want to it in game
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.