Skip to content

Releases: OKTW-Network/Creative-Utilities

v4.1.0

30 Mar 08:00

Choose a tag to compare

Target pack format: 94.1 (Minecraft 1.21.11)

Changes

  • Unified all the .mcfunction files to have an empty line at the end.

Functions

  • Fixed config/record/world/reset_world and reset_player, which may not reset properly.
  • Fixed a score holder missing its hashtag prefix in the data/compound/match.
  • Abandoned data/digit/boolean_reverse and replaced with data/digit/invert_boolean.
    • Corrects the confusion caused by using the wrong word.
    • The function will remain until the next major update (v5).
  • Abandoned some function options named "reverse" and replaced them with "invert".
    • Corrects the confusion caused by using the wrong word.
    • Affected functions:
      • data/compound/
      • entity/target/filter/
    • These option names will remain until the next major update (v5).
  • Added lazy_query and easy_new for world_storage/ and player/storage/.
  • Added data/digit/easy_binary_search.

Full Changelog: v4.0.0...v4.1.0

v4.0.0

24 Mar 06:28

Choose a tag to compare

Target pack format: 94.1 (Minecraft 1.21.11)

Changes

  • No longer depends on the Math Integration data pack.
  • Removed all item, block, and entity type tags under the minecraft namespace.
  • Removed global namespace.
  • Removed config.mcfunction, which is replaced by the new system.
  • Renamed directories due to changes made in pack format 48.
  • Renamed the custom dimension "data_temp" to "simulation".
    • Minimum Y is now -16, a total of 48 blocks high.
    • Chunk (0, 0) is now named "primary".
      • The setup function will retry in the following ticks until the chunk is loaded.
      • Removed the barrel block at (0, 0, 0) and its marker entity.
      • Renamed the entity tag of marker entities.
      • Added functions for specific blocks or areas.
      • Added "block_testing" area.
        • Box 7x7, room 5x5.
        • Used to test blocks or treated as a small sandbox room.

Functions

  • Refactored all the functions... again...
    • Functions should now return a successful condition or a result.
    • Functions that require preconditions will check and return failure rather than running into nowhere.
    • Unified names of data storage, scoreboard objective, fake player naming, and entity tag.
    • Complicated functions now have proper comments, especially those with preconditions and/or options.
  • Changes to the structure and names everywhere.
    • Some internal functions prefixed with an underscore(_) have been renamed to "_func" or moved to that folder.
    • The function name's prefix indicates whether it is a macro and uses macros.
      • Name prefixes:
        • "lazy" - A macro that does not use macros in its sub-functions.
        • "lax" - A macro that also uses macros in its sub-functions.
        • "easy" - A non-macro function, but uses macros in its sub-functions.
      • Not applied to major and internal functions.
  • Removed uuid/.
    • Replaced uuid/generate_uuid with data/generate_uuid.
  • Removed data_storage/.
  • Added world_storage/ and player/storage/.
    • Data are stored in cu:storage data storage.
    • cu:storage world
      • A list of compounds that have two properties: id and data.
      • id - A string used for later identification.
      • data - A compound where data are actually stored.
      • Directly inserting data may cause ID duplication and corrupt it.
      • When modifying, try the functions provided first.
    • cu:storage player
      • A list of compounds that have two properties: uuid and data.
      • uuid - Same format as UUID of the entity data, describes the UUID of the corresponding player.
      • data - A compound where data are actually stored.
      • Directly inserting data may cause duplication and corrupt it.
      • When modifying, try the functions provided first.
  • Added config/.
    • A replacement or an enhancement of the old file-based config system.
    • First, when cu has been called through the #minecraft:load function tag:
      1. The register gathers "raw registry" through the #cu:config/register function tag.
      2. Process and cache into the cu:cache config_registry data storage.
      3. Based on the registry, generate default records in the cu:storage world.
    • After initialization, records can then be recognized through the NBT path.
    • Modifying records should always be done through the provided "request" function, which can maintain the record's entry specification.
  • player/trigger/
    • Moved into player/ (-> player/trigger/).
    • Removed all triggers except first_time_join_game and join_game.
    • Added:
      • using_item
        • Similar to old using_shield, but can be any item with a specific custom data component rather than just the shield item.
      • All player input related counter scoreboards.
  • data/
    • Renamed from value/ to data/.
    • Added:
      • rotation_to_vector
      • generate_uuid
      • A series of "lazy" functions related to the /data command.
    • data/digit/
      • Removed:
        • length
          • Replaced by data/string/length.
        • rotation_vector
          • Replaced by data/rotation_to_vector.
      • Added:
        • addition
        • average
        • power
        • bulk_limit
      • boolean_reverse
        • Accepts lax values, which means values smaller than 0 are treated as 0 (false); greater than 1 are treated as 1 (true).
      • sequence
        • Added an option to exclude the base value.
    • data/compound/
      • Renamed from value/object/ to data/compound/.
      • Refactored match and variants, should work normally now.
    • data/list/
      • Removed:
        • quantity
          • Replaced by find.
        • include
          • Replaced by find.
        • mix
      • Added:
        • find
        • easy_deduplicate
      • difference
        • Changed to outputs in a list of compounds instead of a compound.
      • index
        • Added an option to output remnants also.
    • data/string/
      • Removed:
        • static
          • Replaced by resolve_raw.
        • plural
      • Added:
        • lazy_join3
        • easy_join
        • length
        • resolve_raw
      • broadcast_raw
        • Renamed from broadcast to broadcast_raw.
  • block/
    • Removed:
      • container/
      • drop_item
    • Added:
      • tests_attachable_face
  • item/
    • Removed:
      • get_item_slot
    • Added:
      • summon_list
      • give_list
      • get_player_head
      • lazy_replace
    • replace/
      • Renamed from replaceitem/ to replace/.
      • Added two sub-functions: contents and player_cursor.
  • entity/
    • Removed:
      • damage_reduction/
        • Suppressed by the vanilla damage type and tags.
      • get
      • hitbox
      • find_player
      • temp_knockback
    • Added:
      • get_name
      • get_type
      • find_vehicle_root
      • void
      • lazy_damage
    • get_player_head
      • Moved out from get/ (-> entity/get_player_head)
    • generate_volume_selection_info
      • Renamed and moved from entity/hitbox/create_volume_value to entity/generate_volume_selection_info

The changes mentioned above are not the full picture; re-examining all functions is necessary for upgrading the dependents.

Full Changelog: v3.1.0...v4.0.0

v3.1.0

19 Jan 05:51

Choose a tag to compare

Target Minecraft version: 1.19.4

Required dependency:

Changes

  • Fix input value range
  • Add object find targets
  • Add get player head and player name

Full Changelog: v3.0.1...v3.1.0

v3.0.1

19 Jan 03:36

Choose a tag to compare

Target Minecraft version: 1.19.4

Required dependency:

Changes

  • Fix version check
  • Fix advancement criteria name
  • Improve config descriptions

Full Changelog: v3.0.0...v3.0.1

v3.0.0

04 Jul 01:22

Choose a tag to compare

Target Minecraft version: 1.19.4

Required dependency:

Changes

  • Refactored all the functions
  • Added "temp" scoreboard objective

...and many breaking changes everywhere, will complete the documentation elsewhere...

Full Changelog: v2.0.2...v3.0.0

v2.0.2

22 Jan 23:28

Choose a tag to compare

Required Minecraft version: 1.16.5

Required dependency:

IMPORTANT: Does not load and tick itself in this version.

Changes

  • Removed miniUUID.
  • Update block/item/entity tags.
  • Added trigger "first join game".
  • Added replaceitem.
  • Added string convert.
  • Added list index and mix.

v1.0.7

25 May 02:49

Choose a tag to compare

Required Minecraft version: 1.15.2

Required dependency: