Jump to content

Smelting other materials in the forge


nuc2019

Recommended Posts

Hi guys!

 

I'm currently writing a mod and would like to use the forge as a system to store some materials for the recipes.

But I can't figure out where the smelting takes place.

 

I also can't find the controllers like "WorkstationMaterialInputWindow" and "WorkstationMaterialInputGrid" anywhere under "controllers.xml"

 

I tried to change the input materials but it doesn't smelt any material now.

 

blocks.xml

<property class="Workstation">
<property name="Modules" value="tools,output,fuel,input,material_input"/>
<property name="InputMaterials" value="stone,clay,sand,coal,glas,iron"/>
</property>

 

windows.xml

<window name="windowFilterSystemInput" width="254" height="214" panel="Right" controller="WorkstationMaterialInputWindow" materials_accepted="stone,clay,sand,coal,glass,iron" valid_materials_color="[green]" invalid_materials_color="[red]" cursor_area="true" >

 

Made new items. Yes I want to smelt/save coal in the modified new forge I want to built and other materials

 

<item name="unit_coal">
<property name="Extends" value="unit_iron"/>
<property name="CustomIcon" value="resourceCoal"/>
<property name="Material" value="MresourceCoal"/>
</item>

 

Also made some recipes that use those materials.

 

I don't really get it how the forge melts things and where I need to tweak to get it run for other materials too.

Does someone already tried to smelt other materials or knows about the smelting mechanic and which files are needed to get it done?

 

Thanks for the help!

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...