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

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