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

Geometries and Custom Humans

Discussion in 'Development' started by DsZk, Feb 20, 2019.

  1. DsZk

    DsZk Spider

    Messages:
    8
    GitHub:
    litekpe
    Is there any guide to make new entities based on Human by changing their geometry and skin? Thx for advance
     
    Levi likes this.
  2. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
    Itsnt it as simple as creating a Human entity and changing its skin?
    If you you mean how to create a class for it, extend the Human class
     
    jasonwynn10 likes this.
  3. DsZk

    DsZk Spider

    Messages:
    8
    GitHub:
    litekpe
    I mean some guide to make entities like the current LBSG pets
     
  4. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
    Sorry i dont know what you meant by LBSG pets, i've never played on that
    If you mean how to create the geometry, use blockbench.net
     
  5. DsZk

    DsZk Spider

    Messages:
    8
    GitHub:
    litekpe
    I know how to use BlockBench, What I'm trying to say is how to apply the skin in the code
     
  6. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
    PHP:
    $entity->setSkin(new Skin("skinId"$skinBytes$capeBytes$geometryName,$geometryJson));//$geometryJson is what you got from block bench
    $entity->sendSkin();
     
    DsZk likes this.
  7. DsZk

    DsZk Spider

    Messages:
    8
    GitHub:
    litekpe
    Thanks man! :3
     
  8. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    What is skinId?
     
  9. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    A name. You can set it to whatever you want, "Cat" for instance.
     
    jasonwynn10 likes this.
  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.