Skip to content

Commit

Permalink
Updated properties documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Swofty-Developments committed Nov 23, 2023
1 parent 3775731 commit d65af13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .docs/api/properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Property "types" are handled by [SlimeProperty][1] instances. Whilst not allowin
// Create a new and empty property map
SlimePropertyMap properties = new SlimePropertyMap();

properties.setString(SlimeProperties.DIFFICULTY, "normal");
properties.setInt(SlimeProperties.SPAWN_X, 123);
properties.setInt(SlimeProperties.SPAWN_Y, 112);
properties.setInt(SlimeProperties.SPAWN_Z, 170);
properties.setValue(SlimeProperties.DIFFICULTY, "normal");
properties.setValue(SlimeProperties.SPAWN_X, 123);
properties.setValue(SlimeProperties.SPAWN_Y, 112);
properties.setValue(SlimeProperties.SPAWN_Z, 170);
/* Add as many as you like */
```

Expand Down

0 comments on commit d65af13

Please sign in to comment.