Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource Pack Utilities Plugin #568

Merged
merged 5 commits into from
Jul 1, 2024
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
15 changes: 15 additions & 0 deletions plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,21 @@
"creation_date": "2024-01-20",
"has_changelog": true
},
"resource_pack_utilities": {
"title": "Resource Pack Utilities",
"icon": "icon.png",
"author": "Ewan Howell",
"description": "A collection of utilities to assist with resource pack creation.",
"tags": ["Minecraft: Java Edition", "Resource Packs", "Utilities"],
"version": "1.0.0",
"min_version": "4.10.0",
"variant": "desktop",
"website": "https://ewanhowell.com/plugins/resource-pack-utilities/",
"repository": "https://github.com/ewanhowell5195/blockbenchPlugins/tree/main/resource_pack_utilities",
"bug_tracker": "https://github.com/ewanhowell5195/blockbenchPlugins/issues?title=[Resource Pack Utilities]",
"creation_date": "2024-07-01",
"has_changelog": true
},
"threecore_exporter": {
"title": "ThreeCore Exporter",
"author": "Lucas, Spyeedy",
Expand Down
95 changes: 95 additions & 0 deletions plugins/resource_pack_utilities/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<div id="about-content">
<p>This plugin contains a collection of utilities to assist with resource pack creation.</p>
<h2>How to use</h2>
<p>To use this plugin, go <strong>Tools > Resource Pack Utilities</strong>, then select the utility you would like to use.</p>
<h2>Utilities</h2>
<ul>
<li>
<h3>Batch Exporter</h3>
<p>Batch Exporter is a tool that will export every bbmodel file within a folder to an output folder using the selected format.</p>
</li>
<li>
<h3>CIT Optimiser</h3>
<p>CIT Optimiser is a tool that will go through all properties files in an OptiFine CIT folder and optimise them to be as small as possible, removing any unnecessary data.</p>
</li>
<li>
<h3>JSON Optimiser</h3>
<p>JSON Optimiser is a tool that will go through all JSON files in a folder and optimise them to be as small as possible, minifying them and removing any unnecessary data.</p>
</li>
<li>
<h3>Lang Stripper</h3>
<p>Lang Stripper is a tool that will go through all the language files in an resource pack and remove any entries that have not been modified.</p>
</li>
<li>
<h3>Pack Cleaner</h3>
<p>Pack Cleaner is a tool that will go through all the files in a resource pack and compare them against the vanilla assets, removing them if they are unmodified.</p>
</li>
<li>
<h3>Pack Creator</h3>
<p>Pack Creator is a tool that allows you to create template resource packs, as well as get the vanilla textures, models, sounds, etc…</p>
</li>
</ul>
</div>
<style>
.about {
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
#about-content {
overflow-y: auto;
min-height: 128px;
}
#about-content h3 {
margin-bottom: -4px;
font-weight: 600;
}
#about-markdown-links {
display: flex;
justify-content: space-around;
margin: 20px 20px 0;
}
#about-markdown-links > a {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
padding: 5px;
text-decoration: none;
flex-grow: 1;
flex-basis: 0;
color: var(--color-subtle_text);
text-align: center;
}
#about-markdown-links > a:hover {
background-color: var(--color-accent);
color: var(--color-light);
}
#about-markdown-links > a > i {
font-size: 32px;
width: 100%;
max-width: initial;
height: 32px;
text-align: center;
}
#about-markdown-links > a:hover > i {
color: var(--color-light) !important;
}
#about-markdown-links > a > p {
flex: 1;
display: flex;
align-items: center;
margin: 0;
}
</style>
<div id="about-markdown-links">
<a href="https://ewanhowell.com/">
<i class="material-icons icon" style="color: rgb(51, 227, 142);">language</i>
<p>By Ewan Howell</p>
</a>
<a href="https://discord.ewanhowell.com/">
<i class="fa_big icon fab fa-discord" style="color: rgb(114, 127, 255);"></i>
<p>Discord Server</p>
</a>
</div>
15 changes: 15 additions & 0 deletions plugins/resource_pack_utilities/changelog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"1.0.0": {
"title": "1.0.0",
"date": "2024-07-01",
"author": "Ewan Howell",
"categories": [
{
"title": "New Features",
"list": [
"Initial release"
]
}
]
}
}
Binary file added plugins/resource_pack_utilities/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading