Started by
TheKralGame
on
Topic category: Help with Minecraft modding (Java Edition)
How to set to item with custom nbt to block gui slot #1 in MCreator 2021.1 Latest Snapshot 1.16.4.
My Procedure:
Edited by TheKralGame on Fri, 01/22/2021 - 05:34
make custom variable myTempItem(itemstack)
do:
set myTempItem to (get item in block gui slot #1)
set string/number/boolean nbt of myTempItem to (your custom value)
set item in block gui slot #1 (get item count in myTempItem) (resize myTempItem to 1)
the set block need # and item so I counted it and resized to one
PS:resize item is not an in-place procedure