Skip to content

Commit 1a0efdf

Browse files
committed
Fix Patchouli book, run datagen for 1.19
1 parent 0fb5261 commit 1a0efdf

File tree

10 files changed

+12
-10
lines changed

10 files changed

+12
-10
lines changed

Common/src/generated/resources/data/hexdebug/advancements/recipes/tools/debugger.json renamed to Common/src/generated/resources/data/hexdebug/advancements/recipes/hexdebug.hexdebug/debugger.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,5 @@
2828
"recipes": [
2929
"hexdebug:debugger"
3030
]
31-
},
32-
"sends_telemetry_event": false
31+
}
3332
}

Common/src/generated/resources/data/hexdebug/recipes/debugger.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"type": "minecraft:crafting_shaped",
3-
"category": "equipment",
43
"key": {
54
"A": {
65
"item": "hexcasting:artifact"
@@ -19,6 +18,5 @@
1918
],
2019
"result": {
2120
"item": "hexdebug:debugger"
22-
},
23-
"show_notification": true
21+
}
2422
}

Common/src/main/kotlin/gay/object/hexdebug/HexDebug.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package gay.`object`.hexdebug
33
import gay.`object`.hexdebug.adapter.DebugAdapterManager
44
import gay.`object`.hexdebug.config.HexDebugConfig
55
import gay.`object`.hexdebug.networking.HexDebugNetworking
6-
import gay.`object`.hexdebug.registry.HexDebugActions
76
import gay.`object`.hexdebug.registry.HexDebugItems
87
import net.minecraft.resources.ResourceLocation
98
import org.apache.logging.log4j.LogManager
@@ -21,7 +20,6 @@ object HexDebug {
2120
initRegistries(
2221
HexDebugItems,
2322
)
24-
HexDebugActions.init()
2523
HexDebugNetworking.init()
2624
DebugAdapterManager.init()
2725
}

Common/src/main/kotlin/gay/object/hexdebug/registry/HexDebugItems.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ object HexDebugItems : HexDebugRegistrar<Item>(Registry.ITEM_REGISTRY, { Registr
2626
if (Platform.getEnv() == EnvType.CLIENT) {
2727
registerItemProperties()
2828
}
29+
HexDebugActions.init()
2930
}
3031

3132
private fun registerItemProperties() {

Common/src/main/resources/assets/hexdebug/lang/en_us.flatten.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
},
2727

28-
"hexcasting.action": {
28+
"hexcasting.spell": {
2929
"hexdebug:": {
3030
"const/debugging": "Debugger's Reflection",
3131
"breakpoint/": {

Common/src/main/resources/assets/hexdebug/lang/zh_cn.flatten.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
},
2727

28-
"hexcasting.action": {
28+
"hexcasting.spell": {
2929
"hexdebug:": {
3030
"const/debugging": "调试杖之精思",
3131
"breakpoint/": {
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
name: "item.hexcasting.book",
3+
landing_text: "hexcasting.landing",
4+
version: 1,
5+
extend: "hexcasting:thehexbook"
6+
}

Common/src/main/resources/assets/hexcasting/patchouli_books/thehexbook/en_us/entries/items/debugging.json5 renamed to Common/src/main/resources/data/hexdebug/patchouli_books/hexdebook/en_us/entries/items/debugging.json5

File renamed without changes.

Common/src/main/resources/assets/hexcasting/patchouli_books/thehexbook/en_us/entries/patterns/debugging.json5 renamed to Common/src/main/resources/data/hexdebug/patchouli_books/hexdebook/en_us/entries/patterns/debugging.json5

File renamed without changes.

doc/hexdoc.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
modid = "hexdebug"
2-
book = "hexcasting:thehexbook"
2+
book = "hexdebug:hexdebook"
33
default_lang = "en_us"
44
default_branch = "main"
55

0 commit comments

Comments
 (0)