@@ -14,6 +14,7 @@ import com.sammy.malum.client.screen.codex.screens.ArcanaProgressionScreen
14
14
import com.sammy.malum.client.screen.codex.screens.VoidProgressionScreen
15
15
import dev.sterner.VoidBound
16
16
import dev.sterner.VoidBound.modid
17
+ import dev.sterner.api.revelation.KnowledgeType
17
18
import dev.sterner.api.util.VoidBoundPlayerUtils
18
19
import dev.sterner.registry.VoidBoundItemRegistry
19
20
import net.minecraft.nbt.CompoundTag
@@ -163,7 +164,7 @@ object MalumCodexEvent {
163
164
)
164
165
)
165
166
.setEntryVisibleWhen {
166
- VoidBoundPlayerUtils .hasTearKnowledgeClient( )
167
+ VoidBoundPlayerUtils .hasKnowledge( KnowledgeType . GRIMCULT )
167
168
}
168
169
169
170
}
@@ -184,7 +185,7 @@ object MalumCodexEvent {
184
185
)
185
186
}.addPage(HeadlineTextPage (" void.thoughts_about_nether" , " void.thoughts_about_nether.1" ))
186
187
.setEntryVisibleWhen {
187
- VoidBoundPlayerUtils .hasNetherMessage( )
188
+ VoidBoundPlayerUtils .hasThoughtSentOrUnlocked( KnowledgeType . NETHER )
188
189
}
189
190
}
190
191
@@ -204,7 +205,7 @@ object MalumCodexEvent {
204
205
)
205
206
}.addPage(HeadlineTextPage (" void.thoughts_about_end" , " void.thoughts_about_end.1" ))
206
207
.setEntryVisibleWhen {
207
- VoidBoundPlayerUtils .hasEndMessage( )
208
+ VoidBoundPlayerUtils .hasThoughtSentOrUnlocked( KnowledgeType . END )
208
209
}
209
210
}
210
211
@@ -225,7 +226,7 @@ object MalumCodexEvent {
225
226
)
226
227
)
227
228
.setEntryVisibleWhen {
228
- VoidBoundPlayerUtils .hasGrimcultKnowledgeClient( )
229
+ VoidBoundPlayerUtils .hasThoughtSentOrUnlocked( KnowledgeType . GRIMCULT )
229
230
}
230
231
}
231
232
@@ -245,7 +246,7 @@ object MalumCodexEvent {
245
246
)
246
247
)
247
248
.setEntryVisibleWhen {
248
- VoidBoundPlayerUtils .hasIchorKnowledgeClient( )
249
+ VoidBoundPlayerUtils .hasKnowledge( KnowledgeType . ICHOR )
249
250
}
250
251
}
251
252
@@ -265,7 +266,7 @@ object MalumCodexEvent {
265
266
)
266
267
)
267
268
.setEntryVisibleWhen {
268
- VoidBoundPlayerUtils .hasIchorKnowledgeClient( )
269
+ VoidBoundPlayerUtils .hasKnowledge( KnowledgeType . ICHOR )
269
270
}
270
271
}
271
272
@@ -285,7 +286,7 @@ object MalumCodexEvent {
285
286
)
286
287
)
287
288
.setEntryVisibleWhen {
288
- VoidBoundPlayerUtils .hasIchorKnowledgeClient( )
289
+ VoidBoundPlayerUtils .hasKnowledge( KnowledgeType . ICHOR )
289
290
}
290
291
}
291
292
@@ -305,7 +306,7 @@ object MalumCodexEvent {
305
306
)
306
307
)
307
308
.setEntryVisibleWhen {
308
- VoidBoundPlayerUtils .hasIchorKnowledgeClient( )
309
+ VoidBoundPlayerUtils .hasKnowledge( KnowledgeType . ICHOR )
309
310
}
310
311
}
311
312
}
0 commit comments