Skip to content

Commit d5b7052

Browse files
committed
propagation
1 parent 1b1cc5d commit d5b7052

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: src/main/kotlin/dev/sterner/api/item/ItemAbility.kt

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package dev.sterner.api.item
22

3+
import dev.sterner.common.item.tool.ichor.IchoriumScytheItem
34
import dev.sterner.common.item.tool.ichor.IchoriumTerraformer
45
import dev.sterner.common.item.tool.ichor.IchoriumVorpal
56
import dev.sterner.registry.VoidBoundTags
@@ -18,7 +19,8 @@ enum class ItemAbility: StringRepresentable {
1819
MINING_5X5,//Fully implemented
1920
VAMPIRISM,//Fully implemented
2021
HARVEST,//Fully implemented
21-
OPENER;//Fully implemented
22+
OPENER,//Fully implemented
23+
PROPAGATION;//TODO implement
2224

2325
override fun getSerializedName(): String {
2426
return this.name.lowercase()
@@ -48,6 +50,9 @@ enum class ItemAbility: StringRepresentable {
4850
list.add(OPENER)
4951
list.add(HARVEST)
5052
}
53+
if (item is IchoriumScytheItem) {
54+
list.add(PROPAGATION)
55+
}
5156

5257
return list
5358
}

0 commit comments

Comments
 (0)