Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@
"icon": "azureicon.png",
"description": "Create animated blocks, items, entity, and armor using the AzureLib library and plugin. This is a fork of Geckolib and cross compatibility will not be promised in the future.",
"tags": ["Minecraft: Java Edition"],
"version": "1.0.8",
"version": "1.0.9",
"min_version": "4.8.0",
"new_repository_format": true,
"await_loading": true,
Expand Down
2 changes: 1 addition & 1 deletion plugins/azurelib_utils/azurelib_utils.js

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions plugins/azurelib_utils/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,24 @@
]
}
]
},
"1.0.9": {
"title": "1.0.9",
"date": "2024-06-03",
"author": "AzureDoom",
"categories": [
{
"title": "Changes",
"list": [
"Fixes some plugin meta data inconsistencies, thanks to ewanhowell5195"
]
},
{
"title": "Fixes",
"list": [
"Fixes crash if setting steps to 0 or nothing then clicking away, as per the issue #513"
]
}
]
}
}
1 change: 1 addition & 0 deletions src/azurelib_utils/easing.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ function findIntervalBorderIndex(point, intervals, useRightBorder) {
}

function stepRange(steps, stop = 1) {
if (!steps) throw new Error("steps must be provided and greater than 2, got: " + steps);
if (steps < 2) throw new Error("steps must be > 2, got:" + steps);
const stepLength = stop / steps;
return Array.from({
Expand Down
1 change: 0 additions & 1 deletion src/azurelib_utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ if (!semverSatisfies(semverCoerce(Blockbench.version), SUPPORTED_BB_VERSION_RANG
{},
blockbenchConfig,
{
name: blockbenchConfig.title,
version,
await_loading: true,
onload() {
Expand Down
9 changes: 6 additions & 3 deletions src/azurelib_utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azurelib_utils",
"version": "1.0.8",
"version": "1.0.9",
"private": true,
"description": "AzureLib Animator",
"main": "index.js",
Expand All @@ -21,14 +21,17 @@
"description": "Create animated blocks, items, entity, and armor using the AzureLib library and plugin. This is a fork of Geckolib and cross compatibility will not be promised in the future.",
"min_version": "4.8.0",
"max_version": "5.0.0",
"new_repository_format": "true",
"new_repository_format": "true",
"variant": "both",
"creation_date": "2023-04-04",
"contributes": {
"formats": ["azure_model"]
},
"has_changelog": true,
"website": "https://wiki.azuredoom.com/readme-1"
"website": "https://wiki.azuredoom.com/readme-1",
"tags": [
"Minecraft: Java Edition"
]
},
"sideEffects": [
"./index.js"
Expand Down