All translations

From Vintage Story Wiki

Enter a message name below to show all available translations.

Message

Found one translation.

NameCurrent message text
 h English (en)<syntaxhighlight lang="c#">
           // Check a 7x7x7 area for logs
           int quantityLogs = 0;
           for (int x = -3; x <= 3; x++)
           {
               for (int y = -3; y <= 3; y++)
               {
                   for (int z = -3; z <= 3; z++)
                   {
                       Block block = api.World.BlockAccessor.GetBlock(plrpos.X + x, plrpos.Y + y, plrpos.Z + z);