Gui Textfield

Started by Monsbot on Fri, 08/14/2020 - 23:40

Topic category: User side tutorials

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Gui Textfield
Fri, 08/14/2020 - 23:40

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:39, 25. Jul 2021
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 10:01, 31. Aug 2021
Joined Sep 2020
Points:

User statistics:

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

"get block by namespace (text)"

is provided by Miscellaneous plugin.