File tree Expand file tree Collapse file tree
src/main/kotlin/com/mineinabyss/blocky Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 with :
1717 fetch-depth : 0
1818
19- - uses : MineInAbyss/publish-action@develop
19+ - uses : MineInAbyss/publish-action@v3
2020 with :
21- maven-metadata-url : https://repo.mineinabyss.com/releases/com/mineinabyss/blocky/maven-metadata.xml
22- maven-snapshot-metadata-url : https://repo.mineinabyss.com/snapshots/com/mineinabyss/blocky/maven-metadata.xml
23- # pages-path: build/dokka/htmlMultiModule/
24- # dokka: dokkaHtmlMultiModule
25- maven-username : ${{ secrets.MAVEN_PUBLISH_USERNAME }}
26- maven-password : ${{ secrets.MAVEN_PUBLISH_PASSWORD }}
2721 release-files : |
2822 ${{ github.workspace }}/publish/*.jar
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ dependencies {
3333 compileOnly(idofrontLibs.kotlinx.coroutines)
3434 compileOnly(idofrontLibs.minecraft.mccoroutine)
3535
36- // Geary platform
3736 compileOnly(libs.geary.papermc)
3837 compileOnly(libs.guiy)
3938
@@ -43,6 +42,7 @@ dependencies {
4342 compileOnly(idofrontLibs.creative.api)
4443 compileOnly(idofrontLibs.creative.serializer.minecraft)
4544
45+ compileOnly(libs.minecraft.plugin.axiompaper)
4646 implementation(libs.minecraft.plugin.protectionlib)
4747}
4848
Original file line number Diff line number Diff line change 11group =com.mineinabyss
22version =0.11
3- idofrontVersion =0.26.2
3+ idofrontVersion =1.0.4
44
Original file line number Diff line number Diff line change 11[versions ]
2- gearyPaper = " 0.32.4 "
3- guiy =" 0.12.5 "
2+ gearyPaper = " 0.33.9 "
3+ guiy =" 0.13.0 "
44
55[libraries ]
66geary-papermc = { module = " com.mineinabyss:geary-papermc" , version.ref = " gearyPaper" }
77guiy = { module = " com.mineinabyss:guiy-compose" , version.ref = " guiy" }
88
9- minecraft-plugin-protectionlib = " com.nexomc:protectionlib:1.0.7"
9+ minecraft-plugin-protectionlib = " com.nexomc:protectionlib:1.0.8"
10+ minecraft-plugin-axiompaper = " com.moulberry.axiom:AxiomPaper:5.0.1"
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-9.0.0 -bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ import io.papermc.paper.registry.tag.TagKey
88import net.kyori.adventure.key.Key
99
1010class BlockyBootstrap : PluginBootstrap {
11- private val MINEABLE_AXE = TagKey .create(RegistryKey .BLOCK , Key .key(" mineable/axe" ))
11+ private val MINEABLE_AXE = RegistryKey .BLOCK .tagKey(" mineable/axe" )
12+ private val NOTEBLOCK = RegistryKey .BLOCK .typedKey(" note_block" )
13+
1214 override fun bootstrap (context : BootstrapContext ) {
1315 context.lifecycleManager.registerEventHandler(LifecycleEvents .TAGS .postFlatten(RegistryKey .BLOCK )) { event ->
14- val registrar = event.registrar()
15- val mineableAxeTag = registrar.getTag(MINEABLE_AXE )
16- registrar.setTag(MINEABLE_AXE , mineableAxeTag.filter { " note_block" !in it.key().asString() })
16+ event.registrar().setTag(MINEABLE_AXE , event.registrar().getTag(MINEABLE_AXE ).minus(NOTEBLOCK ))
1717 }
1818 }
1919}
You can’t perform that action at this time.
0 commit comments