Version 5.4
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
|
||||
StartupEvents.registry('item', allthemods => {
|
||||
allthemods.create('universal_press')
|
||||
.texture('kubejs:item/universal_press')
|
||||
.maxStackSize(64)
|
||||
.displayName('Inscriber Universal Press');
|
||||
})
|
||||
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
236
minecraft/kubejs/startup_scripts/CustomAdditions.js
Normal file
236
minecraft/kubejs/startup_scripts/CustomAdditions.js
Normal file
@@ -0,0 +1,236 @@
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
|
||||
const $BuiltInRegistries = Java.loadClass("net.minecraft.core.registries.BuiltInRegistries")
|
||||
|
||||
StartupEvents.registry('block', allthemods => {
|
||||
allthemods.create('magical_soil').displayName('§bMagical Soil').grassSoundType().mapColor('grass').hardness(0.6);
|
||||
|
||||
allthemods.create('air_essence_block').displayName('Air Essence Block').stoneSoundType().mapColor('stone').hardness(0.6).renderType('translucent').notSolid();
|
||||
allthemods.create('earth_essence_block').displayName('Earth Essence Block').stoneSoundType().mapColor('stone').hardness(0.6).renderType('translucent').notSolid();
|
||||
allthemods.create('fire_essence_block').displayName('Fire Essence Block').stoneSoundType().mapColor('stone').hardness(0.6).renderType('translucent').notSolid();
|
||||
allthemods.create('water_essence_block').displayName('Water Essence Block').stoneSoundType().mapColor('stone').hardness(0.6).renderType('translucent').notSolid();
|
||||
|
||||
allthemods.create('blaze_powder_block').displayName('Blaze Powder Block').stoneSoundType().mapColor('stone').hardness(1);
|
||||
// allthemods.create('blaze_block').displayName('Blaze Block').stoneSoundType().mapColor('stone').hardness(1);
|
||||
})
|
||||
|
||||
StartupEvents.registry('item', allthemods => {
|
||||
|
||||
if (Platform.isLoaded("eternal_starlight")) {
|
||||
allthemods.create('starlight_prediction').displayName('Generalized Starlight Prediction');
|
||||
}
|
||||
|
||||
allthemods.create('silent_allthemodium_plate').displayName('Silent Allthemodium Plate').glow(true);
|
||||
allthemods.create('silent_vibranium_plate').displayName('Silent Vibranium Plate').glow(true);
|
||||
allthemods.create('silent_unobtainium_plate').displayName('Silent Unobtainium Plate').glow(true);
|
||||
|
||||
allthemods.create('atm_star_shard_1').displayName('ATM Star Fragment')
|
||||
allthemods.create('atm_star_shard_2').displayName('ATM Star Fragment')
|
||||
allthemods.create('atm_star_shard_3').displayName('ATM Star Fragment')
|
||||
allthemods.create('atm_star_shard_4').displayName('ATM Star Fragment')
|
||||
allthemods.create('atm_star_shard_5').displayName('ATM Star Fragment')
|
||||
allthemods.create('modularium_plate').color(0xe64200).texture('alltheores:item/iron_plate')
|
||||
|
||||
allthemods.create('inferium_enchanting_base').texture('minecraft:item/enchanted_book').color(0x55FF55)
|
||||
allthemods.create('prudentium_enchanting_base').texture('minecraft:item/enchanted_book').color(0x00AA00)
|
||||
allthemods.create('tertium_enchanting_base').texture('minecraft:item/enchanted_book').color(0xEB7114)
|
||||
allthemods.create('imperium_enchanting_base').texture('minecraft:item/enchanted_book').color(0x5555FF)
|
||||
allthemods.create('supremium_enchanting_base').texture('minecraft:item/enchanted_book').color(0xFF5555)
|
||||
|
||||
allthemods.create('fire_eye').use((level, player, hand) => global.iceAndFirePearls(level, player, hand)).texture('kubejs:item/fire_eye')
|
||||
allthemods.create('fire_pearl').texture('kubejs:item/fire_pearl')
|
||||
allthemods.create('lightning_eye').use((level, player, hand) => global.iceAndFirePearls(level, player, hand)).texture('kubejs:item/lightning_eye')
|
||||
allthemods.create('lightning_pearl').texture('kubejs:item/lightning_pearl')
|
||||
allthemods.create('ice_eye').use((level, player, hand) => global.iceAndFirePearls(level, player, hand)).texture('kubejs:item/ice_eye')
|
||||
allthemods.create('ice_pearl').texture('kubejs:item/ice_pearl')
|
||||
|
||||
allthemods.create("allthemodium_solar_sail_package").displayName("Allthemodium Solar Sail Package").component("dysoncubeproject:sphere_component_solar_sail", Java.cast("java.lang.Integer", 64))
|
||||
allthemods.create("allthemodium_beam_package").displayName("Allthemodium Beam Package").component("dysoncubeproject:sphere_component_beam", Java.cast("java.lang.Integer", 16))
|
||||
|
||||
if (!Platform.isLoaded('modular_machinery_reborn')) {
|
||||
allthemods.create('modularium').color(0xe64200).texture('minecraft:item/iron_ingot')
|
||||
}
|
||||
})
|
||||
|
||||
let $Stopwatch = Java.loadClass("com.google.common.base.Stopwatch")
|
||||
let currentStopwatch = null
|
||||
|
||||
global.iceAndFirePearls = (/** @type {$ServerLevel_}} */ level, /** @type {$Player_}} */ player, /** @type {$InteractionHand_}} */ hand) => {
|
||||
let mainItemStack = player.getItemInHand(hand)
|
||||
if (level.clientSide) return true
|
||||
// currentStopwatch = $Stopwatch.createStarted()
|
||||
let $DragonType = Java.loadClass("com.iafenvoy.iceandfire.data.DragonType")
|
||||
let $EntityDragonBase = Java.loadClass("com.iafenvoy.iceandfire.entity.EntityDragonBase")
|
||||
let $AABB = Java.loadClass("net.minecraft.world.phys.AABB")
|
||||
let $Mth = Java.loadClass("net.minecraft.util.Mth")
|
||||
let $EyeOfEnder = Java.loadClass("net.minecraft.world.entity.projectile.EyeOfEnder")
|
||||
let thisType = null
|
||||
let structure = null
|
||||
if (mainItemStack.idLocation.path == "fire_eye") {
|
||||
thisType = $DragonType.FIRE
|
||||
structure = ID.of("iceandfire:fire_dragon_roost", false)
|
||||
}
|
||||
if (mainItemStack.idLocation.path == "ice_eye") {
|
||||
thisType = $DragonType.ICE
|
||||
structure = ID.of("iceandfire:ice_dragon_roost", false)
|
||||
}
|
||||
if (mainItemStack.idLocation.path == "lightning_eye") {
|
||||
thisType = $DragonType.LIGHTNING
|
||||
structure = ID.of("iceandfire:lightning_dragon_roost", false)
|
||||
}
|
||||
|
||||
let radiusEntity = 32
|
||||
let radiusStructure = 16
|
||||
|
||||
let playerPos = player.block.pos
|
||||
let searchAABB = new $AABB(playerPos.x - (radiusEntity * 16), level.getMinBuildHeight(), playerPos.z - (radiusEntity * 16), playerPos.x + (radiusEntity * 16), level.getMaxBuildHeight(), playerPos.z + (radiusEntity * 16))
|
||||
/** @type {$List_<$EntityDragonBase_>} */
|
||||
let targets = level.getEntitiesOfClass($EntityDragonBase, searchAABB)
|
||||
/** @type {$EntityDragonBase_} */
|
||||
let closest = null
|
||||
let currentMinDist = 0
|
||||
targets.forEach(dragon => {
|
||||
if (dragon.dragonType == thisType && !dragon.isModelDead() && !dragon.isTame()) {
|
||||
let dist = dragon.distanceToEntity(player)
|
||||
if (currentMinDist == 0 || dist < currentMinDist ){
|
||||
closest = dragon
|
||||
}
|
||||
}
|
||||
})
|
||||
/** @type {$Pair_<$BlockPos_,$Holder_<$Structure_>} */
|
||||
let structureResult = null
|
||||
if (closest == null) {
|
||||
let holderSet = Registry.of("minecraft:worldgen/structure").registry().getHolder(structure)
|
||||
/** @type {$ServerChunkCache_} */
|
||||
let serverChunkCache = level.getChunkSource()
|
||||
structureResult = serverChunkCache.getGenerator().findNearestMapStructure(level, holderSet.get(), player.block.pos, radiusStructure, false)
|
||||
}
|
||||
if (closest != null || structureResult != null) {
|
||||
// player.startUsingItem(hand)
|
||||
// console.log("Dragon: " + closest)
|
||||
// console.log("Structure: " + structureResult)
|
||||
let headPos = closest != null ? BlockPos.containing(closest.getHeadPosition()) : structureResult.getFirst()
|
||||
let eyeOfEnder = new $EyeOfEnder(level, player.x, player.getY(0.5), player.z)
|
||||
eyeOfEnder.setItem(mainItemStack)
|
||||
eyeOfEnder.signalTo(headPos)
|
||||
|
||||
level.addFreshEntity(eyeOfEnder)
|
||||
|
||||
let f = $Mth.lerp(level.random.nextFloat(), 0.33, 0.5)
|
||||
level["playSound(net.minecraft.world.entity.Entity,net.minecraft.core.BlockPos,net.minecraft.sounds.SoundEvent,net.minecraft.sounds.SoundSource,float,float)"](null, player.block.pos, "minecraft:entity.ender_eye.launch", "neutral", 1, f)
|
||||
|
||||
if (!player.isCreative()) {
|
||||
mainItemStack.consume(1, player);
|
||||
}
|
||||
|
||||
player.swing(hand, true);
|
||||
// console.log(`IceAndFire Pearl event took: ${currentStopwatch.elapsed("milliseconds")} ms`)
|
||||
return true
|
||||
} else {
|
||||
player.statusMessage = "Dragon or Dragon Roost not found nearby..."
|
||||
// console.log(`IceAndFire Pearl event took: ${currentStopwatch.elapsed("milliseconds")} ms`)
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
StartupEvents.registry('fluid', allthemods => {
|
||||
allthemods.create('liquid_souls', 'thin')
|
||||
.tint(0xc9eaff)
|
||||
.displayName('Liquid Souls')
|
||||
.noBlock()
|
||||
|
||||
allthemods.create('unrefined_liquid_souls', 'thin')
|
||||
.tint(0xccebff)
|
||||
.displayName('Unrefined Liquid Souls')
|
||||
.noBlock()
|
||||
|
||||
allthemods.create('liquid_aureal', 'thin')
|
||||
.tint(0x7abaff)
|
||||
.displayName('Liquid Aureal')
|
||||
.noBlock()
|
||||
})
|
||||
|
||||
StartupEvents.modifyCreativeTab('ironfurnaces:ironfurnaces_tab', allthemods => {
|
||||
allthemods.add('ironfurnaces:allthemodium_furnace')
|
||||
allthemods.add('ironfurnaces:vibranium_furnace')
|
||||
allthemods.add('ironfurnaces:unobtainium_furnace')
|
||||
allthemods.add('ironfurnaces:upgrade_allthemodium')
|
||||
allthemods.add('ironfurnaces:upgrade_vibranium')
|
||||
allthemods.add('ironfurnaces:upgrade_unobtainium')
|
||||
})
|
||||
|
||||
StartupEvents.postInit((allthemods) => {
|
||||
$BuiltInRegistries.BLOCK.addAlias("kubejs:blaze_block", "allthecompressed:blaze_rod_block")
|
||||
$BuiltInRegistries.ITEM.addAlias("kubejs:blaze_block", "allthecompressed:blaze_rod_block")
|
||||
|
||||
const colors = [
|
||||
'white',
|
||||
'light_gray',
|
||||
'gray',
|
||||
'black',
|
||||
'brown',
|
||||
'red',
|
||||
'orange',
|
||||
'yellow',
|
||||
'lime',
|
||||
'green',
|
||||
'cyan',
|
||||
'light_blue',
|
||||
'blue',
|
||||
'purple',
|
||||
'magenta',
|
||||
'pink'
|
||||
]
|
||||
|
||||
colors.forEach(color => {
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:bright_${color}`, `luminax:${color}_block`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:bright_${color}`, `luminax:${color}_block`)
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:wool_${color}`, `luminax:dim_${color}_block`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:wool_${color}`, `luminax:dim_${color}_block`)
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:bright_${color}_border`, `luminax:${color}_block`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:bright_${color}_border`, `luminax:${color}_block`)
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:wool_${color}_border`, `luminax:dim_${color}_block`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:wool_${color}_border`, `luminax:dim_${color}_block`)
|
||||
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:stair_${color}`, `luminax:${color}_stairs`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:stair_${color}`, `luminax:${color}_stairs`)
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:stair_${color}_bright`, `luminax:${color}_stairs`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:stair_${color}_bright`, `luminax:${color}_stairs`)
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:stair_${color}_wool`, `luminax:dim_${color}_stairs`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:stair_${color}_wool`, `luminax:dim_${color}_stairs`)
|
||||
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:slab_${color}`, `luminax:${color}_slab`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:slab_${color}`, `luminax:${color}_slab`)
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:slab_${color}_bright`, `luminax:${color}_slab`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:slab_${color}_bright`, `luminax:${color}_slab`)
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:slab_${color}_wool`, `luminax:dim_${color}_slab`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:slab_${color}_wool`, `luminax:dim_${color}_slab`)
|
||||
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:button_bright_${color}`, `luminax:${color}_button`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:button_bright_${color}`, `luminax:${color}_button`)
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:button_wool_${color}`, `luminax:dim_${color}_button`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:button_wool_${color}`, `luminax:dim_${color}_button`)
|
||||
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:pressure_plate_bright_${color}`, `luminax:${color}_pressure_plate`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:pressure_plate_bright_${color}`, `luminax:${color}_pressure_plate`)
|
||||
$BuiltInRegistries.BLOCK.addAlias(`antiblocksrechiseled:pressure_plate_wool_${color}`, `luminax:dim_${color}_pressure_plate`)
|
||||
$BuiltInRegistries.ITEM.addAlias(`antiblocksrechiseled:pressure_plate_wool_${color}`, `luminax:dim_${color}_pressure_plate`)
|
||||
})
|
||||
|
||||
// EnderIO removed those
|
||||
$BuiltInRegistries.ITEM.addAlias("enderio:wood_gear", "minecraft:oak_planks")
|
||||
$BuiltInRegistries.ITEM.addAlias("enderio:stone_gear", "minecraft:cobblestone")
|
||||
|
||||
// MI removed those deepslate
|
||||
$BuiltInRegistries.ITEM.addAlias("modern_industrialization:deepslate_iridium_ore", "modern_industrialization:iridium_ore")
|
||||
$BuiltInRegistries.BLOCK.addAlias("modern_industrialization:deepslate_iridium_ore", "modern_industrialization:iridium_ore")
|
||||
|
||||
if (!Platform.isLoaded('modular_machinery_reborn')) {
|
||||
$BuiltInRegistries.ITEM.addAlias("modular_machinery_reborn:modularium", "kubejs:modularium")
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
200
minecraft/kubejs/startup_scripts/ExtendedAE/InfinityCells.js
Normal file
200
minecraft/kubejs/startup_scripts/ExtendedAE/InfinityCells.js
Normal file
@@ -0,0 +1,200 @@
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
|
||||
StartupEvents.registry('item', allthemods => {
|
||||
|
||||
//##### Fluids #####
|
||||
|
||||
//Lava
|
||||
allthemods.create('lava_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/lava_cell')
|
||||
.fluidType('minecraft:lava')
|
||||
.cellModel('kubejs:block/drive/lava_cell');
|
||||
|
||||
// ##### Basic Stuff #####
|
||||
//Dirt
|
||||
allthemods.create('dirt_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/dirt_cell')
|
||||
.itemType('minecraft:dirt')
|
||||
.cellModel('kubejs:block/drive/dirt_cell');
|
||||
//Moss
|
||||
allthemods.create('moss_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/moss_cell')
|
||||
.itemType('minecraft:moss_block')
|
||||
.cellModel('kubejs:block/drive/moss_cell');
|
||||
//Andesite
|
||||
allthemods.create('andesite_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/andesite_cell')
|
||||
.itemType('minecraft:andesite')
|
||||
.cellModel('kubejs:block/drive/andesite_cell');
|
||||
//Diorite
|
||||
allthemods.create('diorite_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/diorite_cell')
|
||||
.itemType('minecraft:diorite')
|
||||
.cellModel('kubejs:block/drive/diorite_cell');
|
||||
//Granite
|
||||
allthemods.create('granite_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/granite_cell')
|
||||
.itemType('minecraft:granite')
|
||||
.cellModel('kubejs:block/drive/granite_cell');
|
||||
//Tuff
|
||||
allthemods.create('tuff_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/tuff_cell')
|
||||
.itemType('minecraft:tuff')
|
||||
.cellModel('kubejs:block/drive/tuff_cell');
|
||||
//Gravel
|
||||
allthemods.create('gravel_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/gravel_cell')
|
||||
.itemType('minecraft:gravel')
|
||||
.cellModel('kubejs:block/drive/gravel_cell');
|
||||
//sand
|
||||
allthemods.create('sand_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/sand_cell')
|
||||
.itemType('minecraft:sand')
|
||||
.cellModel('kubejs:block/drive/sand_cell');
|
||||
//Red Sand
|
||||
allthemods.create('red_sand_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/red_sand_cell')
|
||||
.itemType('minecraft:red_sand')
|
||||
.cellModel('kubejs:block/drive/red_sand_cell');
|
||||
//End Stone
|
||||
allthemods.create('end_stone_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/end_stone_cell')
|
||||
.itemType('minecraft:end_stone')
|
||||
.cellModel('kubejs:block/drive/end_stone_cell');
|
||||
//Netherrack
|
||||
allthemods.create('netherrack_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/netherrack_cell')
|
||||
.itemType('minecraft:netherrack')
|
||||
.cellModel('kubejs:block/drive/netherrack_cell');
|
||||
//Clay
|
||||
allthemods.create('clay_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/clay_cell')
|
||||
.itemType('minecraft:clay')
|
||||
.cellModel('kubejs:block/drive/clay_cell');
|
||||
//Blackstone
|
||||
allthemods.create('blackstone_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/blackstone_cell')
|
||||
.itemType('minecraft:blackstone')
|
||||
.cellModel('kubejs:block/drive/blackstone_cell');
|
||||
//Basalt
|
||||
allthemods.create('basalt_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/basalt_cell')
|
||||
.itemType('minecraft:basalt')
|
||||
.cellModel('kubejs:block/drive/basalt_cell');
|
||||
//Calcite
|
||||
allthemods.create('calcite_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/calcite_cell')
|
||||
.itemType('minecraft:calcite')
|
||||
.cellModel('kubejs:block/drive/calcite_cell');
|
||||
//Cobbled Deepslate
|
||||
allthemods.create('cobbled_deepslate_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/cobbled_deepslate_cell')
|
||||
.itemType('minecraft:cobbled_deepslate')
|
||||
.cellModel('kubejs:block/drive/cobbled_deepslate_cell');
|
||||
//Soul Sand
|
||||
allthemods.create('soul_sand_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/soul_sand_cell')
|
||||
.itemType('minecraft:soul_sand')
|
||||
.cellModel('kubejs:block/drive/soul_sand_cell');
|
||||
//Sky stone
|
||||
allthemods.create('sky_stone_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/sky_stone_cell')
|
||||
.itemType('ae2:sky_stone_block')
|
||||
.cellModel('kubejs:block/drive/sky_stone_cell');
|
||||
//Kivi
|
||||
allthemods.create('kivi_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/kivi_cell')
|
||||
.itemType('xycraft_world:kivi')
|
||||
.cellModel('kubejs:block/drive/kivi_cell');
|
||||
//Ancient Stone
|
||||
allthemods.create('ancient_stone_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/ancient_stone_cell')
|
||||
.itemType('allthemodium:ancient_stone')
|
||||
.cellModel('kubejs:block/drive/ancient_stone_cell');
|
||||
|
||||
//White dye
|
||||
allthemods.create('white_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/white_cell')
|
||||
.itemType('minecraft:white_dye')
|
||||
.cellModel('kubejs:block/drive/white_cell');
|
||||
//Light Gray dye
|
||||
allthemods.create('light_gray_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/light_gray_cell')
|
||||
.itemType('minecraft:light_gray_dye')
|
||||
.cellModel('kubejs:block/drive/light_gray_cell');
|
||||
//Gray dye
|
||||
allthemods.create('gray_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/gray_cell')
|
||||
.itemType('minecraft:gray_dye')
|
||||
.cellModel('kubejs:block/drive/gray_cell');
|
||||
//Black dye
|
||||
allthemods.create('black_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/black_cell')
|
||||
.itemType('minecraft:black_dye')
|
||||
.cellModel('kubejs:block/drive/black_cell');
|
||||
//Brown dye
|
||||
allthemods.create('brown_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/brown_cell')
|
||||
.itemType('minecraft:brown_dye')
|
||||
.cellModel('kubejs:block/drive/brown_cell');
|
||||
//Red dye
|
||||
allthemods.create('red_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/red_cell')
|
||||
.itemType('minecraft:red_dye')
|
||||
.cellModel('kubejs:block/drive/red_cell');
|
||||
//Orange dye
|
||||
allthemods.create('orange_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/orange_cell')
|
||||
.itemType('minecraft:orange_dye')
|
||||
.cellModel('kubejs:block/drive/orange_cell');
|
||||
//Yellow dye
|
||||
allthemods.create('yellow_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/yellow_cell')
|
||||
.itemType('minecraft:yellow_dye')
|
||||
.cellModel('kubejs:block/drive/yellow_cell');
|
||||
//Lime dye
|
||||
allthemods.create('lime_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/lime_cell')
|
||||
.itemType('minecraft:lime_dye')
|
||||
.cellModel('kubejs:block/drive/lime_cell');
|
||||
//Green dye
|
||||
allthemods.create('green_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/green_cell')
|
||||
.itemType('minecraft:green_dye')
|
||||
.cellModel('kubejs:block/drive/green_cell');
|
||||
//Cyan dye
|
||||
allthemods.create('cyan_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/cyan_cell')
|
||||
.itemType('minecraft:cyan_dye')
|
||||
.cellModel('kubejs:block/drive/cyan_cell');
|
||||
//Light Blue dye
|
||||
allthemods.create('light_blue_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/light_blue_cell')
|
||||
.itemType('minecraft:light_blue_dye')
|
||||
.cellModel('kubejs:block/drive/light_blue_cell');
|
||||
//Blue dye
|
||||
allthemods.create('blue_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/blue_cell')
|
||||
.itemType('minecraft:blue_dye')
|
||||
.cellModel('kubejs:block/drive/blue_cell');
|
||||
//Purple dye
|
||||
allthemods.create('purple_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/purple_cell')
|
||||
.itemType('minecraft:purple_dye')
|
||||
.cellModel('kubejs:block/drive/purple_cell');
|
||||
//Magenta dye
|
||||
allthemods.create('magenta_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/magenta_cell')
|
||||
.itemType('minecraft:magenta_dye')
|
||||
.cellModel('kubejs:block/drive/magenta_cell');
|
||||
//Pink dye
|
||||
allthemods.create('pink_cell', 'custom_infinity_cell')
|
||||
.texture('kubejs:item/pink_cell')
|
||||
.itemType('minecraft:pink_dye')
|
||||
.cellModel('kubejs:block/drive/pink_cell');
|
||||
|
||||
})
|
||||
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
*/
|
||||
|
||||
let stews = [
|
||||
"biomeswevegone:white_puffball_stew",
|
||||
"rootsclassic:rooty_stew",
|
||||
"undergarden:bloody_stew",
|
||||
"undergarden:inky_stew",
|
||||
"undergarden:indigo_stew",
|
||||
"undergarden:veiled_stew"
|
||||
]
|
||||
|
||||
ItemEvents.modification(allthemods => {
|
||||
stews.forEach(stew => {
|
||||
allthemods.modify(stew, item => {
|
||||
item.maxStackSize = 16
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
@@ -0,0 +1,5 @@
|
||||
StartupEvents.postInit(event => {
|
||||
let $ChemthrowerHandler = Java.loadClass("blusunrize.immersiveengineering.api.tool.ChemthrowerHandler")
|
||||
let $ChemthrowerEffect_Extinguish = Java.loadClass("blusunrize.immersiveengineering.api.tool.ChemthrowerHandler$ChemthrowerEffect_Extinguish")
|
||||
$ChemthrowerHandler.registerEffect("c:hydrofluoric_acid", new $ChemthrowerEffect_Extinguish())
|
||||
})
|
||||
55
minecraft/kubejs/startup_scripts/Mekanism/Compatibility.js
Normal file
55
minecraft/kubejs/startup_scripts/Mekanism/Compatibility.js
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
Mekanism items for processing stack
|
||||
Authored by EnigmaQuip
|
||||
|
||||
if using existing dust, dust must be defined until kjs tag loading fixed
|
||||
material at a minimum should have an ore associated with it at #c:ores/material
|
||||
*/
|
||||
|
||||
global.mekStackAdditions = [
|
||||
{material:'crimson_iron', color:'#fc9aad', makeDust: false},
|
||||
{material:'azure_silver', color:'#e89ffc', makeDust: false}
|
||||
]
|
||||
|
||||
// DO NOT EDIT BELOW THIS LINE
|
||||
|
||||
const Chemical = Java.loadClass('mekanism.api.chemical.Chemical')
|
||||
const ChemicalBuilder = Java.loadClass('mekanism.api.chemical.ChemicalBuilder')
|
||||
|
||||
StartupEvents.registry('item', allthemods => {
|
||||
const mekItems = ['clump', 'crystal', 'dirty_dust', 'shard']
|
||||
function mekStack(name, color) {
|
||||
mekItems.forEach(type => {
|
||||
allthemods.create(`${name}_${type}`)
|
||||
.texture('layer0', 'mekanism:item/empty')
|
||||
.texture('layer1', `mekanism:item/${type}`)
|
||||
.texture('layer2', `mekanism:item/${type}_overlay`)
|
||||
.color(1, color)
|
||||
.tag(`c:${type}s`)
|
||||
.tag(`c:${type}s/${name}`)
|
||||
})
|
||||
}
|
||||
global.mekStackAdditions.forEach(entry => {
|
||||
mekStack(entry.material, entry.color)
|
||||
if (entry.makeDust) {
|
||||
allthemods.create(`dust_${entry.material}`)
|
||||
.texture('layer0', 'mekanism:item/empty')
|
||||
.texture('layer1', `mekanism:item/dust`)
|
||||
.color(1, entry.color)
|
||||
.tag(`c:dusts`)
|
||||
.tag(`c:dusts/${entry.material}`)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
StartupEvents.registry('mekanism:chemical', allthemods => {
|
||||
global.mekStackAdditions.forEach(entry => {
|
||||
allthemods.createCustom(`clean_${entry.material}`, () => Chemical(ChemicalBuilder.cleanSlurry().tint(Color.wrap(entry.color).getRgb()).ore(`c:ores/${entry.material}`)))
|
||||
allthemods.createCustom(`dirty_${entry.material}`, () => Chemical(ChemicalBuilder.dirtySlurry().tint(Color.wrap(entry.color).getRgb()).ore(`c:ores/${entry.material}`)))
|
||||
})
|
||||
})
|
||||
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
@@ -0,0 +1,58 @@
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
|
||||
StartupEvents.registry('item', allthemods => {
|
||||
allthemods.create('allthemodium_drill')
|
||||
.texture('kubejs:item/allthemodium_drill')
|
||||
.maxStackSize(64)
|
||||
.displayName('Allthemodium Drill');
|
||||
allthemods.create('allthemodium_drill_head')
|
||||
.texture('kubejs:item/allthemodium_drill_head')
|
||||
.maxStackSize(64)
|
||||
.displayName('Allthemodium Drill Head');
|
||||
allthemods.create('allthemodium_curved_plate')
|
||||
.texture('kubejs:item/allthemodium_curved_plate')
|
||||
.maxStackSize(64)
|
||||
.displayName('Allthemodium Curved Plate');
|
||||
allthemods.create('allthemodium_bolt')
|
||||
.texture('kubejs:item/allthemodium_bolt')
|
||||
.maxStackSize(64)
|
||||
.displayName('Allthemodium Bolt');
|
||||
|
||||
allthemods.create('vibranium_drill')
|
||||
.texture('kubejs:item/vibranium_drill')
|
||||
.maxStackSize(64)
|
||||
.displayName('Vibranium Drill');
|
||||
allthemods.create('vibranium_drill_head')
|
||||
.texture('kubejs:item/vibranium_drill_head')
|
||||
.maxStackSize(64)
|
||||
.displayName('Vibranium Drill Head');
|
||||
allthemods.create('vibranium_curved_plate')
|
||||
.texture('kubejs:item/vibranium_curved_plate')
|
||||
.maxStackSize(64)
|
||||
.displayName('Vibranium Curved Plate');
|
||||
allthemods.create('vibranium_bolt')
|
||||
.texture('kubejs:item/vibranium_bolt')
|
||||
.maxStackSize(64)
|
||||
.displayName('Vibranium Bolt');
|
||||
|
||||
allthemods.create('unobtainium_drill')
|
||||
.texture('kubejs:item/unobtainium_drill')
|
||||
.maxStackSize(64)
|
||||
.displayName('Unobtainium Drill');
|
||||
allthemods.create('unobtainium_drill_head')
|
||||
.texture('kubejs:item/unobtainium_drill_head')
|
||||
.maxStackSize(64)
|
||||
.displayName('Unobtainium Drill Head');
|
||||
allthemods.create('unobtainium_curved_plate')
|
||||
.texture('kubejs:item/unobtainium_curved_plate')
|
||||
.maxStackSize(64)
|
||||
.displayName('Unobtainium Curved Plate');
|
||||
allthemods.create('unobtainium_bolt')
|
||||
.texture('kubejs:item/unobtainium_bolt')
|
||||
.maxStackSize(64)
|
||||
.displayName('Unobtainium Bolt');
|
||||
})
|
||||
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
@@ -0,0 +1,67 @@
|
||||
let auto_forge
|
||||
|
||||
MIMachineEvents.registerRecipeTypes(allthemods => {
|
||||
auto_forge = allthemods.register('auto_forge')
|
||||
.withItemInputs()
|
||||
.withItemOutputs()
|
||||
.withFluidInputs()
|
||||
})
|
||||
|
||||
MIMachineEvents.registerMachines(allthemods => {
|
||||
const darkStair = allthemods.memberOfBlock('forbidden_arcanus:polished_darkstone_stairs')
|
||||
const darkStone = allthemods.memberOfBlock('forbidden_arcanus:polished_darkstone')
|
||||
const darkSlab = allthemods.memberOfBlock('forbidden_arcanus:polished_darkstone_slab')
|
||||
const darkGuilded = allthemods.memberOfBlock('forbidden_arcanus:gilded_chiseled_polished_darkstone')
|
||||
const darkPedestal = allthemods.memberOfBlock('forbidden_arcanus:darkstone_pedestal')
|
||||
const runeBlock = allthemods.memberOfBlock('forbidden_arcanus:rune_block')
|
||||
const arcaneBlock = allthemods.memberOfBlock('forbidden_arcanus:arcane_polished_darkstone')
|
||||
const arcaneChiseled = allthemods.memberOfBlock('forbidden_arcanus:chiseled_arcane_polished_darkstone')
|
||||
const arcaneObelisk = allthemods.memberOfBlock('forbidden_arcanus:arcane_crystal_obelisk')
|
||||
const quantumBlock = allthemods.memberOfBlock('forbidden_arcanus:quantum_injector')
|
||||
const hephForge = allthemods.memberOfBlock('forbidden_arcanus:hephaestus_forge_tier_5')
|
||||
const hatchBlock = allthemods.hatchOf('item_input', 'item_output', 'fluid_input', 'fluid_output', 'energy_input')
|
||||
|
||||
const forgeShape = allthemods.layeredShape('darkstone_casing', [
|
||||
['ssshahahsss', ' xsssx ', ' ', ' ', ' '],
|
||||
['sddddddddds', ' oxxdddxxo ', ' ', ' ', ' '],
|
||||
['sdrdddddrds', ' xdddgdddx ', ' p ', ' ', ' '],
|
||||
['hdddddddddh', 'xxdgdddgdxx', ' p p ', ' ', ' '],
|
||||
['addddddddda', 'sddddcdddds', ' ', ' ', ' '],
|
||||
['hdddddddddh', 'sdgdcgcdgds', ' p f p ', ' ', ' q '],
|
||||
['addddddddda', 'sddddcdddds', ' ', ' ', ' '],
|
||||
['hdddddddddh', 'xxdgdddgdxx', ' p p ', ' ', ' '],
|
||||
['sdrdddddrds', ' xdddgdddx ', ' p ', ' ', ' '],
|
||||
['sddddddddds', ' oxxdddxxo ', ' ', ' ', ' '],
|
||||
['sssha#ahsss', ' xsssx ', ' ', ' ', ' ']
|
||||
])
|
||||
.key('s', darkStair, allthemods.noHatch())
|
||||
.key('x', darkSlab, allthemods.noHatch())
|
||||
.key('d', darkStone, allthemods.noHatch())
|
||||
.key('g', darkGuilded, allthemods.noHatch())
|
||||
.key('r', runeBlock, allthemods.noHatch())
|
||||
.key('p', darkPedestal, allthemods.noHatch())
|
||||
.key('a', arcaneBlock, allthemods.noHatch())
|
||||
.key('c', arcaneChiseled, allthemods.noHatch())
|
||||
.key('f', hephForge, allthemods.noHatch())
|
||||
.key('q', quantumBlock, allthemods.noHatch())
|
||||
.key('o', arcaneObelisk, allthemods.noHatch())
|
||||
.key('h', darkStone, hatchBlock)
|
||||
.build()
|
||||
|
||||
allthemods.simpleElectricCraftingMultiBlock(
|
||||
'Automatic Hephaestus Forge',
|
||||
'auto_forge',
|
||||
auto_forge,
|
||||
forgeShape,
|
||||
allthemods.progressBar(92, 30, 'arrow'),
|
||||
itemInputs => itemInputs.addSlots(28, 16, 3, 3),
|
||||
itemOutputs => itemOutputs.addSlot(128, 32),
|
||||
fluidInputs => fluidInputs.addSlots(8, 8, 1, 4),
|
||||
fluidOutputs => {},
|
||||
'darkstone_casing',
|
||||
'runic_multis',
|
||||
true,
|
||||
false,
|
||||
false
|
||||
)
|
||||
})
|
||||
@@ -0,0 +1,32 @@
|
||||
MIMachineEvents.registerCasings(allthemods => {
|
||||
allthemods.registerBlockImitation('darkstone_casing', 'forbidden_arcanus:polished_darkstone')
|
||||
})
|
||||
|
||||
MIRegistrationEvents.registerCableTiers(allthemods => {
|
||||
allthemods.register(
|
||||
'runic',
|
||||
'Runic',
|
||||
'Runic',
|
||||
262144,
|
||||
'darkstone_casing',
|
||||
);
|
||||
})
|
||||
|
||||
MIMachineEvents.registerHatches(allthemods => {
|
||||
allthemods.energy('runic')
|
||||
|
||||
allthemods .fluid(
|
||||
'Runic',
|
||||
'runic',
|
||||
'darkstone_casing',
|
||||
4096
|
||||
)
|
||||
|
||||
allthemods.item(
|
||||
'Runic',
|
||||
'runic',
|
||||
'darkstone_casing',
|
||||
3, 5,
|
||||
8, 17
|
||||
)
|
||||
})
|
||||
@@ -0,0 +1,57 @@
|
||||
let runic_crucible;
|
||||
|
||||
MIMachineEvents.registerRecipeTypes(allthemods => {
|
||||
runic_crucible = allthemods.register('runic_crucible')
|
||||
.withItemInputs()
|
||||
.withItemOutputs()
|
||||
.withFluidInputs()
|
||||
.withFluidOutputs()
|
||||
})
|
||||
|
||||
MIMachineEvents.registerMachines(allthemods => {
|
||||
|
||||
const darkStair = allthemods.memberOfBlock('forbidden_arcanus:polished_darkstone_stairs')
|
||||
const darkStone = allthemods.memberOfBlock('forbidden_arcanus:polished_darkstone')
|
||||
const darkGuilded = allthemods.memberOfBlock('forbidden_arcanus:gilded_chiseled_polished_darkstone')
|
||||
const runeBlock = allthemods.memberOfBlock('forbidden_arcanus:rune_block')
|
||||
const arcanePillar = allthemods.memberOfBlock('forbidden_arcanus:arcane_polished_darkstone_pillar')
|
||||
const arcaneBlock = allthemods.memberOfBlock('forbidden_arcanus:arcane_polished_darkstone')
|
||||
const crystalBlock = allthemods.memberOfBlock('forbidden_arcanus:arcane_crystal_block')
|
||||
const quantumBlock = allthemods.memberOfBlock('forbidden_arcanus:quantum_injector')
|
||||
const hatchBlock = allthemods.hatchOf('item_input', 'item_output', 'fluid_input', 'fluid_output', 'energy_input')
|
||||
|
||||
const crucibleShape = allthemods.layeredShape('darkstone_casing', [
|
||||
['rsssr', 'phahp', 'c c', ' '],
|
||||
['sddds', 'hsssh', ' ', ' '],
|
||||
['sdgds', 'ascsa', ' ', ' q '],
|
||||
['sddds', 'hsssh', ' ', ' '],
|
||||
['rs#sr', 'phahp', 'c c', ' ']
|
||||
])
|
||||
.key('s', darkStair, allthemods.noHatch())
|
||||
.key('d', darkStone, allthemods.noHatch())
|
||||
.key('g', darkGuilded, allthemods.noHatch())
|
||||
.key('r', runeBlock, allthemods.noHatch())
|
||||
.key('p', arcanePillar, allthemods.noHatch())
|
||||
.key('a', arcaneBlock, allthemods.noHatch())
|
||||
.key('c', crystalBlock, allthemods.noHatch())
|
||||
.key('q', quantumBlock, allthemods.noHatch())
|
||||
.key('h', darkStone, hatchBlock)
|
||||
.build();
|
||||
|
||||
allthemods.simpleElectricCraftingMultiBlock(
|
||||
'Runic Crucible',
|
||||
'runic_crucible',
|
||||
runic_crucible,
|
||||
crucibleShape,
|
||||
allthemods.progressBar(116, 6, 'arrow'),
|
||||
itemInputs => itemInputs.addSlots(44, 8, 3, 1),
|
||||
itemOuputs => itemOuputs.addSlot(172, 8),
|
||||
fluidInputs => fluidInputs.addSlots(8, 8, 2, 1),
|
||||
fluidOutputs => fluidOutputs.addSlot(154, 8),
|
||||
'darkstone_casing',
|
||||
'runic_multis',
|
||||
true,
|
||||
false,
|
||||
false
|
||||
)
|
||||
})
|
||||
@@ -0,0 +1,76 @@
|
||||
let runic_enchanter
|
||||
|
||||
MIMachineEvents.registerRecipeTypes(allthemods => {
|
||||
runic_enchanter = allthemods.register('runic_enchanter')
|
||||
.withItemInputs()
|
||||
.withItemOutputs()
|
||||
.withFluidInputs()
|
||||
})
|
||||
|
||||
MIMachineEvents.registerMachines(allthemods => {
|
||||
const darkStair = allthemods.memberOfBlock('forbidden_arcanus:polished_darkstone_stairs')
|
||||
const darkStone = allthemods.memberOfBlock('forbidden_arcanus:polished_darkstone')
|
||||
const darkSlab = allthemods.memberOfBlock('forbidden_arcanus:polished_darkstone_slab')
|
||||
const darkGuilded = allthemods.memberOfBlock('forbidden_arcanus:gilded_chiseled_polished_darkstone')
|
||||
const darkPedestal = allthemods.memberOfBlock('forbidden_arcanus:darkstone_pedestal')
|
||||
const runeBlock = allthemods.memberOfBlock('forbidden_arcanus:rune_block')
|
||||
const arcanePillar = allthemods.memberOfBlock('forbidden_arcanus:arcane_polished_darkstone_pillar')
|
||||
const arcaneBlock = allthemods.memberOfBlock('forbidden_arcanus:arcane_polished_darkstone')
|
||||
const crystalBlock = allthemods.memberOfBlock('forbidden_arcanus:arcane_crystal_block')
|
||||
const quantumBlock = allthemods.memberOfBlock('forbidden_arcanus:quantum_injector')
|
||||
const soulDeep = allthemods.memberOfBlock('apothic_enchanting:soul_touched_deepshelf')
|
||||
const soulSculk = allthemods.memberOfBlock('apothic_enchanting:soul_touched_sculkshelf')
|
||||
const echoSculk = allthemods.memberOfBlock('apothic_enchanting:echoing_sculkshelf')
|
||||
const soulLantern = allthemods.memberOfBlock('minecraft:soul_lantern')
|
||||
const enchantTable = allthemods.memberOfBlock('minecraft:enchanting_table')
|
||||
const hatchBlock = allthemods.hatchOf('item_input', 'item_output', 'fluid_input', 'energy_input')
|
||||
|
||||
const enchanterShape = allthemods.layeredShape('darkstone_casing', [
|
||||
[' sssss ', ' ', ' ', ' ', ' '],
|
||||
[' usrrrsj ', ' xxx ', ' ', ' ', ' '],
|
||||
[' jjdddddjj ', ' uxdddxm ', ' ', ' ', ' '],
|
||||
[' jjrdddddrjm ', ' mjjdgdjju ', ' j p j ', ' i i ', ' '],
|
||||
['ssddhccchddss', ' xjglllgjx ', ' p p ', ' ', ' '],
|
||||
['srddchhhcddrs', ' xddlssslddx ', ' ', ' ', ' '],
|
||||
['srddchhhcddrs', ' xdglsgslgdx ', ' p t p ', ' ', ' q '],
|
||||
['srddchhhcddrs', ' xddlssslddx ', ' ', ' ', ' '],
|
||||
['ssddhccchddss', ' xjglllgjx ', ' p p ', ' ', ' '],
|
||||
[' ujrdddddrju ', ' jjjdgdjjj ', ' j p j ', ' i i ', ' '],
|
||||
[' ujdddddjm ', ' uxdddxu ', ' ', ' ', ' '],
|
||||
[' usrrrsu ', ' xxx ', ' ', ' ', ' '],
|
||||
[' ss#ss ', ' ', ' ', ' ', ' ']
|
||||
])
|
||||
.key('s', darkStair, allthemods.noHatch())
|
||||
.key('x', darkSlab, allthemods.noHatch())
|
||||
.key('d', darkStone, allthemods.noHatch())
|
||||
.key('g', darkGuilded, allthemods.noHatch())
|
||||
.key('r', runeBlock, allthemods.noHatch())
|
||||
.key('p', darkPedestal, allthemods.noHatch())
|
||||
.key('l', arcanePillar, allthemods.noHatch())
|
||||
.key('c', crystalBlock, allthemods.noHatch())
|
||||
.key('q', quantumBlock, allthemods.noHatch())
|
||||
.key('t', enchantTable, allthemods.noHatch())
|
||||
.key('u', soulSculk, allthemods.noHatch())
|
||||
.key('j', soulDeep, allthemods.noHatch())
|
||||
.key('m', echoSculk, allthemods.noHatch())
|
||||
.key('i', soulLantern, allthemods.noHatch())
|
||||
.key('h', darkStone, hatchBlock)
|
||||
.build()
|
||||
|
||||
allthemods.simpleElectricCraftingMultiBlock(
|
||||
'Runic Enchanter',
|
||||
'runic_enchanter',
|
||||
runic_enchanter,
|
||||
enchanterShape,
|
||||
allthemods.progressBar(56, 22, 'arrow'),
|
||||
itemInputs => itemInputs.addSlots(26, 8, 1, 3),
|
||||
itemOuputs => itemOuputs.addSlot(92, 24),
|
||||
fluidInputs => fluidInputs.addSlots(8, 16, 1, 2),
|
||||
fluidOutputs => {},
|
||||
'darkstone_casing',
|
||||
'runic_multis',
|
||||
true,
|
||||
false,
|
||||
false
|
||||
)
|
||||
})
|
||||
@@ -0,0 +1,77 @@
|
||||
let star_altar
|
||||
|
||||
MIMachineEvents.registerRecipeTypes(allthemods => {
|
||||
star_altar = allthemods.register('star_altar')
|
||||
.withItemInputs()
|
||||
.withItemOutputs()
|
||||
})
|
||||
|
||||
MIMachineEvents.registerMachines(allthemods => {
|
||||
|
||||
const darkStair = allthemods.memberOfBlock('forbidden_arcanus:polished_darkstone_stairs')
|
||||
const darkStone = allthemods.memberOfBlock('forbidden_arcanus:polished_darkstone')
|
||||
const darkSlab = allthemods.memberOfBlock('forbidden_arcanus:polished_darkstone_slab')
|
||||
const darkGuilded = allthemods.memberOfBlock('forbidden_arcanus:gilded_chiseled_polished_darkstone')
|
||||
const darkPedestal = allthemods.memberOfBlock('forbidden_arcanus:darkstone_pedestal')
|
||||
const runeBlock = allthemods.memberOfBlock('forbidden_arcanus:rune_block')
|
||||
const arcaneBlock = allthemods.memberOfBlock('forbidden_arcanus:arcane_polished_darkstone')
|
||||
const arcaneChiseled = allthemods.memberOfBlock('forbidden_arcanus:chiseled_arcane_polished_darkstone')
|
||||
const arcaneObelisk = allthemods.memberOfBlock('forbidden_arcanus:arcane_crystal_obelisk')
|
||||
const arcanePillar = allthemods.memberOfBlock('forbidden_arcanus:arcane_polished_darkstone_pillar')
|
||||
const quantumBlock = allthemods.memberOfBlock('forbidden_arcanus:quantum_injector')
|
||||
const crystalBlock = allthemods.memberOfBlock('forbidden_arcanus:arcane_crystal_block')
|
||||
const magneticPedestal = allthemods.memberOfBlock('forbidden_arcanus:magnetized_darkstone_pedestal')
|
||||
const utremJar = allthemods.memberOfBlock('forbidden_arcanus:essence_utrem_jar')
|
||||
const hatchBlock = allthemods.hatchOf('item_input', 'item_output', 'energy_input')
|
||||
|
||||
const altarShape = allthemods.layeredShape('darkstone_casing', [
|
||||
[' ssshahahsss ', ' sssss ', ' ', ' ', ' ', ' ', ' ', ' '],
|
||||
[' ssdddddddddss ', ' sssdgdsss ', ' o ', ' ', ' ', ' ', ' ', ' '],
|
||||
['ssdddddddddddss', ' ssdddddddss ', ' xsssssx ', ' ', ' ', ' ', ' ', ' '],
|
||||
['sddddddddddddds', ' ssgdddddddgss ', ' oxrdddrxo ', ' l l ', ' l l ', ' l l ', ' l l ', ' rlklr '],
|
||||
['sddddddddddddds', ' sddddddddddds ', ' xxxddgddxxx ', ' p ', ' ', ' ', ' ', ' '],
|
||||
['hdddddddddddddh', 'ssdddddddddddss', ' srdgdddgdrs ', ' l p p l ', ' l l ', ' l l ', ' l l ', ' r r '],
|
||||
['addddddddddddda', 'sddddddddddddds', ' sdddcdcddds ', ' j j ', ' ', ' ', ' ', ' l l '],
|
||||
['hdddddddddddddh', 'sgdddddddddddgs', ' osdgddgddgdso ', ' p m p ', ' ', ' q ', ' ', ' k k '],
|
||||
['addddddddddddda', 'sddddddddddddds', ' sdddcdcddds ', ' j j ', ' ', ' ', ' ', ' l l '],
|
||||
['hdddddddddddddh', 'ssdddddddddddss', ' srdgdddgdrs ', ' l p p l ', ' l l ', ' l l ', ' l l ', ' r r '],
|
||||
['sddddddddddddds', ' sddddddddddds ', ' xxxddgddxxx ', ' p ', ' ', ' ', ' ', ' '],
|
||||
['sddddddddddddds', ' ssgdddddddgss ', ' oxrdddrxo ', ' l l ', ' l l ', ' l l ', ' l l ', ' rlklr '],
|
||||
['ssdddddddddddss', ' ssdddddddss ', ' xsssssx ', ' ', ' ', ' ', ' ', ' '],
|
||||
[' ssdddddddddss ', ' sssdgdsss ', ' o ', ' ', ' ', ' ', ' ', ' '],
|
||||
[' sssha#ahsss ', ' sssss ', ' ', ' ', ' ', ' ', ' ', ' ']
|
||||
])
|
||||
.key('s', darkStair, allthemods.noHatch())
|
||||
.key('x', darkSlab, allthemods.noHatch())
|
||||
.key('d', darkStone, allthemods.noHatch())
|
||||
.key('g', darkGuilded, allthemods.noHatch())
|
||||
.key('r', runeBlock, allthemods.noHatch())
|
||||
.key('p', darkPedestal, allthemods.noHatch())
|
||||
.key('l', arcanePillar, allthemods.noHatch())
|
||||
.key('k', crystalBlock, allthemods.noHatch())
|
||||
.key('a', arcaneBlock, allthemods.noHatch())
|
||||
.key('c', arcaneChiseled, allthemods.noHatch())
|
||||
.key('m', magneticPedestal, allthemods.noHatch())
|
||||
.key('q', quantumBlock, allthemods.noHatch())
|
||||
.key('o', arcaneObelisk, allthemods.noHatch())
|
||||
.key('j', utremJar, allthemods.noHatch())
|
||||
.key('h', darkStone, hatchBlock)
|
||||
.build()
|
||||
|
||||
allthemods.simpleElectricCraftingMultiBlock(
|
||||
'Runic Star Altar',
|
||||
'star_altar',
|
||||
star_altar,
|
||||
altarShape,
|
||||
allthemods.progressBar(104, 22, 'arrow'),
|
||||
itemInputs => itemInputs.addSlots(8, 8, 5, 3),
|
||||
itemOuputs => itemOuputs.addSlot(140, 24),
|
||||
fluidInputs => {},
|
||||
fluidOutputs => {},
|
||||
'darkstone_casing',
|
||||
'runic_multis',
|
||||
true,
|
||||
false,
|
||||
false
|
||||
)
|
||||
})
|
||||
163
minecraft/kubejs/startup_scripts/Potionsmaster/potionsmaster.js
Normal file
163
minecraft/kubejs/startup_scripts/Potionsmaster/potionsmaster.js
Normal file
@@ -0,0 +1,163 @@
|
||||
// priority 100
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
|
||||
global.potions_server = [
|
||||
{
|
||||
id: 'coal',
|
||||
color: -14671840,
|
||||
item: 'minecraft:coal',
|
||||
name: 'Coal'
|
||||
},
|
||||
{
|
||||
id: 'gold',
|
||||
color: -2838729,
|
||||
item: '#c:raw_materials/gold',
|
||||
name: 'Gold'
|
||||
},
|
||||
{
|
||||
id: 'iron',
|
||||
color: -1785686,
|
||||
item: '#c:raw_materials/iron',
|
||||
name: 'Iron'
|
||||
},
|
||||
{
|
||||
id: 'copper',
|
||||
color: -4755398,
|
||||
item: '#c:raw_materials/copper',
|
||||
name: 'Copper'
|
||||
},
|
||||
{
|
||||
id: 'diamond',
|
||||
color: -12723229,
|
||||
item: '#c:gems/diamond',
|
||||
name: 'Diamond'
|
||||
},
|
||||
{
|
||||
id: 'emerald',
|
||||
color: -16711936,
|
||||
item: '#c:gems/emerald',
|
||||
name: 'Emerald'
|
||||
},
|
||||
{
|
||||
id: 'lapis',
|
||||
color: -16776961,
|
||||
item: '#c:gems/lapis',
|
||||
name: 'Lapis'
|
||||
},
|
||||
{
|
||||
id: 'netherite_scrap',
|
||||
color: -23296,
|
||||
item: 'minecraft:netherite_scrap',
|
||||
name: 'Netherite'
|
||||
},
|
||||
{
|
||||
id: 'quartz',
|
||||
color: -1,
|
||||
item: '#c:gems/quartz',
|
||||
name: 'Quartz'
|
||||
},
|
||||
{
|
||||
id: 'redstone',
|
||||
color: -65536,
|
||||
item: 'minecraft:redstone',
|
||||
name: 'Redstone'
|
||||
},
|
||||
{
|
||||
id: 'aluminum',
|
||||
color: -1842205,
|
||||
item: '#c:raw_materials/aluminum',
|
||||
name: 'Aluminum'
|
||||
},
|
||||
{
|
||||
id: 'tin',
|
||||
color: -8882056,
|
||||
item: '#c:raw_materials/tin',
|
||||
name: 'Tin'
|
||||
},
|
||||
{
|
||||
id: 'lead',
|
||||
color: -8614714,
|
||||
item: '#c:raw_materials/lead',
|
||||
name: 'Lead'
|
||||
},
|
||||
{
|
||||
id: 'silver',
|
||||
color: -5971737,
|
||||
item: '#c:raw_materials/silver',
|
||||
name: 'Silver'
|
||||
},
|
||||
{
|
||||
id: 'nickel',
|
||||
color: -5658236,
|
||||
item: '#c:raw_materials/nickel',
|
||||
name: 'Nickel'
|
||||
},
|
||||
{
|
||||
id: 'uranium',
|
||||
color: -8460424,
|
||||
item: '#c:raw_materials/uranium',
|
||||
name: 'Uranium'
|
||||
},
|
||||
{
|
||||
id: 'osmium',
|
||||
color: -16777012,
|
||||
item: '#c:raw_materials/osmium',
|
||||
name: 'Osmium'
|
||||
},
|
||||
{
|
||||
id: 'platinum',
|
||||
color: -4868609,
|
||||
item: '#c:raw_materials/platinum',
|
||||
name: 'Platinum'
|
||||
},
|
||||
{
|
||||
id: 'zinc',
|
||||
color: -4868747,
|
||||
item: '#c:raw_materials/zinc',
|
||||
name: 'Zinc'
|
||||
},
|
||||
{
|
||||
id: 'allthemodium',
|
||||
color: -75430,
|
||||
item: '#c:raw_materials/allthemodium',
|
||||
name: 'Allthemodium'
|
||||
},
|
||||
{
|
||||
id: 'vibranium',
|
||||
color: -14229880,
|
||||
item: '#c:raw_materials/vibranium',
|
||||
name: 'Vibranium'
|
||||
},
|
||||
{
|
||||
id: 'unobtainium',
|
||||
color: -3058973,
|
||||
item: '#c:raw_materials/unobtainium',
|
||||
name: 'Unobtainium'
|
||||
}
|
||||
]
|
||||
|
||||
StartupEvents.registry('item', allthemods => {
|
||||
global.potions_server.forEach(potion => {
|
||||
allthemods.create(`potionsmaster:calcinated_${potion.id}_oresight_powder`)
|
||||
.displayName(`Calcinated ${potion.name} Oresight Powder`)
|
||||
.texture(`kubejs:item/calcinated_base`)
|
||||
.maxStackSize(64)
|
||||
.color(potion.color)
|
||||
allthemods.create(`potionsmaster:${potion.id}_oresight_powder`)
|
||||
.displayName(`${potion.name} Oresight Powder`)
|
||||
.texture(`kubejs:item/base_powder`)
|
||||
.maxStackSize(64)
|
||||
.color(potion.color)
|
||||
})})
|
||||
|
||||
StartupEvents.modifyCreativeTab('potionsmaster:creative_tab', allthemods => {
|
||||
global.potions_server.forEach(potion => {
|
||||
allthemods.add(`potionsmaster:calcinated_${potion.id}_oresight_powder`)
|
||||
allthemods.add(`potionsmaster:${potion.id}_oresight_powder`)
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
5
minecraft/kubejs/startup_scripts/Shrink/polylib_fix.js
Normal file
5
minecraft/kubejs/startup_scripts/Shrink/polylib_fix.js
Normal file
@@ -0,0 +1,5 @@
|
||||
const $DataComps = Java.loadClass("net.creeperhost.polylib.init.DataComps")
|
||||
|
||||
StartupEvents.postInit((allthemods) => {
|
||||
$DataComps.registerData()
|
||||
})
|
||||
61
minecraft/kubejs/startup_scripts/Theurgy/SulfurAdditions.js
Normal file
61
minecraft/kubejs/startup_scripts/Theurgy/SulfurAdditions.js
Normal file
@@ -0,0 +1,61 @@
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
|
||||
StartupEvents.registry('item', allthemods => {
|
||||
//Forbidden Arcanus
|
||||
allthemods.create('stellarite_sulfur', 'theurgy:alchemical_sulfur')
|
||||
.sourceItem('forbidden_arcanus:stellarite_piece')
|
||||
.sourceName("Stellarite Piece")
|
||||
.derivativeTier("precious")
|
||||
.sulfurType("metals")
|
||||
allthemods.create('arcane_sulfur', 'theurgy:alchemical_sulfur')
|
||||
.sourceItem('forbidden_arcanus:arcane_crystal')
|
||||
.sourceName("Arcane Crystal")
|
||||
.derivativeTier("rare")
|
||||
.sulfurType("gems")
|
||||
allthemods.create('runic_sulfur', 'theurgy:alchemical_sulfur')
|
||||
.sourceItem('forbidden_arcanus:rune')
|
||||
.sourceName("Rune")
|
||||
.derivativeTier("common")
|
||||
.sulfurType("metals")
|
||||
//AllTheOres
|
||||
allthemods.create('salt_sulfur', 'theurgy:alchemical_sulfur')
|
||||
.sourceItem('alltheores:salt')
|
||||
.sourceName("Salt")
|
||||
.derivativeTier("abundant")
|
||||
.sulfurType("earthen_matters")
|
||||
allthemods.create('sulfur_sulfur', 'theurgy:alchemical_sulfur')
|
||||
.sourceItem('alltheores:sulfur')
|
||||
.sourceName("Sulfur")
|
||||
.derivativeTier("common")
|
||||
.sulfurType("misc")
|
||||
//Mystical Agriculture
|
||||
allthemods.create('prosperity_sulfur', 'theurgy:alchemical_sulfur')
|
||||
.sourceItem('mysticalagriculture:prosperity_shard')
|
||||
.sourceName("Prosperity Shard")
|
||||
.derivativeTier("common")
|
||||
.sulfurType("misc")
|
||||
//Occultism
|
||||
allthemods.create('iesnium_sulfur', 'theurgy:alchemical_sulfur')
|
||||
.sourceItem('occultism:iesnium_ingot')
|
||||
.sourceName("Iesnium")
|
||||
.derivativeTier("precious")
|
||||
.sulfurType("metals")
|
||||
//Irons
|
||||
allthemods.create('mithril_sulfur', 'theurgy:alchemical_sulfur')
|
||||
.sourceItem('irons_spellbooks:mithril_ingot')
|
||||
.sourceName("Mithril")
|
||||
.derivativeTier("precious")
|
||||
.sulfurType("metals")
|
||||
//Silent
|
||||
allthemods.create('bort_sulfur', 'theurgy:alchemical_sulfur')
|
||||
.sourceItem('silentgear:bort')
|
||||
.sourceName("Bort")
|
||||
.derivativeTier("rare")
|
||||
.sulfurType("earthen_matters")
|
||||
|
||||
})
|
||||
|
||||
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
@@ -0,0 +1 @@
|
||||
global.xycraftColours = ['light', 'dark', 'red', 'green', 'blue']
|
||||
@@ -0,0 +1,12 @@
|
||||
NativeEvents.onEvent("net.neoforged.neoforge.event.entity.player.PlayerEvent$PlayerChangedDimensionEvent", event => {
|
||||
if (event.to.location().getNamespace().equals("eternal_starlight")){
|
||||
event.entity.tell("Due to severe lag with Eternal Starlight, progress will not be recorded until mod fix their issues")
|
||||
if (Platform.clientEnvironment) {
|
||||
Client["submit(java.lang.Runnable)"](() => {
|
||||
Client.gui.setTitle(Text.of("Progress won't be saved at ").append(Text.blue("Eternal Starlight")))
|
||||
Client.gui.setSubtitle(Text.white("Due to lag, all progress won't be saved at ").append(Text.blue("Eternal Starlight")))
|
||||
})
|
||||
}
|
||||
event.entity.tell("Eternal Starlight, will be removed on version 6.0+")
|
||||
}
|
||||
})
|
||||
11
minecraft/kubejs/startup_scripts/hyperbox/hyperbox.js
Normal file
11
minecraft/kubejs/startup_scripts/hyperbox/hyperbox.js
Normal file
@@ -0,0 +1,11 @@
|
||||
NativeEvents.onEvent("net.neoforged.neoforge.event.entity.player.PlayerEvent$PlayerChangedDimensionEvent", event => {
|
||||
if (event.to.location().getNamespace().equals("hyperbox")){
|
||||
event.entity.tell("Hyperboxes will be removed on version 6.0+, please move to Compact Machines")
|
||||
if (Platform.clientEnvironment) {
|
||||
Client["submit(java.lang.Runnable)"](() => {
|
||||
Client.gui.setTitle(Text.blue("Hyperbox").append(Text.red(" will be removed!")))
|
||||
Client.gui.setSubtitle(Text.white("Transfer your stuff to new mod ").append(Text.blue("Compact Machines")))
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
17
minecraft/kubejs/startup_scripts/incompatible_versions.js
Normal file
17
minecraft/kubejs/startup_scripts/incompatible_versions.js
Normal file
@@ -0,0 +1,17 @@
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
|
||||
KubeJSTweaks.checkCompatibility(event => {
|
||||
event.checkModVersion("jei", "19.22.0.316", "This version is causing durability tools issues")
|
||||
event.checkModVersion("uranus", "[2.3.1-bugfix,2.3.1-bugfix2]", "This version is causing TPS and memory leak issues")
|
||||
event.checkModVersion("octolib", "0.6.0.2", "This version is causing high CPU usage issues")
|
||||
event.checkModVersion("utilitarian", "1.21.1-0.15.0", "This version is crashing when bonemealing small flowers")
|
||||
event.checkModVersion("amendments", "1.21-2.0.4", "This version is crashing when opening lecterns")
|
||||
|
||||
event.checkModLoaded("accessories_compat_layer", "This mod can cause Curio compatibility issues with other mods")
|
||||
event.checkModLoaded("letmedespawn", "This mod can cause same items to not stack due to NBT issues")
|
||||
|
||||
})
|
||||
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
Reference in New Issue
Block a user