Is there a way to move an entity from one .json to another?
Â
I am currently working on my UI, and I have the need to move the experience bar from the PlayerBox.json to the HotbarWindow.json. Is this possible?
Â
I tried to move the code, but didnt think it would be as easy as that. I then checked the source, but cant see anything that would allow the move...
Â
Spoiler
Â
I know its this I need to move to HotbarWindow.json, from the PlayerBox.json
Spoiler
         "EXPBackground": {
         "Bounds": "13,9,168,16",
         "Padding": "0,0,0,0",
         "AlignmentEdgeDistances": "0,0,0,0",
         "AlignmentTransform": "0,0",
         "Margin": "0,0,0,0",
         "RenderColor": "255,255,255,255",
         "Alignments": "",
         "DrawBackground": true,
         "MinimumSize": "1,1",
         "MaximumSize": "4096,4096",
         "Disabled": false,
         "Hidden": false,
         "RestrictToParent": false,
         "MouseInputEnabled": true,
         "HideToolTip": false,
         "ToolTipBackground": null,
         "ToolTipFont": null,
         "ToolTipTextColor": "",
         "Texture": "",
         "HoverSound": null,
         "LeftMouseClickSound": null,
         "RightMouseClickSound": null
       },
       "EXPBar": {
         "Bounds": "0,0,168,14",
         "Padding": "0,0,0,0",
         "AlignmentEdgeDistances": "0,0,0,0",
         "AlignmentTransform": "0,0",
         "Margin": "0,0,0,0",
         "RenderColor": "255,255,255,255",
         "Alignments": "",
         "DrawBackground": true,
         "MinimumSize": "1,1",
         "MaximumSize": "4096,4096",
         "Disabled": false,
         "Hidden": true,
         "RestrictToParent": false,
         "MouseInputEnabled": true,
         "HideToolTip": false,
         "ToolTipBackground": null,
         "ToolTipFont": null,
         "ToolTipTextColor": "",
         "Texture": "expbar.png",
         "HoverSound": null,
         "LeftMouseClickSound": null,
         "RightMouseClickSound": null
       },
       "EXPTitle": {
         "Bounds": "95,95,27,16",
         "Padding": "0,0,0,0",
         "AlignmentEdgeDistances": "0,0,0,0",
         "AlignmentTransform": "0,0",
         "Margin": "0,0,0,0",
         "RenderColor": "255,255,255,255",
         "Alignments": "",
         "DrawBackground": true,
         "MinimumSize": "1,1",
         "MaximumSize": "4096,4096",
         "Disabled": false,
         "Hidden": false,
         "RestrictToParent": false,
         "MouseInputEnabled": false,
         "HideToolTip": false,
         "ToolTipBackground": null,
         "ToolTipFont": null,
         "ToolTipTextColor": "",
         "BackgroundTemplate": null,
         "TextColor": "255,255,255,255",
         "HoveredTextColor": "",
         "ClickedTextColor": "",
         "DisabledTextColor": "255,90,90,90",
         "TextAlign": "Left, Top",
         "TextPadding": "0,0,0,0",
         "AutoSizeToContents": true,
         "Font": "sourcesansproblack,10",
         "TextScale": 1.0
       },
       "EXPLabel": {
         "Bounds": "130,95,168,16",
         "Padding": "0,0,0,0",
         "AlignmentEdgeDistances": "0,0,0,0",
         "AlignmentTransform": "0,0",
         "Margin": "0,0,0,0",
         "RenderColor": "255,255,255,255",
         "Alignments": "",
         "DrawBackground": true,
         "MinimumSize": "1,1",
         "MaximumSize": "4096,4096",
         "Disabled": false,
         "Hidden": false,
         "RestrictToParent": false,
         "MouseInputEnabled": false,
         "HideToolTip": false,
         "ToolTipBackground": null,
         "ToolTipFont": null,
         "ToolTipTextColor": "",
         "BackgroundTemplate": null,
         "TextColor": "255,255,255,255",
         "HoveredTextColor": "",
         "ClickedTextColor": "",
         "DisabledTextColor": "255,90,90,90",
         "TextAlign": "Center",
         "TextPadding": "0,0,0,0",
         "AutoSizeToContents": false,
         "Font": "sourcesansproblack,10",
         "TextScale": 1.0
       },
Â
If anyone can point me in the right direction that would be great
Question
Ainz Ooal Gown
Hi All,
Â
Is there a way to move an entity from one .json to another?
Â
I am currently working on my UI, and I have the need to move the experience bar from the PlayerBox.json to the HotbarWindow.json. Is this possible?
Â
I tried to move the code, but didnt think it would be as easy as that. I then checked the source, but cant see anything that would allow the move...
Â
Â
I know its this I need to move to HotbarWindow.json, from the PlayerBox.json
         "EXPBackground": {
         "Bounds": "13,9,168,16",
         "Padding": "0,0,0,0",
         "AlignmentEdgeDistances": "0,0,0,0",
         "AlignmentTransform": "0,0",
         "Margin": "0,0,0,0",
         "RenderColor": "255,255,255,255",
         "Alignments": "",
         "DrawBackground": true,
         "MinimumSize": "1,1",
         "MaximumSize": "4096,4096",
         "Disabled": false,
         "Hidden": false,
         "RestrictToParent": false,
         "MouseInputEnabled": true,
         "HideToolTip": false,
         "ToolTipBackground": null,
         "ToolTipFont": null,
         "ToolTipTextColor": "",
         "Texture": "",
         "HoverSound": null,
         "LeftMouseClickSound": null,
         "RightMouseClickSound": null
       },
       "EXPBar": {
         "Bounds": "0,0,168,14",
         "Padding": "0,0,0,0",
         "AlignmentEdgeDistances": "0,0,0,0",
         "AlignmentTransform": "0,0",
         "Margin": "0,0,0,0",
         "RenderColor": "255,255,255,255",
         "Alignments": "",
         "DrawBackground": true,
         "MinimumSize": "1,1",
         "MaximumSize": "4096,4096",
         "Disabled": false,
         "Hidden": true,
         "RestrictToParent": false,
         "MouseInputEnabled": true,
         "HideToolTip": false,
         "ToolTipBackground": null,
         "ToolTipFont": null,
         "ToolTipTextColor": "",
         "Texture": "expbar.png",
         "HoverSound": null,
         "LeftMouseClickSound": null,
         "RightMouseClickSound": null
       },
       "EXPTitle": {
         "Bounds": "95,95,27,16",
         "Padding": "0,0,0,0",
         "AlignmentEdgeDistances": "0,0,0,0",
         "AlignmentTransform": "0,0",
         "Margin": "0,0,0,0",
         "RenderColor": "255,255,255,255",
         "Alignments": "",
         "DrawBackground": true,
         "MinimumSize": "1,1",
         "MaximumSize": "4096,4096",
         "Disabled": false,
         "Hidden": false,
         "RestrictToParent": false,
         "MouseInputEnabled": false,
         "HideToolTip": false,
         "ToolTipBackground": null,
         "ToolTipFont": null,
         "ToolTipTextColor": "",
         "BackgroundTemplate": null,
         "TextColor": "255,255,255,255",
         "HoveredTextColor": "",
         "ClickedTextColor": "",
         "DisabledTextColor": "255,90,90,90",
         "TextAlign": "Left, Top",
         "TextPadding": "0,0,0,0",
         "AutoSizeToContents": true,
         "Font": "sourcesansproblack,10",
         "TextScale": 1.0
       },
       "EXPLabel": {
         "Bounds": "130,95,168,16",
         "Padding": "0,0,0,0",
         "AlignmentEdgeDistances": "0,0,0,0",
         "AlignmentTransform": "0,0",
         "Margin": "0,0,0,0",
         "RenderColor": "255,255,255,255",
         "Alignments": "",
         "DrawBackground": true,
         "MinimumSize": "1,1",
         "MaximumSize": "4096,4096",
         "Disabled": false,
         "Hidden": false,
         "RestrictToParent": false,
         "MouseInputEnabled": false,
         "HideToolTip": false,
         "ToolTipBackground": null,
         "ToolTipFont": null,
         "ToolTipTextColor": "",
         "BackgroundTemplate": null,
         "TextColor": "255,255,255,255",
         "HoveredTextColor": "",
         "ClickedTextColor": "",
         "DisabledTextColor": "255,90,90,90",
         "TextAlign": "Center",
         "TextPadding": "0,0,0,0",
         "AutoSizeToContents": false,
         "Font": "sourcesansproblack,10",
         "TextScale": 1.0
       },
Â
If anyone can point me in the right direction that would be great
Â
Thanks
Link to comment
Share on other sites
7 answers to this question
Recommended Posts