tModLoader v2024.11
A mod to make and play Terraria mods
NullAllowedAttribute Class Reference

This attribute means the annotated item can possibly be null. This will allow the UI to make the item null. It is up to the modder to make sure the item isn't null in the ModConfig constructor and nested classes. More...

Inherits Attribute.

Detailed Description

This attribute means the annotated item can possibly be null. This will allow the UI to make the item null. It is up to the modder to make sure the item isn't null in the ModConfig constructor and nested classes.