update some mods + disable some mods

This commit is contained in:
SpeeeDCraft 2023-10-12 20:59:58 +07:00
parent d6e75ab888
commit 7bb78939e2
101 changed files with 93 additions and 5511 deletions

View file

@ -4,7 +4,7 @@ backgroundColor=2E3440
barBorderColor=ECEFF4
exportAtlases=false
menuBackgroundBrightness=64
disableRecipeBook=false
disableRecipeBook=true
title=
barColor=ECEFF4
overrideColors=false

View file

@ -0,0 +1,15 @@
{
"__comment__": "This file was automatically created by mcresources",
"type": "tfc:casting",
"mold": {
"item": "tfc:ceramic/axe_head_mold"
},
"fluid": {
"ingredient": "tfc:metal/bismuth_bronze",
"amount": 144
},
"result": {
"item": "tfc:metal/axe_head/bismuth_bronze"
},
"break_chance": 1
}

View file

@ -0,0 +1,7 @@
{
"__comment__": "This file was automatically created by mcresources",
"replace": true,
"values": [
"tfc:vein/gravel"
]
}

View file

@ -0,0 +1,9 @@
// priority: 999
// Комментарий
ServerEvents.tags('block', event => {
global.AllStoneTypeNames.forEach(stoneTypeName => {
event.add('minecraft:stone_ore_replaceables', 'tfc:rock/raw/' + stoneTypeName)
});
})

View file

@ -1,6 +0,0 @@
// priority: 0
// Visit the wiki for more info - https://kubejs.com/
console.info('Hello, World! (Loaded server scripts)')

View file

@ -0,0 +1,50 @@
// priority: 1000
global.AllStoneTypeNames = [
'gabbro',
'shale',
'claystone',
'limestone',
'conglomerate',
'dolomite',
'chert',
'chalk',
'rhyolite',
'dacite',
'quartzite',
'slate',
'phyllite',
'schist',
'gneiss',
'marble',
'basalt',
'diorite',
'andesite',
'granite'
];
global.StoneTypeNamesWithoutGTDups = [
'gabbro',
'shale',
'claystone',
'limestone',
'conglomerate',
'dolomite',
'chert',
'chalk',
'rhyolite',
'dacite',
'quartzite',
'slate',
'phyllite',
'schist',
'gneiss',
'marble'
];
global.StoneTypeNamesOfGTDups = [
'basalt',
'diorite',
'andesite',
'granite'
];

View file

@ -3,27 +3,9 @@
const MapColor = Java.loadClass('net.minecraft.world.level.material.MapColor')
const ChemicalHelper = Java.loadClass("com.gregtechceu.gtceu.api.data.chemical.ChemicalHelper")
const StoneTypeNames = [
'gabbro',
'shale',
'claystone',
'limestone',
'conglomerate',
'dolomite',
'chert',
'chalk',
'rhyolite',
'dacite',
'quartzite',
'slate',
'phyllite',
'schist',
'gneiss',
'marble'
]
// Replace + Remove Stonetypes
GTCEuStartupEvents.registry('gtceu:tag_prefix', event => {
// Ожидаем нормальной фичи для удаления стоунтайпов
// TagPrefix.ORES.remove(TagPrefix.ore)
// TagPrefix.ORES.remove(TagPrefix.oreTuff)
// TagPrefix.ORES.remove(TagPrefix.oreDeepslate)
@ -33,7 +15,7 @@ GTCEuStartupEvents.registry('gtceu:tag_prefix', event => {
// TagPrefix.ORES.remove(TagPrefix.oreNetherrack)
// TagPrefix.ORES.remove(TagPrefix.oreEndstone)
StoneTypeNames.forEach(stoneTypeName => {
global.StoneTypeNamesWithoutGTDups.forEach(stoneTypeName => {
event.create(stoneTypeName, 'ore')
.stateSupplier(() => Block.getBlock('tfc:rock/raw/' + stoneTypeName).defaultBlockState())
.sound(SoundType.STONE)