neuralgia/kubejs/startup_scripts/tfg/primitive/blocks.supports.js
Pyritie 89030d3564
Stone dust rework (#2782)
* geology

* starting some loot table stuff

* more stuff

* swap some rocks

* refactor

* phew

* drive-by fix

* all done I think

* remove sylvite

* oh yeah baby it's all coming together

* cleaned up some lines that didn't do anything, added more comments, removed log spam

* blah blah

* fix drying mat

* fix ladders

* tfc, beneath, and moon stuff done...? this is gonna take 5ever

* a

* some sand stuff, more stone types

* wrong way around

* unifying various brick block recipes

* remove shaped create deco brick recipes

* some progress on block creation

* we got into the create world screen!

* getting somewhere

* Reloaded with no KubeJS errors!

* new assets

* I thiiiink that's about everything

* fix some stonecutting

* recipe declared but never used
2026-01-19 22:39:15 +00:00

138 lines
No EOL
4.4 KiB
JavaScript

"use strict";
function registerTFGSupportBlocks(event) {
// Wood
event.create(`tfg:aeronos_support`, 'tfc:support')
.textureAll(`ad_astra:block/aeronos_cap`)
.horizontal(horizontal => {
horizontal.textureAll(`ad_astra:block/aeronos_stem`)
horizontal.soundType('wood')
horizontal.hardness(2)
horizontal.resistance(2)
horizontal.mapColor('terracotta_blue')
horizontal.tagBlock('minecraft:mineable/axe')
horizontal.requiresTool(false)
})
.soundType('wood')
.hardness(2)
.resistance(2)
.mapColor('terracotta_blue')
.tagBlock('minecraft:mineable/axe')
.requiresTool(false)
event.create(`tfg:strophar_support`, 'tfc:support')
.textureAll(`ad_astra:block/strophar_cap`)
.horizontal(horizontal => {
horizontal.textureAll(`ad_astra:block/strophar_stem`)
horizontal.soundType('wood')
horizontal.hardness(2)
horizontal.resistance(2)
horizontal.mapColor('color_white')
horizontal.tagBlock('minecraft:mineable/axe')
horizontal.requiresTool(false)
})
.soundType('wood')
.hardness(2)
.resistance(2)
.mapColor('terracotta_purple')
.tagBlock('minecraft:mineable/axe')
.requiresTool(false)
event.create(`tfg:glacian_support`, 'tfc:support')
.textureAll(`ad_astra:block/stripped_glacian_log`)
.horizontal(horizontal => {
horizontal.textureAll(`ad_astra:block/stripped_glacian_log`)
horizontal.soundType('wood')
horizontal.hardness(2)
horizontal.resistance(2)
horizontal.mapColor('crimson_stem')
horizontal.tagBlock('minecraft:mineable/axe')
horizontal.requiresTool(false)
})
.soundType('wood')
.hardness(2)
.resistance(2)
.mapColor('crimson_stem')
.tagBlock('minecraft:mineable/axe')
.requiresTool(false)
// Reinforced Concrete
event.create('tfg:reinforced_light_concrete_support', 'tfc:support')
.textureAll('gtceu:block/stones/light_concrete/stone')
.horizontal(horizontal => {
horizontal.textureAll('gtceu:block/stones/light_concrete/stone')
horizontal.soundType(global.BIG_ROCK_TABLE.light_concrete.sound)
horizontal.hardness(5)
horizontal.resistance(64)
horizontal.mapColor(global.BIG_ROCK_TABLE.light_concrete.mapColor)
horizontal.tagBlock('minecraft:mineable/pickaxe')
horizontal.requiresTool(true)
})
.soundType(global.BIG_ROCK_TABLE.light_concrete.sound)
.hardness(5)
.resistance(64)
.mapColor(global.BIG_ROCK_TABLE.light_concrete.mapColor)
.tagBlock('minecraft:mineable/pickaxe')
.requiresTool(true)
event.create('tfg:reinforced_dark_concrete_support', 'tfc:support')
.textureAll('gtceu:block/stones/dark_concrete/stone')
.horizontal(horizontal => {
horizontal.textureAll('gtceu:block/stones/dark_concrete/stone')
horizontal.soundType(global.BIG_ROCK_TABLE.dark_concrete.sound)
horizontal.hardness(5)
horizontal.resistance(64)
horizontal.mapColor(global.BIG_ROCK_TABLE.dark_concrete.mapColor)
horizontal.tagBlock('minecraft:mineable/pickaxe')
horizontal.requiresTool(true)
})
.soundType(global.BIG_ROCK_TABLE.dark_concrete.sound)
.hardness(5)
.resistance(64)
.mapColor(global.BIG_ROCK_TABLE.dark_concrete.mapColor)
.tagBlock('minecraft:mineable/pickaxe')
.requiresTool(true)
// Metal
event.create('tfg:rebar_support', 'tfc:support')
.textureAll('tfg:block/support/rebar_support')
.horizontal(horizontal => {
horizontal.textureAll('tfg:block/support/rebar_support')
horizontal.soundType('chain')
horizontal.hardness(3)
horizontal.resistance(16)
horizontal.mapColor('color_orange')
horizontal.tagBlock('minecraft:mineable/pickaxe')
horizontal.tagBlock('minecraft:climbable')
horizontal.requiresTool(true)
horizontal.renderType('cutout')
horizontal.opaque(false)
})
.soundType('chain')
.hardness(3)
.resistance(16)
.mapColor('color_orange')
.tagBlock('minecraft:mineable/pickaxe')
.tagBlock('minecraft:climbable')
.requiresTool(true)
.renderType('cutout')
.opaque(false)
event.create('tfg:steel_support', 'tfc:support')
.textureAll('tfg:block/support/steel_support')
.horizontal(horizontal => {
horizontal.textureAll('tfg:block/support/steel_support')
horizontal.soundType('metal')
horizontal.hardness(5)
horizontal.resistance(64)
horizontal.mapColor('color_gray')
horizontal.tagBlock('minecraft:mineable/pickaxe')
horizontal.requiresTool(true)
})
.soundType('metal')
.hardness(5)
.resistance(64)
.mapColor('color_gray')
.tagBlock('minecraft:mineable/pickaxe')
.requiresTool(true)
}