Skip to content

Releases: moxvallix/moxlib

Moxlib v0.5.8

24 Aug 14:01

Choose a tag to compare

[0.5.8] - 2023-08-24

Added

  • Data / Array / Reverse, to reverse the order of an array.
  • Helpers / Inventory / Insert, to handle adding items to inventory NBT.

Changed

  • Predicates have been updated to the 1.20 format.

Moxlib v0.5.7

28 Jun 01:11

Choose a tag to compare

[0.5.7] - 2023-04-01

Added

  • Verify function, to check that Moxlib is installed.
  • Data / Array / Slice, to select data from an array between the start and end indexes.
  • String / ASCII
    • Table, a two dimensional array, of all the ASCII characters at their correct co-ordinates.
    • Reference, an object containing all ASCII characters that can't be directly written in NBT.
    • Encode, given a character, return it's ASCII index as a byte.
    • Decode, given an index, return it's corresponding ASCII character.

Fixed

  • Math / Random $rand_112 and $rand_128 are now correctly set to their respective ranges.

Moxlib v0.5.6

28 Jun 01:10

Choose a tag to compare

[0.5.6] - 2023-02-20

Changed

  • Math / Constants now have 2000, 4000, 8000, and 10000.
  • Helpers / Block / Get can now get block states.
  • Running all tests from Test / Start will display a percentage of successful tests.

Moxlib v0.5.5

28 Jun 01:10

Choose a tag to compare

[0.5.5] - 2023-02-03

Fixed

  • Version number set correctly again.
  • String / Filter, being inconsistent because entities randomly re-order tags, is now fixed.

Moxlib v0.5.4

28 Jun 01:09

Choose a tag to compare

[0.5.4] - 2023-02-02

Added

  • Helpers / Block / Place, places the given block at ~ ~ ~. Runs a callback when it has finished.

Moxlib v0.5.3

28 Jun 01:08

Choose a tag to compare

[0.5.3] - 2023-02-01

Added

  • String / Filter, returns true if the given string is not in the target array.
  • String / Resolve, returns the given JSON text string resolved as the executing entity.

Moxlib v0.5.2

28 Jun 01:08

Choose a tag to compare

[0.5.2] - 2023-01-30

Added

  • Predicates to detect a player sneaking, swimming, sprinting, or on fire.

Moxlib v0.5.1

28 Jun 01:07

Choose a tag to compare

[0.5.1] - 2023-01-28

Added

  • String / Newline, stores a newline character in storage moxlib:api/string/newline

Fixed

  • String / To Array now works as intended again.

Moxlib v0.5.0

20 Jan 16:36

Choose a tag to compare

[0.5.0] - 2023-01-21

Moxlib now has a sister project, Moxlib Exp.
It enables experimental features. It has its own Changelog.

Added

  • String module and documentation.

Changed

  • String to Array has been moved to the string module. Make sure to update your packs, as this is a breaking change.
  • Version info will now display Moxlib Exp version too, if the library is present.

Fixed

  • The in-game version info hadn't been updated since 0.3.0. Now reports 0.5.0.

Moxlib v0.4.1

19 Jan 01:05

Choose a tag to compare

[0.4.1] - 2023-01-19

This update only adds one function, and fixes a minor bug, thus has been marked as a patch release.

Added

  • String to Array, converts a string to an array of characters.
    • Requires snapshot 23w03a (1.19.4) or higher.

Fixed

  • Helper Data / Calculate Pages no longer reports one fewer page than it should.