Started by
Nannerbz
on
Topic category: Help with Minecraft modding (Java Edition)
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?
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