* ignore .vs * initial commit of ~space~ * fixed planets in config * adding ore blocks to anorthite, renamed moon deepslate to dunite * added moon ore veins, adjusted earth ones, added separate rock blocks * added new buds for the new minerals, adjusted veins again * forgot to add titanium to the moon! * added moon zombies * adjusted veins + added endermites * first step to the moon Signed-off-by: SverhRazum-Nah <leon.trol@mail.ru> * change sky colors back to black * added ad astra ores * add desh veins to the moon * added missing certus clusters * adding desh veins/loc * adding meteors + rabbit houses * cheeeeeeese * replaced meteor concrete with sky stone * burying the meteors a little more * initial commit of ores to field guide tool * updated mineral data with new space ores * fixed trapdoor orientation * added anorthite rocks/bricks, changed names of cut deepslate, made cut deepslate + asurine visible * changed average moon temp * First Push * split 'for' value into arrays, added russian * pillars are stone, not metal * adjusting spawns (again) * oh so that's how charge and energy budget work * added recipes for the create decoration blocks * bricks and rocks * remove ad astra recipes * added limpets to the moon * Landing on Mars Signed-off-by: SverhRazum-Nah <leon.trol@mail.ru> * Man thats a lot * added translations for vein types, rock types, and added ukranium * rabbit adjustments * removed cooking anorthite cobble into raw * Pushin P * Parity * Move translation tokens to the language tokens JSON * Remove bin and obj * Update .gitignore * Update .gitignore Signed-off-by: Pyritie <pyritie@gmail.com> * moon mobs again * Ore Index being Written * More PRogress * Improve string formatting * toned down realgar * structures! shulkers! oh my! * Some progress on the vein index writing * replace obsidian with scorchia in meteors * meteor adjustments * Actual vein index * add globes to loot table * Project Completed * added solar power values * adjusted ad astra recipes, hid some of the items, added bedrock ores * more fiddling with structures * made the rover a bit cheaper * comply with review * anorthite dust * retextured shulkers * disabled stuff from species/endermanoverhaul * texture tweak * recipe tweak * fixed space rocks being invisible on the map for some reason * removed earth bauxite vein * mars rock * mars stuff * starting work on mars biome generation * put biomes in folders * climate stuff * more mars worldgen * added carve tag to space blocks * move to correct folder * removed veins * added armalcolite to the moon * anorthite -> anorthosite * plagioclase -> syenite * dunite -> basanite * what is climate * climates again * mars rock layers * fixed the temps! * Update tags.js Signed-off-by: Pyritie <pyritie@gmail.com> * Add a Solution file * adding this back * remove tools folder since it was moved to a different repo * some stuff that didn't merge * updates * merges * merges --------- Signed-off-by: SverhRazum-Nah <leon.trol@mail.ru> Signed-off-by: Pyritie <pyritie@gmail.com> Co-authored-by: SverhRazum-Nah <leon.trol@mail.ru> Co-authored-by: Nebby1999 <nebby131999@gmail.com>
94 lines
No EOL
2.6 KiB
JavaScript
94 lines
No EOL
2.6 KiB
JavaScript
function registerTFGSpaceBlocks(event) {
|
|
|
|
const $Blocks = Java.loadClass('net.minecraft.world.level.block.Blocks')
|
|
const $Properties = Java.loadClass('net.minecraft.world.level.block.state.BlockBehaviour$Properties')
|
|
const $SproutsBlock = Java.loadClass('net.minecraft.world.level.block.NetherSproutsBlock')
|
|
|
|
// #region Moon blocks
|
|
|
|
event.createCustom(`tfg:lunar_warped_roots`, () => new $SproutsBlock($Properties.copy($Blocks.DEAD_TUBE_CORAL_BLOCK)))
|
|
event.createCustom(`tfg:lunar_sprouts`, () => new $SproutsBlock( $Properties.copy($Blocks.DEAD_TUBE_CORAL_BLOCK)))
|
|
|
|
event.create('tfg:rock/raw_anorthosite')
|
|
.stoneSoundType()
|
|
.requiresTool(true)
|
|
.item(item => {
|
|
item.modelJson({ parent: 'ad_astra:item/moon_stone' })
|
|
})
|
|
.tagBlock('tfc:can_carve')
|
|
.tagBoth('forge:stone')
|
|
.tagBoth('tfc:rock/raw')
|
|
.tagBlock('minecraft:mineable/pickaxe')
|
|
.mapColor('terracotta_cyan')
|
|
.fullBlock(true)
|
|
.opaque(true)
|
|
|
|
event.create('tfg:rock/hardened_anorthosite')
|
|
.stoneSoundType()
|
|
.requiresTool(true)
|
|
.item(item => {
|
|
item.modelJson({ parent: 'ad_astra:item/moon_stone' })
|
|
})
|
|
.tagBlock('tfc:can_carve')
|
|
.tagBoth('forge:stone')
|
|
.tagBoth('tfc:rock/hardened')
|
|
.tagBlock('minecraft:mineable/pickaxe')
|
|
.mapColor('terracotta_cyan')
|
|
.fullBlock(true)
|
|
.opaque(true)
|
|
|
|
event.create('tfg:rock/raw_basanite')
|
|
.stoneSoundType()
|
|
.requiresTool(true)
|
|
.item(item => {
|
|
item.modelJson({ parent: 'ad_astra:item/moon_deepslate' })
|
|
})
|
|
.tagBlock('tfc:can_carve')
|
|
.tagBoth('forge:stone')
|
|
.tagBoth('tfc:rock/raw')
|
|
.tagBlock('minecraft:mineable/pickaxe')
|
|
.mapColor('terracotta_cyan')
|
|
.fullBlock(true)
|
|
.opaque(true)
|
|
|
|
event.create('tfg:loose/anorthosite', 'tfc:loose_rock')
|
|
.itemTexture('tfg:item/loose_anorthosite')
|
|
.rockTypeModel('igneous_intrusive')
|
|
|
|
// #endregion
|
|
|
|
// #region Mars blocks
|
|
|
|
event.create('tfg:rock/raw_syenite')
|
|
.stoneSoundType()
|
|
.requiresTool(true)
|
|
.item(item => {
|
|
item.modelJson({ parent: 'ad_astra:item/mars_stone' })
|
|
})
|
|
.tagBlock('tfc:can_carve')
|
|
.tagBoth('forge:stone')
|
|
.tagBoth('tfc:rock/raw')
|
|
.tagBlock('minecraft:mineable/pickaxe')
|
|
.mapColor('terracotta_orange')
|
|
.fullBlock(true)
|
|
.opaque(true)
|
|
|
|
event.create('tfg:rock/hardened_syenite')
|
|
.stoneSoundType()
|
|
.requiresTool(true)
|
|
.item(item => {
|
|
item.modelJson({ parent: 'ad_astra:item/mars_stone' })
|
|
})
|
|
.tagBlock('tfc:can_carve')
|
|
.tagBoth('forge:stone')
|
|
.tagBoth('tfc:rock/hardened')
|
|
.tagBlock('minecraft:mineable/pickaxe')
|
|
.mapColor('terracotta_orange')
|
|
.fullBlock(true)
|
|
.opaque(true)
|
|
|
|
event.create('tfg:loose/syenite', 'tfc:loose_rock')
|
|
.itemTexture('tfg:item/loose_syenite')
|
|
.rockTypeModel('igneous_intrusive')
|
|
|
|
} |