(With getSide function)

Discussion in 'Plugin Help' started by ResooTR43, Apr 10, 2021.

  1. ResooTR43

    ResooTR43 Spider

    Messages:
    7
    How can I get the block under the chest
     
  2. HeyDeniis_

    HeyDeniis_ Baby Zombie

    Messages:
    135
    PHP:
    $chest = ...;//chest 
    $under $chest->getLevel()->getBlock($chest->getSide(Vector3::SIDE_DOWN)); //Block under of chest 
     
    minijaham and Primus like 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.