BlockConfig.xml

Editing BlockConfig.xml

The basics behind BlockConfig.xml and what options you can edit and what the options mean.
This will try and assist you in understanding the code and understanding how to edit this specific code.

Default

The following is the code for the standard grey hull block.

<Block icon="25" name="Grey Hull" textureId="16" type="HULL_COLOR_GREY_ID">
<IndividualSides>1</IndividualSides>
<Price>125</Price>
<Description>A simple hull.\n\r&#13;\n\r&#13;This hull provides basic protection against projectiles.\n\r&#13;They provide $ARMOUR% Armour and $HP HP.\n\r&#13;\n\r&#13;</Description>
<CubatomRecipe>
<mass>heavy</mass>
<spinning>anti_spin</spinning>
</CubatomRecipe>
<CubatomCompound>
<Cubatom>
<mass>medium</mass>
<spinning>anti_spin</spinning>
<thermal>liquid</thermal>
<conductivity>insulator</conductivity>
</Cubatom>
<Cubatom>
<mass>medium</mass>
<spinning>anti_spin</spinning>
<thermal>gas</thermal>
<conductivity>conductive</conductivity>
</Cubatom>
</CubatomCompound>
<Animated>false</Animated>
<Armour>25</Armour>
<Transparency>false</Transparency>
<InShop>true</InShop>
<Orientation>false</Orientation>
<Enterable>false</Enterable>
<LightSource>false</LightSource>
<Hitpoints>100</Hitpoints>
<Placable>true</Placable>
<InRecipe>true</InRecipe>
<CanActivate>false</CanActivate>
<Physical>true</Physical>
<BlockStyle>0</BlockStyle>
<LightSourceColor>1.0,1.0,1.0</LightSourceColor>
</Block>

Broken up with explanations

<Block icon="25" name="Grey Hull" textureId="16" type="HULL_COLOR_GREY_ID">
<!--Start of the configuration of the block, it shows the icon ID, the block name, the texture ID and the block type.-->

<IndividualSides>1</IndividualSides>
<!--This option configures how manny individual sides this specific block has.-->

<Price>125</Price>
<!--This option decides the block it's price, in credits.-->

<Description>A simple hull.\n\r&#13;\n\r&#13;This hull provides basic protection against projectiles.\n\r&#13;They provide $ARMOUR% Armour and $HP HP.\n\r&#13;\n\r&#13;</Description>
<!--The description of this object, a new line is done by this command '\n\r&#13;', the armor strength is shown with this method '$ARMOUR%' and the hp is shown with this command -->'$HP'

<CubatomRecipe>
<!--Start of the CubatomRecipe.-->

<mass>heavy</mass>
<!--Needs editing still-->

<spinning>anti_spin</spinning>
<!--Needs editing still-->

</CubatomRecipe>
<!--Needs editing still-->

<CubatomCompound>
<!--Needs editing still-->

<Cubatom>
<!--Needs editing still-->

<mass>medium</mass>
<!--Needs editing still-->

<spinning>anti_spin</spinning>
<!--Needs editing still-->

<thermal>liquid</thermal>
<!--Needs editing still-->

<conductivity>insulator</conductivity>
<!--Needs editing still-->

</Cubatom>
<!--Needs editing still-->

<Cubatom>
<!--Needs editing still-->

<mass>medium</mass>
<!--Needs editing still-->

<spinning>anti_spin</spinning>
<!--Needs editing still-->

<thermal>gas</thermal>
<!--Needs editing still-->

<conductivity>conductive</conductivity>
<!--Needs editing still-->

</Cubatom>
<!--Needs editing still-->

</CubatomCompound>
<!--Needs editing still-->

<Animated>false</Animated>
<!--Needs editing still-->

<Armour>25</Armour>
<!--Needs editing still-->

<Transparency>false</Transparency>
<!--Needs editing still-->

<InShop>true</InShop>
<!--Needs editing still-->

<Orientation>false</Orientation>
<!--Needs editing still-->

<Enterable>false</Enterable>
<!--Needs editing still-->

<LightSource>false</LightSource>
<!--Needs editing still-->

<Hitpoints>100</Hitpoints>
<!--Needs editing still-->

<Placable>true</Placable>
<!--Needs editing still-->

<InRecipe>true</InRecipe>
<!--Needs editing still-->

<CanActivate>false</CanActivate>
<!--Needs editing still-->

<Physical>true</Physical>
<!--Needs editing still-->

<BlockStyle>0</BlockStyle>
<!--Needs editing still-->

<LightSourceColor>1.0,1.0,1.0</LightSourceColor>
<!--Needs editing still-->

</Block>
<!--And the end of the block configuration.-->

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis
Looking for a server?

Join Techworld - an amazing custom modpack server.