Shapeless Crafting/Interface

Started by darkgallade on Fri, 02/17/2017 - 04:02

Topic category: Help with MCreator software

Last seen on 04:49, 17. Feb 2017
Joined Feb 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Shapeless Crafting/Interface
Fri, 02/17/2017 - 04:02

I know that there is a button in making a crafting recipe but the interface just blocks it out. I tried setting up the legacy GUI and also the resolution fix but it still doesn't seem to work. Is there any way to fix this?

Last seen on 01:04, 26. May 2017
Joined Jan 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I would also love to know
Wed, 03/01/2017 - 12:35

I would also love to know rthe answer to this!!

Last seen on 13:30, 23. Jul 2020
Joined Mar 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Create a new mod element
Fri, 03/03/2017 - 19:11

Create a new mod element (recipe) then press "Is recipe shaeless?" and then your recipe

Last seen on 10:02, 3. Mar 2018
Joined Sep 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:Create a new mod element
Sat, 05/06/2017 - 19:18

@#2 Спасибо :)
Сейчас чуть в коде нового рецепта полазил, части копировал, вставлял, проверял и в итоге нашел часть, который обратный крафт делает. Ибо делать новый элемент для каждого блока, все таки не особо хочется делать.
 

Если что, часть выделена жирным шрифтом | If you want to make reverse craft without make new element of your mod, you can add part of code(Allocated bold) and put in code of block/item and the others.
 

[spoiler]

public void load(FMLInitializationEvent event) {         

     if (event.getSide() == Side.CLIENT) {           

        Minecraft.getMinecraft().getRenderItem().getItemModelMesher()                     

              .register(Item.getItemFromBlock(block), 0, new ModelResourceLocation("testenvironmentmod:copperblock", "inventory"));         }         

    GameRegistry.addRecipe(new ItemStack(block, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), mcreator_copperIngot.block,                 Character.valueOf('1'), mcreator_copperIngot.block, Character.valueOf('2'), mcreator_copperIngot.block, Character.valueOf('3'),                 mcreator_copperIngot.block, Character.valueOf('4'), mcreator_copperIngot.block, Character.valueOf('5'), mcreator_copperIngot.block,                 Character.valueOf('6'), mcreator_copperIngot.block, Character.valueOf('7'), mcreator_copperIngot.block, Character.valueOf('8'),                 mcreator_copperIngot.block,});

     ItemStack recStack = new ItemStack(mcreator_copperIngot.block, 9);                       GameRegistry.addShapelessRecipe(recStack, new Object[]{mcreator_copperBlock.block,});           }[/spoiler]

Last seen on 10:02, 3. Mar 2018
Joined Sep 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:RE:Create a new mod element
Sat, 05/06/2017 - 19:27

@#2.1 I forgot about one thing... Delete the second } in the end of code.