-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
85 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
group=com.mineinabyss | ||
version=0.22 | ||
idofrontVersion=0.24.0-dev.8 | ||
version=0.23 | ||
idofrontVersion=0.24.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
[versions] | ||
geary = "0.30.1-dev.10" | ||
bonehurtingjuice = "1.10.1" | ||
geary = "0.30.10-dev.1" | ||
|
||
[libraries] | ||
geary-papermc = { module = "com.mineinabyss:geary-papermc", version.ref = "geary" } | ||
bonehurtingjuice = { module = "com.mineinabyss:bonehurtingjuice", version.ref = "bonehurtingjuice" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 5 additions & 6 deletions
11
src/main/kotlin/com/mineinabyss/staminaclimb/modules/StaminaModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
package com.mineinabyss.staminaclimb.modules | ||
|
||
import com.mineinabyss.idofront.config.IdofrontConfig | ||
import com.mineinabyss.idofront.di.DI | ||
import com.mineinabyss.staminaclimb.StaminaClimbPlugin | ||
import com.mineinabyss.staminaclimb.config.StaminaConfig | ||
import it.unimi.dsi.fastutil.ints.IntArrayList | ||
import net.minecraft.resources.ResourceLocation | ||
import net.minecraft.core.Registry | ||
import net.minecraft.resources.ResourceKey | ||
import net.minecraft.tags.TagNetworkSerialization.NetworkPayload | ||
|
||
val stamina: StaminaClimbModule by DI.observe() | ||
|
||
interface StaminaClimbModule { | ||
val plugin: StaminaClimbPlugin | ||
val configHolder: IdofrontConfig<StaminaConfig> | ||
val config: StaminaConfig | ||
val emptyClimbableMap: Map<ResourceLocation, IntArrayList> | ||
val normalClimbableMap: Map<ResourceLocation, IntArrayList> | ||
val disabledClimbingTags: MutableMap<ResourceKey<out Registry<*>?>, NetworkPayload> | ||
val initialTags: MutableMap<ResourceKey<out Registry<*>?>, NetworkPayload> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters