Although the mod SHOULD work on Quilt even above versions 1.20.1
, be aware that there might be unexpected bugs due to the fact that QFAPI (Quilted Fabric API) is still in alpha on Minecraft versions higher than 1.20.1
.
With this mod, you will be able to dash across your world using 5 different items! And also, if you are a developer, you may use this mod as an API
to integrate dashing into your project!
This fork is created as a way to continue using this mod in future Minecraft versions, I am NOT the original creator, the dashing code was made by Emafire003: Modrinth / Github.
To perform a dash with this mod, you will need to find some treasure first! A Dash Globe
to be precise, and it can be found inside treasure chests from Ancient cities, Mineshafts and such!
Once you obtain the Dash Globe
, you may craft the actual Dashers.
You can dash by right clicking the Dasher item. TIP: Jump while dashing to get a bigger boost!
Whenever one of these gets activated, you will hear a dash sound effect, and (maybe?) see some particles!
To have a stronger dash, you can use the dashMultiplier
gamerule. This value will be multiplied by the default value of the items.
There is also a config file, where you can disable the items entirely and only use this as an API
.
Download the mod from Modrinth
and drop it into your mods folder with Fabric API
!
If you want to use the API
module of the mod, add it in your build.gradle, using Modrinth
's repo, like this:
repositories {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
content {
includeGroup "maven.modrinth"
}
}
}
dependencies {
modImplementation "maven.modrinth:fabridash-resurrected:<version>"
}
Once you've got the mod implemented into you project, you will simply need to call FabridashResurrected.dash(Entity entity, float power, int direction);
The entity
is the entity that will perform the dash, the power
is how far it will go and the direction
works like this:
Value | Behavior |
---|---|
0 |
Dash will go forwards. |
1 |
Dash will go to the right. |
2 |
Dash will go backwards. |
3 |
Dash will go to the left. |
Any other value |
The value is going to be ignored. Dash will go forwards. |
And that's it.
You could even extract the API
module and use it as is, but remember to register the client dash packet receiver!
This mod is available under the MIT license
, however, it would be greatly appreciated to credit me (DKXLY) and Emafire003 if you'll use it somewhere.