|
1 | 1 | <div align=center>
|
2 |
| - <img src="https://raw.githubusercontent.com/Animated-Java/animated-java/main/src/assets/animated_java_icon.svg" width=128/> |
3 |
| - <h1 >Animated Java |
4 |
| - </h1> |
5 |
| -</div> |
6 |
| -<div align="center"> |
7 |
| - <img alt="Dynamic JSON Badge" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FAnimated-Java%2Fanimated-java%2Frefs%2Fheads%2Fmain%2Fpackage.json&query=display_version&style=flat-square&label=%20&color=%2300000000&link=https%3A%2F%2Fbuilds.animated-java.dev%2Flatest"> |
8 |
| - <img alt="Total Downloads" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fblckbn.ch%2Fapi%2Fstats%2Fplugins%3Fweeks%3D1000&query=animated_java&style=flat-square&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAA6BJREFUeF7tnFFSGzEMhuXkBB0gkLf0JuQmcBLgJMlNmp6keQtkyHCCxJ3NNJ0MTXclW7Js5ucVWfJ%2B38oQYxMIX64Egmt1FCcIcH4JIAACnAk4l0cHQIAzAefy6AAIcCbgXB4dAAHOBJzLowMgwJmAc3l0AAQ4E3Aujw6AABmB1%2B0u9o24m1w19VI1NdkOPATIXlj1aAhQRypLCAEyXurREKCOVJYQAmS81KMhQB2pLCEEyHipR0OAOlJZQgiQ8VKPhgB1pLKEECDjpR4NAepIZQkhQMZLPRoC1JHKEkKAjJd6NASoI5UlhAAZL%2FVoCFBHKksIATJe6tEQoI5UlhACZLxY0W%2Fb3eKwH71Mp9%2FWQwM0BGw2HzMa7%2B%2Bnk%2BvlUD3r77ufinjdvv8gCvdEtI770XxIQq6ADn4Y7xddzUC0vJ1cPVpD7svvKuAM%2FmmOgxJyBJzDPxX0luAmoFt2ItHDhbejV0KqgEvwT7VjpJfp7dWzRye4COiBP9gJKQL64HtLKC6AAb9XglQAB76nhOICNm%2B75xDoidnu%2FyxHEgES%2BN18IsXH0r8ZFRfQPWiOBK6AFuB3LFwE5EjgCGgFvquAVAlhfPjVt3zF%2Fej76fd8zjLnseycz8utA06TkC5HRDTrBxtXfz7YDfL3hu%2FeAYkSBsFyAmqAX42AhOWIw%2Fi%2FMbXAr0pAKQk1wa9OgLWE2uBXKcBKQo3wqxWgLaFW%2BFUL0JJQM%2FzqBeRKqB1%2BEwJSJbQAvxkBUgmtwG9KAFdCS%2FBVBHB2J7M%2Btn4a3Ld3ZAHf%2BvmyN%2BOsJ3hJ3iUJFvC72tbP16SAz8uRFXwIGFi7uk6gENeWf0ZEB2j%2BAEnIBQEJ0DSHQIAmzYRcEJAATXMIBGjSTMgFAQnQNIdAgCbNhFwQkABNc0gLArqDUgNndTSR1JUr9%2F%2BUKmxF%2FL3hUheZArPRuNyRLUB4sq0AlnIlNC525As43rnqP69ZDknZSjEc5tObm1VO1WwBx53J7ftDoLDImUhrY7V2YFUEdPAEN19aY31hvnF1N7meazyImoBjJ8huv2jMv3gOjXX%2FfNKqAo4SNh%2Bz0fjwFCnOuMfEi1OUFVwTxXWM4ScdRsuhe8yy1I43ZKQT%2Farx6h3wVUFZPRcEWJFl5oUAJiirMAiwIsvMCwFMUFZhEGBFlpkXApigrMIgwIosMy8EMEFZhUGAFVlmXghggrIKgwArssy8EMAEZRUGAVZkmXkhgAnKKuw3fJAlf%2F2mKG8AAAAASUVORK5CYII%3D&label=%20&color=%2300aced00"> |
9 |
| - <a href="https://discord.com/invite/jFgY4PXZfp"><img alt="Discord" src="https://img.shields.io/discord/785339959518953482?style=flat-square&logo=discord&label=%20&color=%2300aced00"></a> |
10 |
| - <img alt="Static Badge" src="https://img.shields.io/badge/Ko--Fi?style=flat-square&logo=kofi&label=Support%20Us!&labelColor=%2300aced00&color=%2300aced00&link=https%3A%2F%2Fko-fi.com%2Fsnavesutit"> |
| 2 | + <img src="src/assets/icons/animated_java_fancy_icon.svg" alt="Animated Java Icon" width="180px"> |
| 3 | + <br/> |
| 4 | + <br/> |
| 5 | + <picture> |
| 6 | + <source media="(prefers-color-scheme: light)" srcset="src/assets/animated_java_title.svg"/> |
| 7 | + <img src="src/assets/banners/animated_java_title_banner.svg" alt="Animated Java" width="400px"/> |
| 8 | + </picture> |
11 | 9 | </div>
|
12 | 10 | <h3 align="center">
|
13 |
| - A Blockbench plugin that makes complex animation a breeze in Minecraft: Java Edition. |
| 11 | + <i>Effortlessly craft complex animations in Minecraft: Java Edition</i> |
14 | 12 | </h3>
|
15 | 13 |
|
16 |
| -# What is Animated Java? |
| 14 | +<br/> |
| 15 | +<div align="center"> |
| 16 | + <kbd> |
| 17 | + <a href="https://builds.animated-java.dev/latest"> |
| 18 | + <img alt="Latest Release" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FAnimated-Java%2Fanimated-java%2Frefs%2Fheads%2Fmain%2Fpackage.json&query=display_version&style=flat-square&label=%20&color=%2300000000"> |
| 19 | + </a> |
| 20 | + </kbd> |
| 21 | + <kbd> |
| 22 | + <img alt="Downloads in Blockbench" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fblckbn.ch%2Fapi%2Fstats%2Fplugins%3Fweeks%3D1000&query=animated_java&style=flat-square&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAA6BJREFUeF7tnFFSGzEMhuXkBB0gkLf0JuQmcBLgJMlNmp6keQtkyHCCxJ3NNJ0MTXclW7Js5ucVWfJ%2B38oQYxMIX64Egmt1FCcIcH4JIAACnAk4l0cHQIAzAefy6AAIcCbgXB4dAAHOBJzLowMgwJmAc3l0AAQ4E3Aujw6AABmB1%2B0u9o24m1w19VI1NdkOPATIXlj1aAhQRypLCAEyXurREKCOVJYQAmS81KMhQB2pLCEEyHipR0OAOlJZQgiQ8VKPhgB1pLKEECDjpR4NAepIZQkhQMZLPRoC1JHKEkKAj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 | + <a href="https://animated-java.dev/discord"> |
| 26 | + <img alt="Discord Server" src="https://img.shields.io/discord/785339959518953482?style=flat-square&logo=discord&label=%20&color=%2300aced00"> |
| 27 | + </a> |
| 28 | + </kbd> |
| 29 | + <kbd> |
| 30 | + <a href="https://ko-fi.com/snavesutit"> |
| 31 | + <img alt="Support Me on Ko-Fi!" src="https://img.shields.io/badge/Ko--Fi?style=flat-square&logo=kofi&label=Support%20Me!&labelColor=%2300aced00&color=%2300aced00&link=https%3A%2F%2Fko-fi.com%2Fsnavesutit"> |
| 32 | + </a> |
| 33 | + </kbd> |
| 34 | +</div> |
| 35 | + |
| 36 | +--- |
| 37 | + |
| 38 | +<br/> |
| 39 | + |
| 40 | +# ❔ What is Animated Java? |
| 41 | + |
| 42 | +Animated Java is a cutting-edge Blockbench plugin designed for Minecraft: Java Edition mapmakers and Data Pack developers. By leveraging Blockbench's familiar interface, and the power of Java Edition's Data Pack and Resource Pack systems, Animated Java allows you to create complex animations with ease! |
| 43 | + |
| 44 | +<br/> |
| 45 | + |
| 46 | +# ✨ Key Features |
| 47 | + |
| 48 | +- **Function API** - Simple, yet powerful, API for summoning, and controlling animated models. |
| 49 | + |
| 50 | +- **Variants** - Swap between different textures in-game. |
| 51 | + |
| 52 | +- **Text Displays** - Preview, edit, and animate text displays in Blockbench. |
| 53 | + |
| 54 | +- **Keyframe Easing Curves** - Create smooth animations with ease. |
| 55 | + |
| 56 | +- **Locators** - Execute commands using Command Keyframes, teleport entities in an animation, and more. |
| 57 | + |
| 58 | +- **Animation Tweening** - Smoothly transition be<ins>tween</ins> animations. |
| 59 | + |
| 60 | +- **Camera Support** - Install the [Official Camera Plugin](https://www.blockbench.net/plugins/cameras) to create cinematic camera paths with ease. |
17 | 61 |
|
18 |
| -Animated Java is a plugin for Blockbench that allows you to create custom animations and models |
19 |
| -for Vanilla Minecraft. It uses the power of Java Edition's Data Pack and Resource Pack systems |
20 |
| -to bring your creations to life! |
| 62 | +- **Well Optimized** - Hours of effort have been poured into making Animated Java's Data Pack as low-impact as possible. |
21 | 63 |
|
22 |
| -## Features |
| 64 | +- **Resource Packs are Optional** - Animate Vanilla block and item models using Item and Block Display entities. |
23 | 65 |
|
24 |
| -- Variants: Swap between different textures in-game. |
25 |
| -- Highly optimized: Hours of performance tests and optimization tweaks have gone into Animated |
26 |
| - Java's Exported Data Pack to make sure it has as little performance impact as possible. |
27 |
| -- Custom easing functions for keyframes. |
28 |
| -- Limited Molang support. If Blockbench can render it, Animated Java can bake it. |
29 |
| -- Text Display previewing and animation support. |
30 |
| -- Resource Pack-less exporting. Animate Vanilla block and item models! |
31 |
| -- Locators: Run commands relative to a locators position via keyframes. |
32 |
| -- Camera Plugin Support: Install the [Official Camera Plugin](https://www.blockbench.net/plugins/cameras) to create cinematic camera paths with ease! |
33 |
| -- Animation Tweening: Create smooth transitions between animations. |
34 |
| -- Many different configuration options. |
35 |
| -- Complete Documentation at https://animated-java.dev |
| 66 | +- **Molang Support** - If Blockbench can render your Molang expressions in the preview, you can use it in Animated Java. |
36 | 67 |
|
37 |
| -And much more! |
| 68 | +<br/> |
38 | 69 |
|
39 |
| -# How to Install |
| 70 | +# 📦 Installation |
40 | 71 |
|
41 |
| -Follow our guide [here](https://animated-java.dev/docs/getting-started/installing-animated-java) for detailed instructions on how to install the latest release of Animated Java. |
| 72 | +- ❔ [Getting Started](https://animated-java.dev/docs/getting-started/using-animated-java) |
| 73 | +- 📚 [Documentation](https://animated-java.dev/docs) |
| 74 | +- 🕸️ [Website](https://animated-java.dev) |
| 75 | +- 🗣️ [Discord](https://animated-java.dev/discord) |
42 | 76 |
|
43 |
| -# Getting Started |
| 77 | +<br/> |
44 | 78 |
|
45 |
| -Check out the [Getting Started](https://animated-java.dev/docs/getting-started/installing-animated-java) page of our documentation to learn how to use Animated Java. |
| 79 | +# 💬 Testimonials |
46 | 80 |
|
47 |
| -# Contributing to Animated Java |
| 81 | +> <q>_I love AJ 3000!_</q> |
| 82 | +> — [MrMakistein](https://www.youtube.com/@McMakistein) |
48 | 83 |
|
49 |
| -We welcome contributions to Animated Java! If you're interested in contributing, please make sure to run your ideas by us in our [Discord server](https://discord.com/invite/jFgY4PXZfp) before starting work on them. So that we can ensure that your contributions align with the goals of the project. |
| 84 | +> <q>_Wonderful tool, thank you for contributing to the creative possibilities in this game!_</q> |
| 85 | +> — [Leroidesafk](https://www.curseforge.com/members/leroidesafk/projects) |
50 | 86 |
|
51 |
| -## Prerequisites |
| 87 | +> <q>_Super thankful for AJ Snave! Its allowed me to create some insane sh\*\*_</q> |
| 88 | +> — [phiac](https://www.youtube.com/channel/UCh2OK3oqxy-_azT-iwcSCag) |
52 | 89 |
|
53 |
| -Things you'll need installed before you can setup the development environment |
| 90 | +> <q>_Thank you for the lovely tool!_</q> |
| 91 | +> — [LeCarbonator](https://github.com/LeCarbonator) |
54 | 92 |
|
55 |
| -- [Blockbench](https://www.blockbench.net/) |
56 |
| -- [Node.js](https://nodejs.org/en/) |
57 |
| -- [Yarn](https://classic.yarnpkg.com/lang/en/docs/install/#windows-stable) |
| 93 | +<br/> |
58 | 94 |
|
59 |
| -## Setting up the Development Environment |
| 95 | +# 🧑💻 Contributing |
60 | 96 |
|
61 |
| -1. Clone the repository. |
62 |
| -2. Run `yarn install` to install dependencies. |
63 |
| -3. Open up `types/blockbench-types.d.ts` and replace the content of the file with the following: |
64 |
| - ```ts |
65 |
| - /// <reference types="blockbench-types"/> |
66 |
| - ``` |
67 |
| -4. Run `yarn dev` to start the development environment, which will watch for changes and recompile the plugin. |
68 |
| -5. Open Blockbench, then go to `File > Plugins > Load Plugin From File` and select the `animated_java.js` file from your local repo (`dist/pluginPackage/animated-java.js`). |
69 |
| -6. That's it! You're ready to start developing. |
| 97 | +Contributions are always welcome! Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more information. |
70 | 98 |
|
71 |
| -> [!NOTE] |
72 |
| -> Note that whenever you make changes, you must reload Blockbench as a whole for the changes to function as expected.<br> |
73 |
| -> You can use `Ctrl + Shift + R` to reload Blockbench. |
| 99 | +<br/> |
74 | 100 |
|
75 |
| -## Adding Localizations |
| 101 | +# ⭐ Star History |
76 | 102 |
|
77 |
| -1. Follow the steps above to set up the development environment. |
78 |
| -2. Duplicate `src/lang/en.yml` and rename it to match the language you're translating to. (e.g. `fr.yml` for French) |
79 |
| -3. Start Translating! Make sure to check your changes in Blockbench to ensure they display correctly. |
80 |
| -4. Once you're done translating, open a pull request with your changes. |
| 103 | +<a href="https://star-history.com/#animated-java/animated-java&Date" alt="test"> |
| 104 | + <picture> |
| 105 | + <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=animated-java/animated-java&type=Date&theme=dark" /> |
| 106 | + <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=animated-java/animated-java&type=Date" /> |
| 107 | + <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=animated-java/animated-java&type=Date" /> |
| 108 | + </picture> |
| 109 | +</a> |
0 commit comments