Suggestion: Procedure / Condition (Block Face)

Issue description

The suggestion came to me to make a bucket but ran into an issue with restrictions when determining the placement of water.

For example, if you use a water/lava bucket (vanilla) it will place the block next to the block if you right-click on the side of another block.

This is not the case as far as I can see there is no real way to test in procedures for what face of the block your clicking on.

Would it be posable to add a condition or explain to me what I need to do to test for the block side without coding?

I have attached the .zip with the workspace of what I was testing.

There is not a rush to add this feature I set the version to 1.8.3 but it can be at a later date if you need more time :)

Issue comments

1.8.3 was released so definitely not in 1.8.3 :) But we will consider adding this feature in the future updates.

It could be used in situations such as:

When player right-clicks on block:

if [item in entity's main hand] = [Mod item]

 do  if [get provided block face] = [D] AND [get block at X, Y, Z = [Diamond Block]

       do Place [Mod Block] at [X[, [[Y]-[1], [Z]

This could be used to create a block that can only be placed on the underside of diamond blocks by right-clicking on that face with a special item.

 

This would allow blocks to be placed from items, such as right-clicking with a gold ingot on a block to place an ingot, or right-clicking with a crystal item on stone (and stone only) to place growable crystals like in Thaumcraft.

I am making a factory mod and I need this for wires so I hope this gets added soon

This feature will be added in 2019.5 with:

  • trigger face/direction dependency
  • compare directions block
  • get the opposite direction of given direction block

I am closing this ticket now.