How to make an Item place a block?

Started by NathanTheCraziest on

Topic category: Help with MCreator software

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make an Item place a block?

I know that you can do this

Place block at X, Y+1, Z

but it will only place it on top, how to make it place a block depending on which side of the block you clicked?

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am not sure you can find…
Mon, 02/10/2020 - 09:36

I am not sure you can find that out... Do you write java or block as this might be a significant difference. What are you hoping to do once you can find out what side of the block you are clicking on?

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am not sure you can find…
Wed, 02/19/2020 - 01:21

I am not sure you can find that out... Do you write java or block as this might be a significant difference. What are you hoping to do once you can find out what side of the block you are clicking on?

me neither, just ask the creator

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, I have the same problem,…
Fri, 02/28/2020 - 19:13

Hi, I have the same problem, i want to place a block by clicking on the floor (like redstone dust) but the block have to be placed only when I aim at the top side.

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i think this would need a…
Fri, 02/28/2020 - 19:19

i think this would need a raycast

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe you could have it only…
Fri, 02/28/2020 - 23:12

Maybe you could have it only place if the player is looking down? I mean it probably won't have the affect you guys want but it could work?

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think mcreator recently…
Sat, 02/29/2020 - 01:30

I think mcreator recently added a block face that is clicked feature...

I'll test that and give you answers

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That was five months ago got…
Wed, 07/28/2021 - 01:16

That was five months ago got a answer yet?

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Managed to solve? I have the…
Mon, 08/02/2021 - 00:53

Managed to solve? I have the same problem!

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
to those who still stuck…
Sun, 10/24/2021 - 06:00

to those who still stuck with this, try doing this. and do it 6 times total. change the "trigger direction/face" to all 6 different axis. and if it gets a bit buggy in game, remove the if statement "does entity exist" https://media.discordapp.net/attachments/890441186786041857/901711469912150026/Screenshot_2021-10-23_225918.png?width=560&height=676

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes I tried and it actually…
Tue, 07/18/2023 - 14:23

Yes I tried and it actually works, I was stuck but now I solved thank u (a bit late I know)