Skip to content

Commit

Permalink
fix: drop BlockyDatapack, intercept ClientboundUpdateTagsPacket and m…
Browse files Browse the repository at this point in the history
…odify it
  • Loading branch information
Boy0000 committed Jul 29, 2024
1 parent b142523 commit 311f52c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 58 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ paper {
val version: String by project
this.version = version
authors = listOf("boy0000")
apiVersion = "1.20"
apiVersion = "1.21"

serverDependencies {
register("Geary") {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
group=com.mineinabyss
version=0.10
idofrontVersion=0.24.12
idofrontVersion=0.24.16

5 changes: 1 addition & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ dependencyResolutionManagement {
}

versionCatalogs {
create("idofrontLibs"){
from("com.mineinabyss:catalog:$idofrontVersion")
version("modelengine", "R4.0.3")
}
create("idofrontLibs").from("com.mineinabyss:catalog:$idofrontVersion")
}
}

Expand Down
51 changes: 0 additions & 51 deletions src/main/kotlin/com/mineinabyss/blocky/BlockyDatapacks.kt

This file was deleted.

3 changes: 2 additions & 1 deletion src/main/kotlin/com/mineinabyss/blocky/BlockyPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class BlockyPlugin : JavaPlugin() {

override fun onEnable() {
createBlockyContext()
BlockyDatapacks.generateDatapack()

BlockyTags.interceptConfigPhaseTagPacket()

if (Plugins.isEnabled("WorldEdit")) {
WorldEdit.getInstance().blockFactory.register(WorldEditSupport.BlockyInputParser())
Expand Down

0 comments on commit 311f52c

Please sign in to comment.