Translations:Modding:Advanced Blocks/16/en

From Vintage Story Wiki
Revision as of 13:39, 25 March 2024 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Let's create our block class. When naming block scripts, it is recommended to name them in the format "{Name}Block". In the case of the trampoline, we shall name our script TrampolineBlock.cs. Any block class has to extend Block, giving it the functionality we need to access: