Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Modifying a GUI without recreating it
« previous
next »
Print
Pages: [
1
]
Author
Topic: Modifying a GUI without recreating it (Read 365 times)
Demian
August 13, 2012, 06:14:39 AM
Is there a way to modify existing objects and and new objects to a GUI without deleting and replacing it?
Ad Bot
Advertisement
Port
August 13, 2012, 06:16:48 AM
parentObject.add( newObject );
parentObject.remove( oldObject );
In some cases,
this problem
arises when modifying GUIs after they are created, though.
«
Last Edit: August 13, 2012, 06:18:31 AM by Port
»
jes00
August 13, 2012, 07:00:39 AM
and if the object you wish to add to has no name you need to go to the closest object with a name and do objectName.getObject(0).add(newObject); or objectName.getObject(3).getObject(1).add(newObject); and so forth and so on.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Modifying a GUI without recreating it