mars snow (#1931)
* bare bones * snow piled tag * added climate restriction to quicksand, added powder snow up north * better tagging * langs * assets * missed feature in deep desert * remove waves from mars * climate tweaks * icicles and dry ice stuff * langs
This commit is contained in:
parent
ca46b12ebe
commit
16ae9167a8
35 changed files with 235 additions and 65 deletions
|
|
@ -66,12 +66,12 @@ function registerBetterEndBlocks(event) {
|
|||
|
||||
// 1 block tall waterlogged
|
||||
|
||||
createPlant(event, 'charnia_orange', 'mars')
|
||||
createPlant(event, 'charnia_cyan', 'mars')
|
||||
createPlant(event, 'charnia_green', 'mars')
|
||||
createPlant(event, 'charnia_light_blue', 'mars')
|
||||
createPlant(event, 'charnia_purple', 'mars')
|
||||
createPlant(event, 'charnia_red', 'mars')
|
||||
createWaterPlant(event, 'charnia_orange', 'mars')
|
||||
createWaterPlant(event, 'charnia_cyan', 'mars')
|
||||
createWaterPlant(event, 'charnia_green', 'mars')
|
||||
createWaterPlant(event, 'charnia_light_blue', 'mars')
|
||||
createWaterPlant(event, 'charnia_purple', 'mars')
|
||||
createWaterPlant(event, 'charnia_red', 'mars')
|
||||
|
||||
// Water surface
|
||||
|
||||
|
|
@ -83,6 +83,7 @@ function registerBetterEndBlocks(event) {
|
|||
.tagItem('forge:mushrooms')
|
||||
.tagBlock('tfg:do_not_destroy_in_space')
|
||||
.tagBlock('minecraft:replaceable')
|
||||
.tagBlock('tfc:can_be_ice_piled')
|
||||
|
||||
event.create('betterend:lacugrove', 'tfg:floating_decorative_plant')
|
||||
.xz_offset(false)
|
||||
|
|
@ -92,6 +93,7 @@ function registerBetterEndBlocks(event) {
|
|||
.tagItem('tfg:mars_plants')
|
||||
.tagBlock('tfg:do_not_destroy_in_space')
|
||||
.tagBlock('minecraft:replaceable')
|
||||
.tagBlock('tfc:can_be_ice_piled')
|
||||
|
||||
// Mosses / Can go on sides of blocks
|
||||
|
||||
|
|
@ -222,4 +224,18 @@ function createPlant(event, id, planet) {
|
|||
.tagItem(`tfg:${planet}_plants`)
|
||||
.tagBlock('minecraft:replaceable')
|
||||
.tagBlock('tfg:do_not_destroy_in_space')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {any} event
|
||||
* @param {string} id
|
||||
* @param {string} planet
|
||||
*/
|
||||
function createWaterPlant(event, id, planet) {
|
||||
return event.create(`betterend:${id}`, 'tfg:decorative_plant')
|
||||
.tagItem(`tfg:${planet}_plants`)
|
||||
.tagBlock('minecraft:replaceable')
|
||||
.tagBlock('tfg:do_not_destroy_in_space')
|
||||
.tagBlock('tfc:can_be_ice_piled')
|
||||
}
|
||||
|
|
@ -7,22 +7,6 @@ const registerTFGBlocks = (event) => {
|
|||
registerTFGSupportBlocks(event)
|
||||
registerTFGAqueductBlocks(event)
|
||||
registerTFGCrops(event)
|
||||
|
||||
event.create('tfg:dry_ice', 'tfg:particle_emitter')
|
||||
.textureAll('tfg:block/dry_ice')
|
||||
.soundType('bone_block')
|
||||
.hardness(1)
|
||||
.resistance(1)
|
||||
.tagBlock('minecraft:mineable/pickaxe')
|
||||
.tagBlock('tfcambiental:cold_stuff')
|
||||
.defaultTranslucent()
|
||||
.mapColor('color_white')
|
||||
.speedFactor(1.2)
|
||||
.particleOffset(1, 1, 1)
|
||||
.particleVelocity(0.05, 0, 0.05)
|
||||
.particle('minecraft:campfire_cosy_smoke')
|
||||
.particleCount(2)
|
||||
.particleForced(false)
|
||||
|
||||
event.create('tfg:exhaust_vent_particle', 'tfg:particle_emitter')
|
||||
.textureAll('tfg:block/titanium_concrete')
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ const registerTFGCrops = (event) => {
|
|||
.tagBoth('tfc:wild_crops')
|
||||
.tagBlock('minecraft:mineable/hoe')
|
||||
.tagBlock('minecraft:flowers')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.tagItem('c:hidden_from_recipe_viewers')
|
||||
|
||||
event.create('tfg:rapeseed', 'tfc:double_crop')
|
||||
|
|
@ -62,6 +63,7 @@ const registerTFGCrops = (event) => {
|
|||
.tagBoth('tfc:wild_crops')
|
||||
.tagBlock('minecraft:mineable/hoe')
|
||||
.tagBlock('minecraft:flowers')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.tagItem('c:hidden_from_recipe_viewers')
|
||||
|
||||
event.create('tfg:flax', 'tfc:double_crop')
|
||||
|
|
@ -95,6 +97,7 @@ const registerTFGCrops = (event) => {
|
|||
.hardness(0.2)
|
||||
.tagBoth('tfc:wild_crops')
|
||||
.tagBlock('minecraft:mineable/hoe')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.tagItem('c:hidden_from_recipe_viewers')
|
||||
|
||||
// Mars Crops
|
||||
|
|
@ -126,6 +129,7 @@ const registerTFGCrops = (event) => {
|
|||
.hardness(0.2)
|
||||
.tagBoth('tfc:wild_crops')
|
||||
.tagBlock('minecraft:mineable/hoe')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.tagItem('c:hidden_from_recipe_viewers')
|
||||
|
||||
|
||||
|
|
@ -156,6 +160,7 @@ const registerTFGCrops = (event) => {
|
|||
.hardness(0.2)
|
||||
.tagBoth('tfc:wild_crops')
|
||||
.tagBlock('minecraft:mineable/hoe')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.tagItem('c:hidden_from_recipe_viewers')
|
||||
|
||||
|
||||
|
|
@ -196,6 +201,7 @@ const registerTFGCrops = (event) => {
|
|||
.hardness(0.2)
|
||||
.tagBoth('tfc:wild_crops')
|
||||
.tagBlock('minecraft:mineable/hoe')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.tagItem('c:hidden_from_recipe_viewers')
|
||||
|
||||
|
||||
|
|
@ -232,6 +238,7 @@ const registerTFGCrops = (event) => {
|
|||
.hardness(0.2)
|
||||
.tagBoth('tfc:wild_crops')
|
||||
.tagBlock('minecraft:mineable/hoe')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.tagItem('c:hidden_from_recipe_viewers')
|
||||
|
||||
|
||||
|
|
@ -265,6 +272,7 @@ const registerTFGCrops = (event) => {
|
|||
.hardness(0.2)
|
||||
.tagBoth('tfc:wild_crops')
|
||||
.tagBlock('minecraft:mineable/hoe')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.tagItem('c:hidden_from_recipe_viewers')
|
||||
|
||||
|
||||
|
|
@ -299,6 +307,7 @@ const registerTFGCrops = (event) => {
|
|||
.hardness(0.2)
|
||||
.tagBoth('tfc:wild_crops')
|
||||
.tagBlock('minecraft:mineable/hoe')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.tagItem('c:hidden_from_recipe_viewers')
|
||||
|
||||
// Mars Saplings
|
||||
|
|
@ -307,6 +316,7 @@ const registerTFGCrops = (event) => {
|
|||
.features('tfg:mars/tree/crimson')
|
||||
.tagBoth('minecraft:saplings')
|
||||
.tagBlock('tfg:do_not_destroy_in_space')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.growthDays(6)
|
||||
.soundType('nether_wart')
|
||||
.defaultCutout()
|
||||
|
|
@ -315,6 +325,7 @@ const registerTFGCrops = (event) => {
|
|||
.features('tfg:mars/tree/warped')
|
||||
.tagBoth('minecraft:saplings')
|
||||
.tagBlock('tfg:do_not_destroy_in_space')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.growthDays(6)
|
||||
.soundType('nether_wart')
|
||||
.defaultCutout()
|
||||
|
|
@ -323,6 +334,7 @@ const registerTFGCrops = (event) => {
|
|||
.features('species:alphacene_mushroom')
|
||||
.tagBoth('minecraft:saplings')
|
||||
.tagBlock('tfg:do_not_destroy_in_space')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.growthDays(3)
|
||||
.soundType('nether_wart')
|
||||
.defaultCutout()
|
||||
|
|
@ -331,6 +343,7 @@ const registerTFGCrops = (event) => {
|
|||
.features('tfg:mars/tree/strophar')
|
||||
.tagBoth('minecraft:saplings')
|
||||
.tagBlock('tfg:do_not_destroy_in_space')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.growthDays(7)
|
||||
.soundType('nether_wart')
|
||||
.defaultCutout()
|
||||
|
|
@ -339,6 +352,7 @@ const registerTFGCrops = (event) => {
|
|||
.features('tfg:mars/tree/aeronos')
|
||||
.tagBoth('minecraft:saplings')
|
||||
.tagBlock('tfg:do_not_destroy_in_space')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.growthDays(9)
|
||||
.soundType('nether_wart')
|
||||
.defaultCutout()
|
||||
|
|
@ -347,6 +361,7 @@ const registerTFGCrops = (event) => {
|
|||
.features('tfg:mars/tree/glacian_mini')
|
||||
.tagBoth('minecraft:saplings')
|
||||
.tagBlock('tfg:do_not_destroy_in_space')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.growthDays(9)
|
||||
.soundType('nether_wart')
|
||||
.defaultCutout()
|
||||
|
|
|
|||
|
|
@ -1430,6 +1430,7 @@ function registerTFGSpaceBlocks(event) {
|
|||
.groundCoverModelShape('feather')
|
||||
.withPreexistingItem('wan_ancient_beasts:glider_feather')
|
||||
.textureAll('wan_ancient_beasts:item/glider_feather')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
|
||||
event.create('tfg:groundcover/wraptor_feather', 'tfc:ground_cover')
|
||||
.box(4, 0, 4, 12, 2, 12)
|
||||
|
|
@ -1437,11 +1438,13 @@ function registerTFGSpaceBlocks(event) {
|
|||
.groundCoverModelShape('feather')
|
||||
.withPreexistingItem('minecraft:feather')
|
||||
.textureAll('tfg:item/wraptor_wool')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
|
||||
event.create('tfg:groundcover/aeronos_stick', 'tfc:ground_cover')
|
||||
.box(3, 0, 3, 13, 3, 13)
|
||||
.groundCoverModelShape('twig')
|
||||
.withPreexistingItem('tfg:twigs/aeronos')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.texture('particle', 'ad_astra:block/aeronos_stem')
|
||||
.texture('all', 'ad_astra:block/aeronos_stem')
|
||||
.texture('top', 'ad_astra:block/aeronos_stem_inside')
|
||||
|
|
@ -1450,6 +1453,7 @@ function registerTFGSpaceBlocks(event) {
|
|||
.box(3, 0, 3, 13, 3, 13)
|
||||
.groundCoverModelShape('twig')
|
||||
.withPreexistingItem('tfg:twigs/strophar')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.texture('particle', 'ad_astra:block/strophar_stem')
|
||||
.texture('all', 'ad_astra:block/strophar_stem')
|
||||
.texture('top', 'ad_astra:block/strophar_stem_inside')
|
||||
|
|
@ -1458,6 +1462,7 @@ function registerTFGSpaceBlocks(event) {
|
|||
.box(3, 0, 3, 13, 3, 13)
|
||||
.groundCoverModelShape('twig')
|
||||
.withPreexistingItem('tfg:twigs/glacian')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.texture('particle', 'ad_astra:block/glacian_log')
|
||||
.texture('all', 'ad_astra:block/glacian_log')
|
||||
.texture('top', 'ad_astra:block/glacian_log_top')
|
||||
|
|
@ -1466,6 +1471,7 @@ function registerTFGSpaceBlocks(event) {
|
|||
.box(3, 0, 3, 13, 3, 13)
|
||||
.groundCoverModelShape('twig')
|
||||
.withPreexistingItem('tfg:twigs/alphacene')
|
||||
.tagBlock('tfc:can_be_snow_piled')
|
||||
.texture('particle', 'species:block/alphacene_mushroom_block')
|
||||
.texture('all', 'species:block/alphacene_mushroom_block')
|
||||
.texture('top', 'minecraft:block/mushroom_stem')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue