Skip to content

Commit

Permalink
Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceitem committed Jun 17, 2022
1 parent 5f8478e commit 45d7bf1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down Expand Up @@ -38,6 +40,8 @@ Examples:

`convert_color([120,255,255],'hsb','hex');` -> `'00FF00'`

Example:

```py
__on_tick() -> (
if((tick_time() % 2) == 0,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 45d7bf1

Please # to comment.