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

How to make place a block

Discussion in 'Development' started by Hoyee, Mar 14, 2020.

  1. Hoyee

    Hoyee Baby Zombie

    Messages:
    126
    I want to make if floor is glass, create a sand above to glass(y+1)
     
  2. kriskotooBG

    kriskotooBG Spider Jockey

    Messages:
    46
    GitHub:
    kriskotoobg
    If i understand correctly, you want to place a sand block if the block under it is glass?
    If you're talking about doing that on an area, once, i would suggest using a plugin like Builder Tools, or WE
    If you you want to do it under a player, You can listen to play movement events, check the block under the player, and then use setBlock() to create the sand block. Please repsond with more info so that we can help you :)
     
  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.