Running this from the in-game console will always return false:
Code: Select all
game.player.print(tostring(game.canplaceentity({name = "item-on-ground", position = {game.player.position.x + 1, game.player.position.y}})))
Code: Select all
game.player.print(tostring(game.canplaceentity({name = "item-on-ground", position = {game.player.position.x + 1, game.player.position.y}})))
Code: Select all
game.player.print(tostring(game.canplaceentity({name = "item-on-ground", position = {game.player.position.x + 1, game.player.position.y}, stack={name= "iron-plate"}})))