• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Help - 3.0 Block Class (SecureLoot)

I'm having some trouble and I'm hoping someone might be able to help explain.

I'm trying to adapt my mods to 3.0.
I have a storage mod that uses
Code:
<property name="Class" value="SecureLoot"/>
I get the error:
2026-06-17T14:14:54 78.106 WRN Type:SecureLoot was missing when we looked it up via Type.GetType()
2026-06-17T14:14:54 78.107 ERR XML loader: Loading and parsing 'blocks.xml' failed
2026-06-17T14:14:54 78.121 EXC Class 'SecureLoot' not found on block <myblockname>

Fine, thats not a class anymore... EXCEPT it's all over the vanilla blocks.xml file.

In fact, I copied an item directly from blocks.xml using the SecureLoot class and put it in a new mod with a new name and it also blew up.

I'm trying to make sense of how stuff that works in blocks.xml doesnt work with a simple xml mod that appends an item to blocks.xml that matches the format and settings exactly.

anyone know what I'm missing here? If SecureLoot is gone, fine, but how is the default blocks.xml working then?

Also.... I'm aware the tile entity class seems to work (At least it doesnt blow up), but I use autosort mods that sort into nearby tile entity storage. I use storage block variants that allow me to select the TE and SL versions when placing. SL (SecureLoot) work the same as TE, but things wont autosort into them. It's how we can control what things auto sort and what things do not.
 
Cant Edit.
While I was sure I checked, my search in fiiles for "SecureLoot" seems to have picked up blocks.xml in an old backup folder. So this whole thing was wrong. New blocks.xml has none of this. Problem Solved!
 
Back
Top