|
tModLoader v2023.01
A mod to make and play Terraria mods
|
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...
Inherits Terraria.ModLoader.IPlant.
Public Member Functions | |
| abstract Asset< Texture2D > | GetFruitTexture () |
| abstract Asset< Texture2D > | GetTexture () |
| abstract void | SetStaticDefaults () |
Public Member Functions inherited from Terraria.ModLoader.IPlant | |
| abstract Asset< Texture2D > | GetTexture () |
| void ILoadable. | Load (Mod mod) |
| Called when loading the type. More... | |
| abstract void | SetStaticDefaults () |
| void ILoadable. | Unload () |
| Called during unloading when needed. More... | |
Public Member Functions inherited from Terraria.ModLoader.ILoadable | |
| virtual bool | IsLoadingEnabled (Mod mod) |
| Whether or not this type should be loaded when it's told to. Returning false disables Mod.AddContent from actually loading this type. More... | |
| abstract void | Load (Mod mod) |
| Called when loading the type. More... | |
| abstract void | Unload () |
| Called during unloading when needed. More... | |
Properties | |
| int[] | GrowsOnTileId [get, set] |
| 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. More... | |
| int | VanillaCount [get] |
Properties inherited from Terraria.ModLoader.IPlant | |
| int[] | GrowsOnTileId [get, set] |
| int | PlantTileId [get] |
| int | VanillaCount [get] |
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.
|
pure virtual |
Implements Terraria.ModLoader.IPlant.
|
pure virtual |
Implements Terraria.ModLoader.IPlant.
|
getset |
Implements Terraria.ModLoader.IPlant.
|
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.
Implements Terraria.ModLoader.IPlant.
|
get |
Implements Terraria.ModLoader.IPlant.