Terraria.ModLoader.WorldHooks.PreUpdate C# (CSharp) Method