I was taking a peek through the files of the game and I was just curious how I would be able to make new blocks that didn't crash my game. Mostly extensions of current blocks. Iron bars being able to be upgraded to steel bars with 10,000 hit points for example. I attempted throwing a mod together, but naturally it didn't work since this is my first try doing something like this. I tried using the bases of other blocks and kind of frankenstening them together, but the server won't load after lol If I could get some insight as to how the game thinks or what it is looking for it would make it easier to wrap my head around how to start adding in new blocks to play around with modding. Thank you guys. Here is what I came up with for my mod.
<block id="1990" name="Steelbars">
<property name="CustomIcon" value="ironBars"/>
<property name="Material" value="Mmetal_hard"/>
<property name="Shape" value="New"/>
<property name="LightOpacity" value="0"/>
<property name="Model" value="iron_bars_"/>
<property name="Texture" value="571"/>
<property name="ImposterExclude" value="true"/>
<property name="UseGlobalUV" value="Local"/>
<property name="Place" value="TowardsPlacer"/>
<property name="Collide" value="movement,melee,rocket"/> <!-- -rocket -->
<property class="RepairItems"> <property name="forgedSteel" value="10"/> </property>
<drop event="Harvest" name="scrapIron" count="32"/>
<drop event="Destroy" count="0"/>
<drop event="Fall" name="scrapMetalPile" count="1" prob="0.75" stick_chance="1"/>
<property name="Group" value="Building"/>
<property name="EconomicValue" value="10"/>
<property name="DescriptionKey" value="ironBarsDesc"/>
<property name="DowngradeBlock" value="Ironbars"/>
</block>
<block id="1990" name="Steelbars">
<property name="CustomIcon" value="ironBars"/>
<property name="Material" value="Mmetal_hard"/>
<property name="Shape" value="New"/>
<property name="LightOpacity" value="0"/>
<property name="Model" value="iron_bars_"/>
<property name="Texture" value="571"/>
<property name="ImposterExclude" value="true"/>
<property name="UseGlobalUV" value="Local"/>
<property name="Place" value="TowardsPlacer"/>
<property name="Collide" value="movement,melee,rocket"/> <!-- -rocket -->
<property class="RepairItems"> <property name="forgedSteel" value="10"/> </property>
<drop event="Harvest" name="scrapIron" count="32"/>
<drop event="Destroy" count="0"/>
<drop event="Fall" name="scrapMetalPile" count="1" prob="0.75" stick_chance="1"/>
<property name="Group" value="Building"/>
<property name="EconomicValue" value="10"/>
<property name="DescriptionKey" value="ironBarsDesc"/>
<property name="DowngradeBlock" value="Ironbars"/>
</block>