Ого, исправил toolbelt
This commit is contained in:
parent
f462682972
commit
90b2a48065
5 changed files with 42 additions and 3 deletions
|
|
@ -25,6 +25,7 @@
|
|||
- Fixed conflicting compass crafting.
|
||||
- Fixed a bug where chests in REI could have a vanilla texture.
|
||||
- Extended debug information is enabled back.
|
||||
- Fixed Toolbelt recipes again.
|
||||
- Perhaps something else, thank you for helping the project develop.
|
||||
### New Mods
|
||||
- Fps Reducer
|
||||
|
|
@ -36,7 +37,6 @@
|
|||
- TerraFirmaGreg 0.3.2 -> 0.4.0
|
||||
- ...
|
||||
### Deleted mods
|
||||
- Toolbelts
|
||||
- FastLoad-Reforged
|
||||
- ...
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
- Исправлены конфликтующие крафты компасов.
|
||||
- Исправлен баг, когда сундуки в REI могли быть с ванильной текстурой.
|
||||
- Включено обратно расширенная дебаг информация.
|
||||
- Исправлены рецепты ToolBelt еще раз.
|
||||
- Возможно, что-то еще, спасибо, что помогаете развиваться проекту.
|
||||
### Новые моды
|
||||
- Fps Reducer
|
||||
|
|
@ -36,7 +37,6 @@
|
|||
- TerraFirmaGreg 0.3.2 -> 0.4.0
|
||||
- ...
|
||||
### Удаленные моды
|
||||
- Toolbelts
|
||||
- FastLoad-Reforged
|
||||
- ...
|
||||
|
||||
|
|
|
|||
|
|
@ -98,6 +98,8 @@ ServerEvents.recipes(event => {
|
|||
registerMoreRedRecipes(event)
|
||||
|
||||
registerSophisticatedBackpacksRecipes(event)
|
||||
|
||||
registerToolBeltRecipes(event)
|
||||
|
||||
registerExposureRecipes(event)
|
||||
|
||||
|
|
|
|||
37
kubejs/server_scripts/toolbelt/recipes.js
Normal file
37
kubejs/server_scripts/toolbelt/recipes.js
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
// priority: 0
|
||||
|
||||
const registerToolBeltRecipes = (event) => {
|
||||
|
||||
// Удаление всех рецептов мода
|
||||
event.remove({ mod: 'toolbelt' });
|
||||
|
||||
// Мешочек
|
||||
event.shaped('toolbelt:pouch', [
|
||||
'ACA',
|
||||
'B B',
|
||||
'ABA'
|
||||
], {
|
||||
A: '#forge:string',
|
||||
B: '#forge:leather',
|
||||
C: '#forge:plates/wrought_iron'
|
||||
})
|
||||
|
||||
// ToolBelt с размером 2
|
||||
event.shaped(Item.of('toolbelt:belt', {Size:2}), [
|
||||
'ABA',
|
||||
'B B',
|
||||
'BCB'
|
||||
], {
|
||||
A: '#forge:string',
|
||||
B: '#forge:leather',
|
||||
C: '#forge:plates/wrought_iron'
|
||||
})
|
||||
|
||||
// ToolBelt с размером 3 - 9
|
||||
for (let i = 3; i < 10; i++) {
|
||||
event.shapeless(Item.of('toolbelt:belt', {Size:i}), [
|
||||
Ingredient.of(Item.of('toolbelt:belt', {Size:i-1}).strongNBT()).or(Ingredient.of(Item.of('toolbelt:belt', {Size:i-1,Items:[]}).strongNBT())),
|
||||
'toolbelt:pouch'
|
||||
]).id('tfg:toolbelt/shaped/belt_' + i)
|
||||
}
|
||||
}
|
||||
2
mods
2
mods
|
|
@ -1 +1 @@
|
|||
Subproject commit cd11e2324ef50eb5759cf738eced79409b89a36f
|
||||
Subproject commit 75be5db172ca623a3891715041888e68c3693c8c
|
||||
Loading…
Add table
Add a link
Reference in a new issue