Auto block placer

Started by Nannerbz on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Auto block placer

I want to make a auto block placer, that will recieve a item in its gui interface, and place it down in the direction its facing.

I know how to get the gui slot item/block, but i cant use it because it is for items and blocks, not just blocks. Any help?

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
on Block Tick Update search…
Fri, 10/29/2021 - 01:52

on Block Tick Update search on Block Data for this block:

Get item from blocks inventory etc

make a new Local Variable Block State

and this should be your procedure

Set LOCAL: "Name" to: get item from blocks inventory etc

if not get LOCAL: "name" = AIR

 do place get LOCAL: "name" at etc etc