From 114c91cf4929eadae8a805abdc4e7044470b22bd Mon Sep 17 00:00:00 2001 From: ZXMushroom63 Date: Thu, 10 Apr 2025 17:31:24 +0800 Subject: [PATCH] fix rendering issue in slippery.md --- docs/tutorials/slippery.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/tutorials/slippery.md b/docs/tutorials/slippery.md index 7a13370..7c7fd61 100644 --- a/docs/tutorials/slippery.md +++ b/docs/tutorials/slippery.md @@ -15,6 +15,7 @@ We'll begin with the basic boilerplate mod code: Let's write the client side part of the code first. - We'll get the keys for the ModAPI.blocks object (ids of each block) using [`Object.keys()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys) - Then, we'll loop over those keys, and modify their respective block to be as slippery as ice. + ```javascript var blockKeys = Object.keys(ModAPI.blocks);