fixes
This commit is contained in:
parent
1692d1a3f6
commit
a923cad437
7 changed files with 82 additions and 23 deletions
8
kubejs/server_scripts/asticor_carts/recipes.js
Normal file
8
kubejs/server_scripts/asticor_carts/recipes.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// priority: 0
|
||||
|
||||
const registerAsticorCartsRecipes = (event) => {
|
||||
event.remove({ id: 'astikorcarts:animal_cart' })
|
||||
event.remove({ id: 'astikorcarts:supply_cart' })
|
||||
event.remove({ id: 'astikorcarts:plow' })
|
||||
event.remove({ id: 'astikorcarts:wheel' })
|
||||
}
|
||||
16
kubejs/server_scripts/asticor_carts/tags.js
Normal file
16
kubejs/server_scripts/asticor_carts/tags.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// priority: 0
|
||||
|
||||
const registerAsticorCartsItemTags = (event) => {
|
||||
|
||||
global.ASTICOR_CARTS_DISABLED_ITEMS.forEach(item => {
|
||||
event.removeAllTagsFrom(item)
|
||||
event.add('c:hidden_from_recipe_viewers', item)
|
||||
})
|
||||
}
|
||||
|
||||
const registerAsticorCartsBlockTags = (event) => {
|
||||
|
||||
global.ASTICOR_CARTS_DISABLED_ITEMS.forEach(item => {
|
||||
event.removeAllTagsFrom(item)
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue