You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// kubejs:dummy_ritual_thing is created in ../startup_scripts/example.js
33
+
// if omitted defaults to occultism:ritual_dummy/custom_ritual_misc
34
+
.dummy("kubejs:dummy_ritual_thing")
32
35
.useItem('minecraft:egg')
33
36
.entityToSacrifice(EntityToSacrifice.of("minecraft:cows","Cows"))//it would be better to use a translation key instead of "Cows" to allow translating to other languages. E.g. "tags.entities.cows" -> but that also needs a corresponding translation in en_us.json and other lang files.
34
37
.condition(IsInBiomeCondition.of("minecraft:plains"))// Optional start condition. Unlike the neo conditions array this does not prevent loading the recipe, but rather prevents the start of the ritual (with a reasonable error message to the player). Wrappers provided by OccultismKubeJS: IsInBiomeCondition, IsInBiomeWithTagCondition, IsInDimensionCondition, IsInDimensionTypeCondition. Also supports neoforge default conditions, but there is no kubejs wrapper for them yet.
Copy file name to clipboardexpand all lines: src/main/java/com/klikli_dev/occultism_kubejs/RitualDummyItemType.java
+10-2
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ public RitualDummyItemType(ResourceLocation rl) {
43
43
//make the item just use the ritual dummy parent mode
44
44
//Note: we are not using this.parentModel() because it causes textures to be overwritten with a texture location corresponding to the item id unless the correct one is manually specified again
45
45
//Note: We now use parentModel because this.itemModel is gone, instead we fix the texture issue in generateAssets
0 commit comments