Shapeless Crafting/Interface

Started by darkgallade on

Topic category: Help with MCreator software

Joined Feb 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Shapeless Crafting/Interface

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?

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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!!

Joined Mar 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Joined Sep 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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]

Joined Sep 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.