mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 14:11:16 -09:00
fix rendering issue in slippery.md
This commit is contained in:
parent
a420e22fc7
commit
114c91cf49
@ -15,6 +15,7 @@ We'll begin with the basic boilerplate mod code:
|
|||||||
Let's write the client side part of the code first.
|
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)
|
- 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.
|
- Then, we'll loop over those keys, and modify their respective block to be as slippery as ice.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var blockKeys = Object.keys(ModAPI.blocks);
|
var blockKeys = Object.keys(ModAPI.blocks);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user