Skip to content

Commit aa0a982

Browse files
committed
Rework animations
- Reworked animations to fix inconsistencies and add more variety - Added mirrored versions - Used new naming scheme for texture files - Fixed warnings caused by this resource pack in the minecraft log - Updated license - Updated GitHub workflow
1 parent cddf389 commit aa0a982

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+203
-132
lines changed

.github/workflows/cd.yml

+58-24
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,66 @@ on:
33
workflow_dispatch:
44
inputs:
55
tag:
6-
description: 'version of the data pack'
6+
description: 'Version of the resource pack'
77
required: true
8-
default: 'v1.0'
8+
default: '1.0'
9+
mc_version:
10+
description: 'Minecraft version(s) the resource pack works in'
11+
required: true
12+
default: '1.20'
913

1014
jobs:
1115
create_data_pack:
1216
runs-on: ubuntu-latest
1317
steps:
1418
- name: Checkout code
15-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3.5.3
1620
- name: Extract tag
1721
id: tag_version
18-
run: echo ::set-output name=TAG_VERSION::${GITHUB_REF#refs/tags/}
19-
- name: Extract MC verson
20-
id: mc_version
21-
run: sh .github/workflows/get-mc-version.sh
22+
run: echo "TAG_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
23+
- name: Find and replace uninstall file name
24+
uses: jacobtomlinson/gha-find-replace@v3
25+
with:
26+
find: "${file_name}"
27+
replace: ${{ github.event.repository.name }}-v${{ github.event.inputs.tag }}-mc${{ github.event.inputs.mc_version }}-datapack.zip
28+
regex: false
29+
include: "**uninstall.mcfunction"
30+
- name: Find and replace data pack version
31+
uses: jacobtomlinson/gha-find-replace@v3
32+
with:
33+
find: "${version}"
34+
replace: ${{ github.event.inputs.tag }}
35+
regex: false
2236

23-
# Check for existence of datapack and/or resourcepack folders.
37+
# Check for existence of datapack, mod and/or resourcepack folders.
2438
- name: Check for data folder
2539
id: check_datapack_folder
26-
uses: andstor/file-existence-action@v1
40+
uses: andstor/file-existence-action@v2
2741
with:
2842
files: "data"
29-
- name: Check for assets folder
43+
- name: Check for mod folders
44+
id: check_mod_folder
45+
uses: andstor/file-existence-action@v2
46+
with:
47+
files: "META-INF, net, fabric.mod.json, assets"
48+
- name: Check for resource pack folder
3049
id: check_assets_folder
31-
uses: andstor/file-existence-action@v1
50+
uses: andstor/file-existence-action@v2
3251
with:
33-
files: "assets"
52+
files: "assets/minecraft"
3453

3554
- name: Create data pack zip file
36-
uses: montudor/action-zip@v0.1.0
55+
uses: montudor/action-zip@v1
3756
if: steps.check_datapack_folder.outputs.files_exists == 'true'
3857
with:
3958
args: zip -qq datapack.zip -r data pack.mcmeta pack.png LICENSE README.md
59+
- name: Create mod jar file
60+
uses: montudor/action-zip@v1
61+
if: steps.check_mod_folder.outputs.files_exists == 'true'
62+
with:
63+
args: zip -qq mod.zip -r data assets META-INF net fabric.mod.json pack.mcmeta pack.png LICENSE README.md
4064
- name: Create asset pack zip file
41-
uses: montudor/action-zip@v0.1.0
65+
uses: montudor/action-zip@v1
4266
if: steps.check_assets_folder.outputs.files_exists == 'true'
4367
with:
4468
args: zip -qq assetpack.zip -r assets pack.mcmeta pack.png LICENSE README.md
@@ -49,28 +73,38 @@ jobs:
4973
env:
5074
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5175
with:
52-
tag_name: ${{ github.event.inputs.tag }}
53-
release_name: Release ${{ github.event.inputs.tag }}
76+
tag_name: v${{ github.event.inputs.tag }}
77+
release_name: Release v${{ github.event.inputs.tag }}
5478
draft: false
5579
prerelease: false
5680

57-
- name: Upload assetpack release asset
81+
- name: Upload datapack release asset
5882
uses: actions/upload-release-asset@v1
59-
if: steps.check_assets_folder.outputs.files_exists == 'true'
83+
if: steps.check_datapack_folder.outputs.files_exists == 'true'
6084
env:
6185
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6286
with:
6387
upload_url: ${{ steps.create_release.outputs.upload_url }}
64-
asset_path: ./assetpack.zip
65-
asset_name: ${{ github.event.repository.name }}-${{ github.event.inputs.tag }}-mc${{ steps.mc_version.outputs.MC_VERSION }}-resourcepack.zip
88+
asset_path: ./datapack.zip
89+
asset_name: ${{ github.event.repository.name }}-v${{ github.event.inputs.tag }}-mc${{ github.event.inputs.mc_version }}-datapack.zip
6690
asset_content_type: application/zip
67-
- name: Upload datapack release asset
91+
- name: Upload mod release asset
6892
uses: actions/upload-release-asset@v1
69-
if: steps.check_datapack_folder.outputs.files_exists == 'true'
93+
if: steps.check_mod_folder.outputs.files_exists == 'true'
7094
env:
7195
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7296
with:
7397
upload_url: ${{ steps.create_release.outputs.upload_url }}
74-
asset_path: ./datapack.zip
75-
asset_name: ${{ github.event.repository.name }}-${{ github.event.inputs.tag }}-mc${{ steps.mc_version.outputs.MC_VERSION }}-datapack.zip
98+
asset_path: ./mod.zip
99+
asset_name: ${{ github.event.repository.name }}-v${{ github.event.inputs.tag }}-mc${{ github.event.inputs.mc_version }}-mod.jar
100+
asset_content_type: application/jar
101+
- name: Upload assetpack release asset
102+
uses: actions/upload-release-asset@v1
103+
if: steps.check_assets_folder.outputs.files_exists == 'true'
104+
env:
105+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106+
with:
107+
upload_url: ${{ steps.create_release.outputs.upload_url }}
108+
asset_path: ./assetpack.zip
109+
asset_name: ${{ github.event.repository.name }}-v${{ github.event.inputs.tag }}-mc${{ github.event.inputs.mc_version }}-resourcepack.zip
76110
asset_content_type: application/zip

.github/workflows/get-mc-version.sh

-39
This file was deleted.

LICENSE

+52-21
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,52 @@
1-
MIT License
2-
3-
Copyright (c) 2023 Tschipcraft
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
Tschipcraft's Custom License for Minecraft Mods, Data Packs and Resource Packs
2+
Version 1.0 - 2023
3+
4+
TL;DR - Not exhaustive, please read the whole license for detailed information:
5+
- Don't steal, don't re-upload, don't spread misinformation.
6+
- Monetized videos, livestreams with this or about this pack and inclusion in modpacks are allowed, as long as credit is given by linking back to official download locations.
7+
- Only use parts or the entire pack in your project, if you ask me and I say yes.
8+
9+
Copyright © 2023 Tschipcraft
10+
11+
This license shall be included in all copies or substantial portions of this project.
12+
13+
14+
Permitted Uses:
15+
16+
1. You are PERMITTED to freely use this project on singleplayer worlds and multiplayer worlds/servers in your Minecraft game.
17+
18+
2. You are PERMITTED to modify this project's code for personal use or on your own private servers.
19+
20+
3. You are PERMITTED to view this project's code, take reference, and learn from it.
21+
22+
4. You are PERMITTED to create content (e.g., videos, livestreams) covering and showcasing this project on websites such as YouTube, Twitch, Instagram, TikTok, etc., or on your own website, IF you provide a prominent link back to at least one of the official download locations ([GitHub](https://github.com/Tschipcraft/better_flame_particles), [CurseForge](https://www.curseforge.com/minecraft/texture-packs/better-flame-particles), [Modrinth](https://modrinth.com/resourcepack/better-flame-particles)) in the description or an easily accessible place. You may also monetize this content.
23+
24+
5. You are PERMITTED to include this project in your modpack, IF you link back to at least one of the official download locations ([GitHub](https://github.com/Tschipcraft/better_flame_particles), [CurseForge](https://www.curseforge.com/minecraft/texture-packs/better-flame-particles), [Modrinth](https://modrinth.com/resourcepack/better-flame-particles)), or by simply adding this project in the embedded or included mods sections directly on Modrinth and/or CurseForge.
25+
26+
6. You are PERMITTED to use parts or the whole project in your own project (Mod, Data Pack, Resource Pack, Map, Server, etc.), IF you obtain explicit permission from the creator (Tschipcraft) first. To request permission, please contact me via email at [email protected] or message me directly on Planet Minecraft (https://www.planetminecraft.com/account/pms/new/tschipo), CurseForge (https://legacy.curseforge.com/private-messages/send?recipient=tschipcraft), or Discord (@tschipo) and include detailed information about your intentions.
27+
28+
29+
Prohibited Uses:
30+
31+
1. You may NOT redistribute or re-upload this project, modified or unmodified.
32+
33+
2. You may NOT redistribute single parts, files, or standalones of this project.
34+
35+
3. You may NOT claim that this project was made by you.
36+
37+
4. You may NOT spread misinformation about this project, including but not limited to promising not implemented features or support for an unsupported Minecraft version.
38+
39+
40+
Liability and Warranty:
41+
42+
This project is provided "as is," without warranty of any kind, expressed or implied. In no event shall the creator (Tschipcraft) be held liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the project or the use or other dealings in the project.
43+
44+
All works of Tschipcraft are of and owned by Tschipcraft.
45+
46+
By using this project, you agree to abide by the terms of this license. Any violation of the terms will result in the termination of the rights granted hereunder.
47+
48+
Exceptions to this license may be granted, if you have a special case, contact me via email at [email protected] or message me directly on Planet Minecraft (https://www.planetminecraft.com/account/pms/new/tschipo), CurseForge (https://legacy.curseforge.com/private-messages/send?recipient=tschipcraft), or Discord (@tschipo) and include detailed information about your intentions.
49+
50+
This license shall be governed by and construed in accordance with the laws of Germany. Any legal action or proceeding arising under or in connection with this license shall be brought exclusively in the courts of Germany.
51+
52+
This license is subject to change. The latest version of this license will be available at https://github.com/Tschipcraft/better_flame_particles/blob/master/LICENSE, and your continued use of the project after changes happen, will constitute your acceptance of the changes.

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@
44
</h1>
55
<p align="center">
66
<a href="https://github.com/Tschipcraft/better_flame_particles/stargazers"><img src="https://img.shields.io/github/stars/Tschipcraft/better_flame_particles?colorA=181712&colorB=fff5c6&style=for-the-badge"></a>
7-
<a href="https://www.curseforge.com/minecraft/texture-packs/better-flame-particles"><img src="https://cf.way2muchnoise.eu/full_782814_downloads.svg?badge_style=for_the_badge"></a>
8-
<a href="https://modrinth.com/resourcepack/better-flame-particles"><img src="https://img.shields.io/modrinth/dt/better-flame-particles?label=Modrinth&colorA=2d2d2d&colorB=44cc11&style=for-the-badge&logo=modrinth"></a>
7+
<a href="https://www.curseforge.com/minecraft/texture-packs/better-flame-particles"><img src="https://img.shields.io/curseforge/dt/782814?logo=curseforge&label=CurseForge&colorA=181712&colorB=bd5216&style=for-the-badge"></a>
8+
<a href="https://modrinth.com/resourcepack/better-flame-particles"><img src="https://img.shields.io/modrinth/dt/better-flame-particles?label=Modrinth&colorA=181712&colorB=44cc11&style=for-the-badge&logo=modrinth"></a>
99
<a href="https://github.com/Tschipcraft/better_flame_particles/releases/latest"><img src="https://img.shields.io/github/downloads/Tschipcraft/better_flame_particles/total?logo=github&colorA=181712&colorB=fff5c6&style=for-the-badge"></a>
1010
</p>
1111

12-
> A resource pack for 1.14x-1.20x
12+
> A resource pack for Minecraft 1.14x-1.20x
1313
1414
## Features
1515

16-
This resource pack changes the flame and soul flame particles to be animated.
16+
_Witness mesmerizing animations as the flames dance and the soul flames flicker._
17+
18+
This resource pack changes the flame and soul flame particles to animated versions.
1719

1820

1921
## Preview
@@ -26,7 +28,7 @@ This resource pack changes the flame and soul flame particles to be animated.
2628

2729
## Installation
2830

29-
Download the latest release from [here](https://github.com/Tschipcraft/better_flame_particles/releases/latest), put the resourcepack .zip file into your `resourcepacks` folder and activate it ingame.
31+
Download the latest release from [here](https://github.com/Tschipcraft/better_flame_particles/releases/latest), put the resource pack .zip file into your `resourcepacks` folder and activate it ingame.
3032

3133
Also available on Modrinth and CurseForge.
3234

assets/minecraft/particles/flame.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"textures": [
3-
"minecraft:flame",
4-
"minecraft:flame_alt",
5-
"minecraft:flame_alts"
3+
"minecraft:flame_0",
4+
"minecraft:flame_1",
5+
"minecraft:flame_2",
6+
"minecraft:flame_3",
7+
"minecraft:flame_4",
8+
"minecraft:flame_5"
69
]
710
}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"textures": [
3-
"minecraft:soul_fire_flame",
4-
"minecraft:soul_fire_flame_alt",
5-
"minecraft:soul_fire_flame_alts"
3+
"minecraft:soul_fire_flame_0",
4+
"minecraft:soul_fire_flame_1",
5+
"minecraft:soul_fire_flame_2",
6+
"minecraft:soul_fire_flame_3",
7+
"minecraft:soul_fire_flame_4",
8+
"minecraft:soul_fire_flame_5"
69
]
710
}
-389 Bytes
Binary file not shown.

assets/minecraft/textures/particle/flame.png.mcmeta

-6
This file was deleted.
206 Bytes
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"animation": {
3+
"frametime": 4,
4+
"frames": [5,4,3,2,1,0]
5+
}
6+
}
185 Bytes
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"animation": {
3+
"frametime": 3,
4+
"frames": [1,0,3,2]
5+
}
6+
}
187 Bytes
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"animation": {
3+
"frametime": 4,
4+
"frames": [3,2,1,0]
5+
}
6+
}
208 Bytes
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"animation": {
3+
"frametime": 4,
4+
"frames": [5,4,3,2,1,0]
5+
}
6+
}
182 Bytes
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"animation": {
3+
"frametime": 4,
4+
"frames": [1,0,3,2]
5+
}
6+
}
186 Bytes
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"animation": {
3+
"frametime": 3,
4+
"frames": [3,2,1,0]
5+
}
6+
}
-382 Bytes
Binary file not shown.

assets/minecraft/textures/particle/flame_alt.png.mcmeta

-6
This file was deleted.
-382 Bytes
Binary file not shown.

assets/minecraft/textures/particle/flame_alts.png.mcmeta

-6
This file was deleted.
Binary file not shown.

assets/minecraft/textures/particle/soul_fire_flame.png.mcmeta

-6
This file was deleted.
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"animation": {
3+
"frametime": 4,
4+
"frames": [5,4,3,2,1,0]
5+
}
6+
}
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"animation": {
3+
"frametime": 3,
4+
"frames": [1,0,3,2]
5+
}
6+
}
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"animation": {
3+
"frametime": 4,
4+
"frames": [3,2,1,0]
5+
}
6+
}
Loading

0 commit comments

Comments
 (0)