So the error says "Extends block switch is not specified for block shieldSwitchMaster"
and it stops the game from running
here's two sections of the code from the blocks.xml config file
and what I just added to get the error:
and it stops the game from running
here's two sections of the code from the blocks.xml config file
Code:
<block id="2002" name="switch">
<property name="Class" value="Switch"/>
<property name="Material" value="Mmetal_weak"/>
<property name="StabilitySupport" value="false"/>
<property name="Shape" value="ModelEntity"/>
<property name="Mesh" value="models"/>
<property name="Model" value="Entities/Electrical/power_switchPrefab"/> <property name="HandleFace" value="South"/>
<property name="ImposterDontBlock" value="true"/>
<property name="RequiredPower" value="0"/>
<property name="TriggerType" value="Switch"/>
<property name="Group" value="Science"/>
<property class="RepairItems"> <property name="forgedIron" value="2"/> </property>
<drop event="Destroy" name="scrapIron" count="5" prob="1"/>
<drop event="Fall" name="scrapMetalPile" count="1" prob="0.75" stick_chance="1"/>
<property name="TakeDelay" value="5"/>
<property name="EconomicValue" value="50"/>
</block>
Code:
<block id="1493" name="shieldSwitchMaster">
<property name="Extends" value="switch"/>
<property name="Material" value="bedrock"/>
</block>
<block id="1494" name="switchRed">
<property name="Extends" value="shieldSwitchMaster"/>
</block>