• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Object Class properties

skyraven

New member
Hi guys, does anyone know where can i get the complete list of 'Class' of all the Blocks or Items?

for example:

To create a new customer lootable myAmmoCase, we extend the xpath blocks with the new modded Blocks.xml. we create the <block> and set the Object Properties "Class" to "Loot":

        <block name="myAmmoCase">
            <property name="CreativeMode" value="Player"/>
            <property name="Class" value="Loot"/>
            <property name="Material" value="Mmetal"/>

            <!-- more property below -->   
        </block>

I just started 7D2D Modding, and i like to search for more information and resources that available, especially the available Classes. 

Thank you very much.

 
There's no official guidebook or anything like that, so if you insist on knowing everything, perhaps things that are implemented, but not actively used yet, you could examine the code of Assembly-CSharp.dll and see if you can find what you need there. Obviously that method would take a little while and it's only for people who understand C# code.  If you don't understand C# code and just want to learn more about modding blocks within the possibilities of what was already tried and worked, you could just examine existing blocks.xml in both vanilla and mods that may already have something similar to what you need to create.

 
Last edited by a moderator:
There's no official guidebook or anything like that, so if you insist on knowing everything, perhaps things that are implemented, but not actively used yet, you could examine the code of Assembly-CSharp.dll and see if you can find what you need there. Obviously that method would take a little while and it's only for people who understand C# code.  If you don't understand C# code and just want to learn more about modding blocks within the possibilities of what was already tried and worked, you could just examine existing blocks.xml in both vanilla and mods that may already have something similar to what you need to create.
Thank for the reply. i just manage to get back in here after the busy project.

Using Assembly.GetTypes() on the dll should able to list out the available classes/methods. do you know which dll files should i work on?

 
Back
Top