1. 修复 #2 的问题: 观察者模式没有关闭玩家实体物理导致无法穿越方块 2.更新了下开源许可协议 3.添加了些示例,例如沙子,红纱发射示例 4.更新了readme
58 lines
2.9 KiB
Markdown
58 lines
2.9 KiB
Markdown
# Preface
|
||
|
||
Just like Michel Ardan, the French adventurer in Jules Verne's novel *From the Earth to the Moon*, who traveled to the moon in a projectile, this mod allows you to embark on long-distance journeys via cannon—completely safely and efficiently (do not attempt this in real life).
|
||
|
||
## How to Do It?
|
||
|
||
All you need is a cannon and enough gunpowder, and you can experience a journey that starts whenever you want.
|
||
|
||
**A cannon-based travel method—efficient and safe!**
|
||
|
||
# About the Mod
|
||
|
||
## Mod Development Plan
|
||
|
||
| Mod Update Plan | Status |
|
||
|----------------|--------|
|
||
| Migration to Forge 1.20.1 | ✅ Completed |
|
||
| Migration to higher versions of NeoForge | Not started, planned for July/August |
|
||
| Open API for cross-mod compatibility | Not started, planned for July/August |
|
||
| Improve and refactor the original mod's operations | Not started |
|
||
|
||
## Mod Development Statement
|
||
|
||
This mod is a migration and refactor of **Blast Travel** (the original mod only supported 1.19.2 Quilt) for **1.20.1**.
|
||
|
||
- The **1.20.1 Quilt version** is based on **Abbie5's fork**, with the MODID remaining as `blasttravel`.
|
||
- The **1.20.1 Forge version** is a partial logic refactor by the author, with the MODID changed to `blasttravelreborn`. Please note the difference.
|
||
|
||
## Q&A
|
||
|
||
**Q1: Will there be Fabric support for future higher versions?**
|
||
**A1:** Probably not. The author is not a fan of Fabric's development workflow. However, anyone is welcome to fork the project and develop a Fabric version. That said, the author might consider using the **Architectury** framework for multi-loader support (though it would be quite a hassle).
|
||
|
||
**Q2: Can my mod integrate with this mod?**
|
||
**A2:** Yes! The author welcomes mod integrations. If you're a mod developer interested in compatibility, feel free to submit an **ISSUE** in this repository. The author is happy to provide code-level support.
|
||
|
||
**Q3: Will you support versions below 1.19.2?**
|
||
**A3:** No. The author will **never** backport to lower versions. However, there is a mod with similar functionality—**Cannon (Teacon2022 Example Mod)**, which supports **1.18–1.18.2** and can serve as an alternative.
|
||
|
||
# Adding to Your Project
|
||
1. Download mod jar file,and put it under your project's 'libs/' dir, and rename it into "{modid}-{minecraft-version}-{mod_version}.jar"(for example, "blasttravelreborn-1.20.1-1.0.6-forge-all.jar")
|
||
2. Ensure your `build.gradle` has enable 'libs' flatDir repositories
|
||
```groovy
|
||
repositories {
|
||
flatDir {
|
||
dir 'libs'
|
||
}
|
||
}
|
||
````
|
||
3. Add it to dependencies
|
||
```groovy
|
||
dependencies {
|
||
implementation fg.deobf("blank:blasttravelreborn-1.20.1:1.0.6-forge-all")//for example
|
||
}
|
||
````
|
||
Cannon Model please install [BlockBench Plugin](https://github.com/LeisureTimeDock/JsonEM_Neo_Forge/blob/1.21/jsonem_models.js) in your BlockBench.
|
||
|
||
And import 'entity/cannon/main.json' with this jsonem plugin. Then you can view the cannon model correctly and create its texture. |