fixes
This commit is contained in:
parent
e23ac60e16
commit
42b6d6086d
3 changed files with 2 additions and 75 deletions
|
|
@ -1371,7 +1371,7 @@ const registerGTCEURecipes = (event) => {
|
|||
}).id(`tfg:ae_transform/${material.getName()}_purified_ore`)
|
||||
}
|
||||
|
||||
if (material.hasFlag($MaterialFlags.GENERATE_PLATE) && (material != 'wood' || material != 'treated_wood'))
|
||||
if (material.hasFlag($MaterialFlags.GENERATE_PLATE) && material != GTMaterials.Wood && material != GTMaterials.TreatedWood)
|
||||
{
|
||||
if (material.hasProperty(PropertyKey.INGOT))
|
||||
{
|
||||
|
|
@ -1393,7 +1393,7 @@ const registerGTCEURecipes = (event) => {
|
|||
}
|
||||
|
||||
// Прокатка стержней
|
||||
if (material.hasFlag($MaterialFlags.GENERATE_ROD) && material != 'wood')
|
||||
if (material.hasFlag($MaterialFlags.GENERATE_ROD) && material != GTMaterials.Wood)
|
||||
{
|
||||
if (material.hasProperty(PropertyKey.INGOT))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -99,8 +99,6 @@ ServerEvents.recipes(event => {
|
|||
|
||||
registerSophisticatedBackpacksRecipes(event)
|
||||
|
||||
registerToolBeltRecipes(event)
|
||||
|
||||
registerExposureRecipes(event)
|
||||
|
||||
registerFTBQuestsRecipes(event)
|
||||
|
|
|
|||
|
|
@ -1,71 +0,0 @@
|
|||
// priority: 0
|
||||
|
||||
const registerToolBeltRecipes = (event) => {
|
||||
|
||||
// Удаление всех рецептов мода
|
||||
event.remove({ mod: 'toolbelt' });
|
||||
|
||||
// ToolBelt с размером 2
|
||||
event.shaped('toolbelt:belt', [
|
||||
'ABA',
|
||||
'B B',
|
||||
'BCB'
|
||||
], {
|
||||
A: '#forge:string',
|
||||
B: '#forge:leather',
|
||||
C: '#forge:plates/wrought_iron'
|
||||
})
|
||||
|
||||
// Мешочек
|
||||
event.shaped('toolbelt:pouch', [
|
||||
'ACA',
|
||||
'B B',
|
||||
'ABA'
|
||||
], {
|
||||
A: '#forge:string',
|
||||
B: '#forge:leather',
|
||||
C: '#forge:plates/wrought_iron'
|
||||
})
|
||||
|
||||
// ToolBelt с размером 3
|
||||
event.shapeless(Item.of('toolbelt:belt', {Size:3}).strongNBT(), [
|
||||
Item.of('toolbelt:belt', {}).strongNBT(),
|
||||
'toolbelt:pouch'
|
||||
])
|
||||
|
||||
// ToolBelt с размером 4
|
||||
event.shapeless(Item.of('toolbelt:belt', {Size:4}).strongNBT(), [
|
||||
Item.of('toolbelt:belt', {Size:3}).strongNBT(),
|
||||
'toolbelt:pouch'
|
||||
])
|
||||
|
||||
// ToolBelt с размером 5
|
||||
event.shapeless(Item.of('toolbelt:belt', {Size:5}).strongNBT(), [
|
||||
Item.of('toolbelt:belt', {Size:4}).strongNBT(),
|
||||
'toolbelt:pouch'
|
||||
])
|
||||
|
||||
// ToolBelt с размером 6
|
||||
event.shapeless(Item.of('toolbelt:belt', {Size:6}).strongNBT(), [
|
||||
Item.of('toolbelt:belt', {Size:5}).strongNBT(),
|
||||
'toolbelt:pouch'
|
||||
])
|
||||
|
||||
// ToolBelt с размером 7
|
||||
event.shapeless(Item.of('toolbelt:belt', {Size:7}).strongNBT(), [
|
||||
Item.of('toolbelt:belt', {Size:6}).strongNBT(),
|
||||
'toolbelt:pouch'
|
||||
])
|
||||
|
||||
// ToolBelt с размером 8
|
||||
event.shapeless(Item.of('toolbelt:belt', {Size:8}).strongNBT(), [
|
||||
Item.of('toolbelt:belt', {Size:7}).strongNBT(),
|
||||
'toolbelt:pouch'
|
||||
])
|
||||
|
||||
// ToolBelt с размером 9
|
||||
event.shapeless(Item.of('toolbelt:belt', {Size:9}).strongNBT(), [
|
||||
Item.of('toolbelt:belt', {Size:8}).strongNBT(),
|
||||
'toolbelt:pouch'
|
||||
])
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue