Modding:World Access/ru: Difference between revisions

From Vintage Story Wiki
Updating to match new version of source page
(Created page with "Давайте возьмем наш базовый код инициализации мода для серверного мода.")
(Updating to match new version of source page)
 
Line 1: Line 1:
{{GameVersion|1.15}}
{{GameVersion|1.15}}
<languanges/>== Получить и установить блоки через API ==
<languages/>
== Get and Set Blocks through the API ==
 
Let's Take our basic mod init code for a server mod


Давайте возьмем наш базовый код инициализации мода для серверного мода.
<syntaxhighlight lang="c#">
<syntaxhighlight lang="c#">
     public class SampleMod : ModSystem
     public class SampleMod : ModSystem
Line 136: Line 138:
   
   
I hope this taught you the basics of accessing the world. More ways to access blocks and entities will be added here in the future.
I hope this taught you the basics of accessing the world. More ways to access blocks and entities will be added here in the future.




{{Navbox/modding|Vintage Story}}
{{Navbox/modding|Vintage Story}}
43,006

edits