From 11eea913d4ac010ef3addd1c5346548f3313be99 Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Tue, 16 Jan 2024 06:28:44 +0100
Subject: [PATCH] datapack -> data pack .-.
---
.github/dependabot.yml | 4 ++++
README.md | 4 ++--
assets/analyzer.js | 4 ++--
assets/script.js | 4 ++--
index.html | 12 ++++++------
manifest.json | 4 ++--
package.json | 2 +-
7 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index aff82a1..782a0ad 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -4,3 +4,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "weekly"
diff --git a/README.md b/README.md
index b47c9ca..4b165c2 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-# Minecraft Datapack Analyzer
-Allows you to analyze and generate stats for [Minecraft](https://minecraft.net) Java Edition data- and resourcepacks.
+# Minecraft Pack Analyzer
+Allows you to analyze and generate stats for [Minecraft](https://minecraft.net) Java Edition data and resource packs.
![](https://raw.githubusercontent.com/DEVTomatoCake/Pack-Analyzer/main/assets/images/showcase.png)
diff --git a/assets/analyzer.js b/assets/analyzer.js
index 4802076..7ac5171 100644
--- a/assets/analyzer.js
+++ b/assets/analyzer.js
@@ -422,14 +422,14 @@ async function mainScan(hasData = false) {
(!rpMode && Object.values(dpExclusive.selectors).reduce((a, b) => a + b) != 0 ? "Selectors used:
" : "") +
Object.keys(dpExclusive.selectors).filter(i => dpExclusive.selectors[i] > 0).sort((a, b) => dpExclusive.selectors[b] - dpExclusive.selectors[a])
.map(type => "@" + type + ": " + localize(dpExclusive.selectors[type]) + "
").join("") +
- (!rpMode && Object.values(dpExclusive.folders).reduce((a, b) => a + b) != 0 ? "Datapack features used:
" : "") +
+ (!rpMode && Object.values(dpExclusive.folders).reduce((a, b) => a + b) != 0 ? "Data pack features used:
" : "") +
Object.keys(dpExclusive.folders).filter(i => dpExclusive.folders[i] > 0).sort((a, b) => dpExclusive.folders[b] - dpExclusive.folders[a])
.map(type => "" + type + ": " + localize(dpExclusive.folders[type]) + "
").join("") +
(!rpMode && Object.values(dpExclusive.tags).reduce((a, b) => a + b) != 0 ? "Tags used:
" : "") +
Object.keys(dpExclusive.tags).filter(i => dpExclusive.tags[i] > 0).sort((a, b) => dpExclusive.tags[b] - dpExclusive.tags[a])
.map(type => "" + type + ": " + localize(dpExclusive.tags[type]) + "
").join("") +
- (rpMode && Object.values(rpExclusive).reduce((a, b) => a + b) != 0 ? "
Resourcepack features used:
" : "") +
+ (rpMode && Object.values(rpExclusive).reduce((a, b) => a + b) != 0 ? "
Resource pack features used:
" : "") +
Object.keys(rpExclusive).filter(i => rpExclusive[i] > 0).sort((a, b) => rpExclusive[b] - rpExclusive[a])
.map(type => "" + type + ": " + localize(rpExclusive[type]) + "
").join("")
diff --git a/assets/script.js b/assets/script.js
index b0874f2..ed7ed6a 100644
--- a/assets/script.js
+++ b/assets/script.js
@@ -247,12 +247,12 @@ function createImage() {
.forEach(type => ctx.fillText("@" + type + ": " + localize(dpExclusive.selectors[type]), x + 30, y++ * lineHeight, maxWidth))
}
if (!rpMode && Object.values(dpExclusive.folders).reduce((a, b) => a + b) != 0) {
- ctx.fillText("Datapack features used:", x, y++ * lineHeight, maxWidth)
+ ctx.fillText("Data pack features used:", x, y++ * lineHeight, maxWidth)
Object.keys(dpExclusive.folders).filter(i => dpExclusive.folders[i] > 0).sort((a, b) => dpExclusive.folders[b] - dpExclusive.folders[a])
.forEach(type => ctx.fillText(type + ": " + localize(dpExclusive.folders[type]), x + 30, y++ * lineHeight, maxWidth))
}
if (rpMode && Object.values(rpExclusive).reduce((a, b) => a + b) != 0) {
- ctx.fillText("Resourcepack features used:", x, y++ * lineHeight, maxWidth)
+ ctx.fillText("Resource pack features used:", x, y++ * lineHeight, maxWidth)
Object.keys(rpExclusive).filter(i => !isNaN(i) && rpExclusive[i] > 0).sort((a, b) => rpExclusive[b] - rpExclusive[a])
.forEach(type => ctx.fillText(type + ": " + localize(rpExclusive[type]), x + 30, y++ * lineHeight, maxWidth))
}
diff --git a/index.html b/index.html
index 08c43d4..fdbfbef 100644
--- a/index.html
+++ b/index.html
@@ -4,8 +4,8 @@
-
- Made in HTML, plain JavaScript and CSS, this site allows you to get usage stats from your Minecraft datapacks and resourcepacks.
+ Made in HTML, plain JavaScript and CSS, this site allows you to get usage stats from your Minecraft data and resource packs.
It also allows analyzing of whole worlds and shaders.
Everything is done locally, no data ever gets sent to any server (except for anonymous Cloudflare statistics).
diff --git a/manifest.json b/manifest.json
index 4e1350b..1388db3 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,5 +1,5 @@
{
- "name": "Minecraft Datapack and Resourcepack Analyzer",
+ "name": "Minecraft Data and Resource pack Analyzer",
"short_name": "MC Pack Analyzer",
"icons": [
{
@@ -51,7 +51,7 @@
"scope": "/",
"theme_color": "#216E4A",
"lang": "en",
- "description": "A tool which allows you to analyze Minecraft Java datapacks and resourcepacks, and generate stats and share from them.",
+ "description": "A tool which allows you to analyze Minecraft Java data and resource packs, and generate stats and share from them.",
"screenshots": [
{
"src": "/assets/images/showcase1.png",
diff --git a/package.json b/package.json
index 4e0c369..75c9e07 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "pack-analyzer",
"version": "2.0.0",
"private": true,
- "description": "Allows you to analyze and generate stats for [Minecraft](https://minecraft.net) Java Edition datapacks and resourcepacks.",
+ "description": "Allows you to analyze and generate stats for [Minecraft](https://minecraft.net) Java Edition data and resource packs.",
"main": "index.html",
"author": "TomatoCake",
"license": "CC BY-NC-SA 4.0 https://creativecommons.org/licenses/by-nc-sa/4.0",