Solved Setting CocoaBlock's side(face | direction)

Discussion in 'Development' started by Kkevin14, Oct 9, 2020.

  1. Kkevin14

    Kkevin14 Creeper

    Messages:
    1
    GitHub:
    milkid1412
    Hi guys. I wanted my server to add plugin that enables placing cocoa blocks.

    I use pocketmine\event\player\PlayerInteractEvent to Place it, but I have a little problem here.

    If I use 'setBlock' method to place cocoa block, I want to set the block's side too. But I can't find the way to do it.

    Can anyone help me setting directions?
     

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.