Gui Textfield

Started by Monsbot on

Topic category: User side tutorials

Last seen on 19:44, 25. May 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gui Textfield

So I wanted to make some kind of gui (The mod shuld be used on creative servers) where you type in the name like "minecraft:dirt" or "minecraft:petrified_oak_slab" and hit the button. Then the item/block should appear in the slot. But my problem is that I can't find a solution to take the textfield input and convert it into an item. Pls help, thx

Last seen on 20:38, 30. Dec 2022
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On GUI procedure blocks…
Fri, 08/21/2020 - 01:36

On GUI procedure blocks there's "text on text field (Your text field)"

On blocks there's "get block by namespace (text)"

Just combine the two and you're good to go

Last seen on 19:43, 26. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"get block by namespace …
Tue, 10/20/2020 - 13:37

"get block by namespace (text)"

is provided by Miscellaneous plugin.