Help Please?!?!

Started by Alexayr on Fri, 04/24/2015 - 06:50
Last seen on 18:30, 14. Apr 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Help Please?!?!
Fri, 04/24/2015 - 06:50

Mcreator Version: 1.5.5

So I'm attempting to create a mod, and I have created a custom tab for my items (creative tab)

I want to create armor, so I do that, but it appears in the armors tab?!!? I want it to be inside my custom tab, along with any other items, however the items show up in the normal game tab in armor, not sure why, any help with whats going on? would be much appreciated!

:)

Last seen on 14:26, 10. May 2015
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Select your armor in the
Fri, 04/24/2015 - 07:41

Select your armor in the workspace >
now select view source >

when the editor open find


helmet.setCreativeTab(CreativeTabs.tabCombat);
body.setCreativeTab(CreativeTabs.tabCombat);
legs.setCreativeTab(CreativeTabs.tabCombat);
boots.setCreativeTab(CreativeTabs.tabCombat);

and replace CreativeTabs.tabCombat with mcreator_.tab

Last seen on 14:26, 10. May 2015
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
can't edit post
Fri, 04/24/2015 - 07:43

can't edit post
*mcreator_YOURCREATIVETABNAMEHERE.tab*

Last seen on 18:30, 14. Apr 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Thanks for the quick reply!
Fri, 04/24/2015 - 07:59

Thanks for the quick reply! Good to see active people online :) Anyway I can change the tools to that tab aswell?

Last seen on 18:30, 14. Apr 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
so it should in turn look
Fri, 04/24/2015 - 08:09

so it should in turn look like

helmet.setCreativeTab(CreativeTabs.mcreator_custom.tab);
body.setCreativeTab(CreativeTabs.mcreator_custom.tab);
legs.setCreativeTab(CreativeTabs.mcreator_custom.tab);
boots.setCreativeTab(CreativeTabs.mcreator_custom.tab);
?

Last seen on 18:30, 14. Apr 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:can't edit post
Fri, 04/24/2015 - 08:26

@#2 Okay so I am tweaking what I can,
this is what i have
'helmet.setCreativeTab(mcreator_oreigin.Tab);
body.setCreativeTab(mcreator_oreigin.Tab);
legs.setCreativeTab(mcreator_oreigin.Tab);
boots.setCreativeTab(mcreator_oreigin.Tab);

is that correct?!

Last seen on 18:30, 14. Apr 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Sorry Not sure I understand,
Fri, 04/24/2015 - 08:55

Sorry Not sure I understand, I will ask again, sorry for the noobishness xD

I currently have it set to

helmet.setCreativeTab(CreativeTabs.tabCombat);
body.setCreativeTab(CreativeTabs.tabCombat);
legs.setCreativeTab(CreativeTabs.tabCombat);
boots.setCreativeTab(CreativeTabs.tabCombat);

My mod tab is called "Oreigin Additions"
however tab that shows in the workspace is called "OreiginTab

Anything? :/

Last seen on 14:26, 10. May 2015
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
'helmet.setCreativeTab
Fri, 04/24/2015 - 10:02


'helmet.setCreativeTab(mcreator_oreigin.Tab);
body.setCreativeTab(mcreator_oreigin.Tab);
legs.setCreativeTab(mcreator_oreigin.Tab);
boots.setCreativeTab(mcreator_oreigin.Tab);

This one is correct.

Last seen on 18:30, 14. Apr 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:'helmet.setCreativeTab
Fri, 04/24/2015 - 17:56

@#6 Alright so I did that, and recompiled, and it came back with this

>****************************
>:compileApiJava UP-TO-DATE
>:processApiResources UP-TO-DATE
>:apiClasses UP-TO-DATE
>:sourceMainJava
>C:\Users\Sebastian\Documents\My Games\Minecraft\Mcreator\forge\build\sources\java\mod\mcreator\mcreator_adamantineArmor.java:116: error: cannot find symbol
>helmet.setCreativeTab(mcreator_oreigin.Tab);
> ^
> symbol: variable mcreator_oreigin
> location: class mcreator_adamantineArmor
>C:\Users\Sebastian\Documents\My Games\Minecraft\Mcreator\forge\build\sources\java\mod\mcreator\mcreator_adamantineArmor.java:117: error: cannot find symbol
>body.setCreativeTab(mcreator_oreigin.Tab);
> ^
> symbol: variable mcreator_oreigin
> location: class mcreator_adamantineArmor
>C:\Users\Sebastian\Documents\My Games\Minecraft\Mcreator\forge\build\sources\java\mod\mcreator\mcreator_adamantineArmor.java:118: error: cannot find symbol
>legs.setCreativeTab(mcreator_oreigin.Tab);
> ^
> symbol: variable mcreator_oreigin
> location: class mcreator_adamantineArmor
>C:\Users\Sebastian\Documents\My Games\Minecraft\Mcreator\forge\build\sources\java\mod\mcreator\mcreator_adamantineArmor.java:119: error: cannot find symbol
>boots.setCreativeTab(mcreator_oreigin.Tab);
> ^
> symbol: variable mcreator_oreigin
> location: class mcreator_adamantineArmor
>4 errors
>:compileJava FAILED
>FAILURE: Build failed with an exception.
>* What went wrong:
>Execution failed for task ':compileJava'.
>> Compilation failed; see the compiler error output for details.
>* Try:
>Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
>BUILD FAILED
>Total time: 23.694 secs
>C:\Users\Sebastian\Documents\My Games\Minecraft\Mcreator\forge>
>Task completed with return code 0 in 24645 milliseconds

Last seen on 14:26, 10. May 2015
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
change mcreator_oreigin.Tab
Fri, 04/24/2015 - 18:20

change mcreator_oreigin.Tab to mcreator_oreigin.tab it's the Capital T that is the issue.

Last seen on 18:30, 14. Apr 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Alright done that, and it's
Fri, 04/24/2015 - 18:34

Alright done that, and it's coming back with another error, what im noticing is when i recompile, and go to edit the armor, its not showing the full armor texture, its just a red name .-.

>C:\Users\Sebastian\Documents\My Games\Minecraft\Mcreator\forge\build\sources\java\mod\mcreator\mcreator_adamantineArmor.java:116: error: cannot find symbol
>helmet.setCreativeTab(mcreator_oreigin.tab);
> ^
> symbol: variable mcreator_oreigin
> location: class mcreator_adamantineArmor
>C:\Users\Sebastian\Documents\My Games\Minecraft\Mcreator\forge\build\sources\java\mod\mcreator\mcreator_adamantineArmor.java:117: error: cannot find symbol
>body.setCreativeTab(mcreator_oreigin.tab);
> ^
> symbol: variable mcreator_oreigin
> location: class mcreator_adamantineArmor
>C:\Users\Sebastian\Documents\My Games\Minecraft\Mcreator\forge\build\sources\java\mod\mcreator\mcreator_adamantineArmor.java:118: error: cannot find symbol
>legs.setCreativeTab(mcreator_oreigin.tab);
> ^
> symbol: variable mcreator_oreigin
> location: class mcreator_adamantineArmor
>C:\Users\Sebastian\Documents\My Games\Minecraft\Mcreator\forge\build\sources\java\mod\mcreator\mcreator_adamantineArmor.java:119: error: cannot find symbol
>boots.setCreativeTab(mcreator_oreigin.tab);
> ^
> symbol: variable mcreator_oreigin
> location: class mcreator_adamantineArmor
>4 errors
>:compileJava FAILED
>FAILURE: Build failed with an exception.
>* What went wrong:
>Execution failed for task ':compileJava'.
>> Compilation failed; see the compiler error output for details.
>* Try:
>Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.