From 45d7bf1831eb734a9f0d39608284b90a5c83d3a1 Mon Sep 17 00:00:00 2001 From: replaceitem <40722305+replaceitem@users.noreply.github.com> Date: Fri, 17 Jun 2022 13:36:08 +0200 Subject: [PATCH] Readme update --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e29d2d1..ac06911 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ # scarpet-additions -![scarpet-additions](src/main/resources/assets/scarpet-additions/icon.png) +![scarpet-additions](https://raw.githubusercontent.com/replaceitem/scarpet-additions/master/src/main/resources/assets/scarpet-additions/icon.png) -## A Carpet extension for some additional scarpet functions +## A [Carpet mod](https://github.com/gnembon/fabric-carpet) extension for some additional [scarpet](https://github.com/gnembon/fabric-carpet/wiki/Scarpet) functions + +**Reqires [Carpet mod](https://github.com/gnembon/fabric-carpet/releases)** If you need help, message me on discord (replaceitem#9118) or ping me in the [Carpet mod discord](https://discord.gg/gn99m4QRY4) @@ -38,6 +40,8 @@ Examples: `convert_color([120,255,255],'hsb','hex');` -> `'00FF00'` +Example: + ```py __on_tick() -> ( if((tick_time() % 2) == 0, @@ -82,7 +86,7 @@ Makes a http request. Can be used to access APIs or other stuff. Returns a map/list structure converted from the json response. If the request failed, returns `null`. -If the requested +If the requested Note that this function is blocking, meaning that if it is executed on the main game thread,