remove excluded mods
This commit is contained in:
78
modpack/kubejs/startup_scripts/blocks.js
Normal file
78
modpack/kubejs/startup_scripts/blocks.js
Normal file
@@ -0,0 +1,78 @@
|
||||
Platform.mods.kubejs.name = 'Reclamation'
|
||||
|
||||
StartupEvents.registry('block', event => {
|
||||
event.create('dried_earth') // Create a new block
|
||||
.displayName('Dried Earth') // Set a custom name
|
||||
.mapColor('terracotta_light_gray')
|
||||
.soundType('gravel') // Set a material (affects the sounds and some properties)
|
||||
.hardness(1.0) // Set hardness (affects mining time)
|
||||
.resistance(1.0) // Set resistance (to explosions, etc)
|
||||
.tagBlock('minecraft:mineable/shovel')
|
||||
.tagBoth('minecraft:dirt')
|
||||
.tagBoth('minecraft:bamboo_plantable_on')
|
||||
|
||||
event.create('dead_log') // Create a new block
|
||||
.displayName('Dead Log') // Set a custom name
|
||||
.mapColor('wood')
|
||||
.soundType('wood') // Set a material (affects the sounds and some properties)
|
||||
.hardness(2.0) // Set hardness (affects mining time)
|
||||
.resistance(2.0) // Set resistance (to explosions, etc)
|
||||
.instrument('bass')
|
||||
.property(BlockProperties.AXIS)
|
||||
.placementState(event => event.set(BlockProperties.AXIS, event.clickedFace.axis))
|
||||
.tagBoth('minecraft:logs')
|
||||
.tagBoth('minecraft:logs_that_burn')
|
||||
.tagBlock('minecraft:mineable/axe')
|
||||
|
||||
event.create('flimsy_planks') // Create a new block
|
||||
.displayName('Flimsy Planks') // Set a custom name
|
||||
.mapColor('wood')
|
||||
.soundType('wood') // Set a material (affects the sounds and some properties)
|
||||
.hardness(2.0) // Set hardness (affects mining time)
|
||||
.resistance(3.0) // Set resistance (to explosions, etc)
|
||||
.instrument('bass')
|
||||
.tagBoth('minecraft:planks')
|
||||
.tagBlock('minecraft:mineable/axe')
|
||||
})
|
||||
|
||||
StartupEvents.registry('fluid', event => {
|
||||
event.create('hemoglobic_fluid')
|
||||
.thickTexture(0xFF0000)
|
||||
.bucketColor(0xFF0000)
|
||||
.displayName('Hemoglobic Fluid')
|
||||
.noBlock()
|
||||
})
|
||||
|
||||
const $Gas = Java.loadClass('mekanism.api.chemical.gas.Gas')
|
||||
const $GasBuilder = Java.loadClass('mekanism.api.chemical.gas.GasBuilder')
|
||||
const $GasAttr = Java.loadClass('mekanism.api.chemical.gas.attribute.GasAttributes')
|
||||
const $Fuel = $GasAttr.Fuel
|
||||
const $FloatingLong = Java.loadClass('mekanism.api.math.FloatingLong')
|
||||
const $InfuseType = Java.loadClass('mekanism.api.chemical.infuse.InfuseType')
|
||||
const $InfuseTypeBuilder = Java.loadClass('mekanism.api.chemical.infuse.InfuseTypeBuilder')
|
||||
|
||||
StartupEvents.registry('mekanism:infuse_type', event => {
|
||||
event.createCustom('reclamation:inferium', () => new $InfuseType($InfuseTypeBuilder.builder()
|
||||
.tint(0x738C00))
|
||||
)
|
||||
event.createCustom('reclamation:prudentium', () => new $InfuseType($InfuseTypeBuilder.builder()
|
||||
.tint(0x008C23))
|
||||
)
|
||||
event.createCustom('reclamation:tertium', () => new $InfuseType($InfuseTypeBuilder.builder()
|
||||
.tint(0xB74900))
|
||||
)
|
||||
event.createCustom('reclamation:imperium', () => new $InfuseType($InfuseTypeBuilder.builder()
|
||||
.tint(0x007FDB))
|
||||
)
|
||||
})
|
||||
|
||||
StartupEvents.registry('mekanism:gas', event => {
|
||||
event.createCustom('reclamation:aerated_essence', () => new $Gas($GasBuilder.builder()
|
||||
.tint(0xDD2200)
|
||||
.with(new $Fuel(() => 20, () => $FloatingLong.create(400))))
|
||||
)
|
||||
event.createCustom('reclamation:essence_boosted_ethylene', () => new $Gas($GasBuilder.builder()
|
||||
.tint(0xAD0051)
|
||||
.with(new $Fuel(() => 40, () => $FloatingLong.create(22200))))
|
||||
)
|
||||
})
|
||||
42
modpack/kubejs/startup_scripts/items.js
Normal file
42
modpack/kubejs/startup_scripts/items.js
Normal file
@@ -0,0 +1,42 @@
|
||||
Platform.mods.kubejs.name = 'Reclamation'
|
||||
|
||||
|
||||
StartupEvents.registry('item', event => {
|
||||
event.create('scrap_wood')
|
||||
.displayName('Scrap Wood')
|
||||
.burnTime('100')
|
||||
|
||||
event.create('feather_flesh_amalgam')
|
||||
.displayName('Feather-Flesh Amalgam')
|
||||
|
||||
event.create('blooded_amalgam')
|
||||
.displayName("Blooded Amalgam")
|
||||
|
||||
event.create('mana_amalgam')
|
||||
.displayName("Mana-Dosed Amalgam")
|
||||
|
||||
event.create('infused_amalgam')
|
||||
.displayName("Infused Amalgam")
|
||||
.glow(true)
|
||||
|
||||
//theurgy stuff
|
||||
event.create('sulfur_dirt', 'theurgy:alchemical_sulfur')
|
||||
.sourceItem('minecraft:dirt')
|
||||
.sourceName('Dirt')
|
||||
.sulfurTier('abundant')
|
||||
.sulfurType('misc')
|
||||
.tag('theurgy:alchemical_sulfurs')
|
||||
})
|
||||
|
||||
ItemEvents.modification(event => {
|
||||
event.modify('enchanted:garlic', item => {
|
||||
item.foodProperties = food => {
|
||||
food.hunger(1)
|
||||
food.saturation(0.5)
|
||||
}
|
||||
})
|
||||
|
||||
event.modify('complicated_bees:cold_frame', item => {
|
||||
item.maxDamage = 30
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user