|
TModLoader v1.4.4.9
TModLoader source code documentation
|
This class represents a type of modded cactus. This class encapsulates a function for retrieving the cactus's texture and an array for type of soil it grows on. More...
Inheritance diagram for Terraria.ModLoader.ModCactus:
Collaboration diagram for Terraria.ModLoader.ModCactus:Public Member Functions | |
| void | SetStaticDefaults () |
| Asset< Texture2D > | GetTexture () |
| Asset< Texture2D > | GetFruitTexture () |
| void ILoadable. | Load (Mod mod) |
| Called when loading the type. | |
| void ILoadable. | Unload () |
| Called during unloading when needed. | |
| bool | IsLoadingEnabled (Mod mod) |
| Whether or not this type should be loaded when it's told to. Returning false disables M:Terraria.ModLoader.Mod.AddContent(Terraria.ModLoader.ILoadable) from actually loading this type. | |
Properties | |
| int | PlantTileId [get] |
| The cactus will share a tile ID with the vanilla cacti (80), so that the cacti can freely convert between each other if the sand below is converted. | |
| int | VanillaCount [get] |
| int[] | GrowsOnTileId [get, set] |
This class represents a type of modded cactus. This class encapsulates a function for retrieving the cactus's texture and an array for type of soil it grows on.
Definition at line 10 of file ModCactus.cs.