tModLoader v2023.01
A mod to make and play Terraria mods
|
Inherits Terraria.ModLoader.IPlant.
Inherited by Terraria.ModLoader.ModPalmTree, and Terraria.ModLoader.ModTree.
Public Member Functions | |
bool | Shake (int x, int y, ref bool createLeaves) |
int | TreeLeaf () |
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 | |
TreeTypes | CountsAsTreeType [get] |
Properties inherited from Terraria.ModLoader.IPlant | |
int[] | GrowsOnTileId [get, set] |
int | PlantTileId [get] |
int | VanillaCount [get] |
bool Terraria.ModLoader.ITree.Shake | ( | int | x, |
int | y, | ||
ref bool | createLeaves | ||
) |
Implemented in Terraria.ModLoader.ModTree, and Terraria.ModLoader.ModPalmTree.
int Terraria.ModLoader.ITree.TreeLeaf | ( | ) |
Implemented in Terraria.ModLoader.ModTree, and Terraria.ModLoader.ModPalmTree.
|
get |
Implemented in Terraria.ModLoader.ModTree, and Terraria.ModLoader.ModPalmTree.