How to make an Item place a block?

Started by NathanTheCraziest on

Topic category: Help with MCreator software

Last seen on 13:39, 8. Jun 2020
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?

Last seen on 01:34, 21. May 2020
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?

Last seen on 16:22, 8. Jan 2024
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

Last seen on 13:10, 17. Mar 2020
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.

Last seen on 08:13, 21. Jun 2021
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

Last seen on 01:34, 21. May 2020
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?

Last seen on 03:10, 19. Feb 2022
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

Last seen on 15:51, 16. Jan 2024
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?

Last seen on 00:45, 18. Feb 2024
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!

Last seen on 12:45, 27. Nov 2021
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

Last seen on 17:17, 20. Aug 2023
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)