Chest's face

Discussion in 'Development' started by BruhLol, Jun 17, 2019.

  1. BruhLol

    BruhLol Baby Zombie

    Messages:
    111
    How to get the sign tile attached to the chest's front face?
     
  2. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,585
    GitHub:
    HimbeersaftLP
    Just loop through all surrounding blocks and check if it's a sign?
     
  3. BruhLol

    BruhLol Baby Zombie

    Messages:
    111
    but isn't there an easier way? wouldn't it cause performance loss?
     
  4. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,585
    GitHub:
    HimbeersaftLP
    Technically, everything causes a performance loss :p
    You could load the chunk into an async task and check the blocks there, but I think serialising is slower than just checking 4 blocks lol
    I don't think there is an easier way, however I'm far from an expert in the PMMP field.
     
    Muqsit and BruhLol like this.
  5. Muqsit

    Muqsit Chicken

    Messages:
    1,533
    GitHub:
    muqsit
    Last edited: Jun 19, 2019
    HimbeersaftLP likes this.
  6. BruhLol

    BruhLol Baby Zombie

    Messages:
    111
  7. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,585
    GitHub:
    HimbeersaftLP
    BruhLol likes this.

Share This Page

  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.