Translations:Modding:Block Entity/21/ru: Revision history

From Vintage Story Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

    17 October 2022

    • curprev 06:5106:51, 17 October 2022Mirotworez talk contribs 510 bytes +510 Created page with "<syntaxhighlight lang="c#"> public void OnGameTick(float dt) { timer += dt; if(timer >= 3) { Block block = Api.World.BlockAccessor.GetBlock(Pos); if (block.Code.Path.EndsWith("-on")) { block = Api.World.GetBlock(block.CodeWithParts("off")); } else { block = Api.World.GetBlock(block.Code..."