Skip to content

Commit

Permalink
Merge pull request #660 from ewanhowell5195/master
Browse files Browse the repository at this point in the history
Free Rotation plugin
  • Loading branch information
JannisX11 authored Jan 3, 2025
2 parents b9caa26 + 9691594 commit 82ce529
Show file tree
Hide file tree
Showing 6 changed files with 686 additions and 1 deletion.
17 changes: 16 additions & 1 deletion plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,21 @@
"creation_date": "2024-07-01",
"has_changelog": true
},
"free_rotation": {
"title": "Free Rotation",
"icon": "icon.png",
"author": "Godlander & Ewan Howell",
"description": "Create Java Item models without any rotation limitations.",
"tags": ["Minecraft: Java Edition", "Rotation"],
"version": "1.0.0",
"min_version": "4.11.2",
"variant": "desktop",
"website": "https://ewanhowell.com/plugins/free-rotation/",
"repository": "https://github.com/ewanhowell5195/blockbenchPlugins/tree/main/free_rotation",
"bug_tracker": "https://github.com/ewanhowell5195/blockbenchPlugins/issues/new?title=[Free Rotation]",
"creation_date": "2024-12-20",
"has_changelog": true
},
"threecore_exporter": {
"title": "ThreeCore Exporter",
"author": "Lucas, Spyeedy",
Expand Down Expand Up @@ -888,7 +903,7 @@
"version": "0.5.1",
"variant": "desktop",
"new_respository_format" : true
},
},
"animation_to_json": {
"title": "Animation to JSON Converter",
"author": "Gaming32",
Expand Down
84 changes: 84 additions & 0 deletions plugins/free_rotation/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<div id="about-content">
<p>This format is designed to create <strong>Minecraft: Java Edition</strong> item models without the rotation limitations imposed by the game.</p>
<p>These models cannot be re-imported, so make sure to save your project as a <strong>bbmodel</strong>.</p>
<p>This format requires <strong>Minecraft 1.21.4</strong> or later.</p>
<h2 class="markdown">Usage:</h2>
<p>To use this plugin, start by creating a new model, or converting an existing cube based project into this format.</p>
<p>Configure the display settings. These will be respected as long as the size limits are not reached.</p>
<p>Use <strong>File > Export > Free Rotation Item</strong> to export your model into your resource pack.</p>
<p>When exporting, select which display slots you would like to export. The more you export, the larger the file size, so only export what you need.</p>
</div>
<style>
.about {
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
#about-content {
overflow-y: auto;
min-height: 128px;
}
#about-content > img {
width: 100%;
height: 128px;
object-fit: contain;
margin: 16px 0 24px;
filter: drop-shadow(0 3px 10px #0006);
}
#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://github.com/Godlander">
<i class="fa_big icon fab fa-github" style="color: #6E40C9;"></i>
<p>By Godlander</p>
</a>
<a href="https://discord.gg/2s6th9SvZd">
<i class="fa_big icon fab fa-discord" style="color: #727FFF;"></i>
<p>Godlander's Discord</p>
</a>
<a href="https://ewanhowell.com/">
<i class="material-icons icon" style="color: #33E38E;">language</i>
<p>By Ewan Howell</p>
</a>
<a href="https://discord.ewanhowell.com/">
<i class="fa_big icon fab fa-discord" style="color: #727FFF;"></i>
<p>Ewan's Discord</p>
</a>
</div>
15 changes: 15 additions & 0 deletions plugins/free_rotation/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-12-20",
"author": "Godlander & Ewan Howell",
"categories": [
{
"title": "New Features",
"list": [
"Initial release"
]
}
]
}
}
Loading

0 comments on commit 82ce529

Please sign in to comment.