Releases: OKTW-Network/Creative-Utilities
Releases · OKTW-Network/Creative-Utilities
v4.1.0
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_worldandreset_player, which may not reset properly. - Fixed a score holder missing its hashtag prefix in the
data/compound/match. - Abandoned
data/digit/boolean_reverseand replaced withdata/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_queryandeasy_newforworld_storage/andplayer/storage/. - Added
data/digit/easy_binary_search.
Full Changelog: v4.0.0...v4.1.0
v4.0.0
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
minecraftnamespace. - Removed
globalnamespace. - 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.
- Name prefixes:
- Some internal functions prefixed with an underscore(
- Removed
uuid/.- Replaced
uuid/generate_uuidwithdata/generate_uuid.
- Replaced
- Removed
data_storage/. - Added
world_storage/andplayer/storage/.- Data are stored in
cu:storagedata storage. cu:storage world- A list of compounds that have two properties:
idanddata. 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.
- A list of compounds that have two properties:
cu:storage player- A list of compounds that have two properties:
uuidanddata. uuid- Same format asUUIDof 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.
- A list of compounds that have two properties:
- Data are stored in
- Added
config/.- A replacement or an enhancement of the old file-based config system.
- First, when
cuhas been called through the#minecraft:loadfunction tag:- The register gathers "raw registry" through the
#cu:config/registerfunction tag. - Process and cache into the
cu:cache config_registrydata storage. - Based on the registry, generate default records in the
cu:storage world.
- The register gathers "raw registry" through the
- 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_gameandjoin_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.
- Similar to old
- All player
inputrelated counter scoreboards.
- Moved into
data/- Renamed from
value/todata/. - Added:
rotation_to_vectorgenerate_uuid- A series of "lazy" functions related to the
/datacommand.
data/digit/- Removed:
length- Replaced by
data/string/length.
- Replaced by
rotation_vector- Replaced by
data/rotation_to_vector.
- Replaced by
- Added:
additionaveragepowerbulk_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.
- Removed:
data/compound/- Renamed from
value/object/todata/compound/. - Refactored
matchand variants, should work normally now.
- Renamed from
data/list/- Removed:
quantity- Replaced by
find.
- Replaced by
include- Replaced by
find.
- Replaced by
mix
- Added:
findeasy_deduplicate
difference- Changed to outputs in a list of compounds instead of a compound.
index- Added an option to output remnants also.
- Removed:
data/string/- Removed:
static- Replaced by
resolve_raw.
- Replaced by
plural
- Added:
lazy_join3easy_joinlengthresolve_raw
broadcast_raw- Renamed from
broadcasttobroadcast_raw.
- Renamed from
- Removed:
- Renamed from
block/- Removed:
container/drop_item
- Added:
tests_attachable_face
- Removed:
item/- Removed:
get_item_slot
- Added:
summon_listgive_listget_player_headlazy_replace
replace/- Renamed from
replaceitem/toreplace/. - Added two sub-functions:
contentsandplayer_cursor.
- Renamed from
- Removed:
entity/- Removed:
damage_reduction/- Suppressed by the vanilla damage type and tags.
gethitboxfind_playertemp_knockback
- Added:
get_nameget_typefind_vehicle_rootvoidlazy_damage
get_player_head- Moved out from
get/(->entity/get_player_head)
- Moved out from
generate_volume_selection_info- Renamed and moved from
entity/hitbox/create_volume_valuetoentity/generate_volume_selection_info
- Renamed and moved from
- Removed:
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
Target Minecraft version: 1.19.4
Required dependency:
- Math Integration (3.0.0)
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
Target Minecraft version: 1.19.4
Required dependency:
- Math Integration (v3.0.0)
Changes
- Fix version check
- Fix advancement criteria name
- Improve config descriptions
Full Changelog: v3.0.0...v3.0.1
v3.0.0
Target Minecraft version: 1.19.4
Required dependency:
- Math Integration (v3.0.0)
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
Required Minecraft version: 1.16.5
Required dependency:
- Math integration (v2.0.2)
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.