finished adding spikes for all rocks
This commit is contained in:
parent
e102e89f09
commit
96aae3ae33
21 changed files with 3090 additions and 2628 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "beneath:nether_spikes",
|
||||
"config": {
|
||||
"raw": "tfc:rock/hardened/andesite",
|
||||
"spike": "tfc:rock/spike/andesite",
|
||||
"anchor_blocks": "ad_astra:moon_stone_replaceables"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"type": "beneath:nether_spikes",
|
||||
"config": {
|
||||
"raw": "minecraft:basalt",
|
||||
"raw": "tfc:rock/hardened/basalt",
|
||||
"spike": "tfc:rock/spike/basalt",
|
||||
"anchor_blocks": "ad_astra:moon_stone_replaceables"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "beneath:nether_spikes",
|
||||
"config": {
|
||||
"raw": "tfc:rock/hardened/dacite",
|
||||
"spike": "tfc:rock/spike/dacite",
|
||||
"anchor_blocks": "ad_astra:moon_stone_replaceables"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "beneath:nether_spikes",
|
||||
"config": {
|
||||
"raw": "tfc:rock/hardened/diorite",
|
||||
"spike": "tfc:rock/spike/diorite",
|
||||
"anchor_blocks": "ad_astra:moon_stone_replaceables"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "beneath:nether_spikes",
|
||||
"config": {
|
||||
"raw": "tfc:rock/hardened/gabbro",
|
||||
"spike": "tfc:rock/spike/gabbro",
|
||||
"anchor_blocks": "ad_astra:moon_stone_replaceables"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "beneath:nether_spikes",
|
||||
"config": {
|
||||
"raw": "tfg:rock/hardened_glacio_stone",
|
||||
"spike": "tfg:spike/glacio_stone_spike",
|
||||
"anchor_blocks": "ad_astra:moon_stone_replaceables"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "beneath:nether_spikes",
|
||||
"config": {
|
||||
"raw": "tfg:rock/hardened_moon_deepslate",
|
||||
"spike": "tfg:spike/moon_deepslate_spike",
|
||||
"anchor_blocks": "ad_astra:moon_stone_replaceables"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "beneath:nether_spikes",
|
||||
"config": {
|
||||
"raw": "tfg:rock/hardened_moon_stone",
|
||||
"spike": "tfg:spike/moon_stone_spike",
|
||||
"anchor_blocks": "ad_astra:moon_stone_replaceables"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "beneath:nether_spikes",
|
||||
"config": {
|
||||
"raw": "tfc:rock/hardened/rhyolite",
|
||||
"spike": "tfc:rock/spike/rhyolite",
|
||||
"anchor_blocks": "ad_astra:moon_stone_replaceables"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"feature": "tfg:moon/surface/spike/andesite",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:count",
|
||||
"count": 256
|
||||
},
|
||||
{
|
||||
"type": "minecraft:in_square"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"max_inclusive": {
|
||||
"absolute": 95
|
||||
},
|
||||
"min_inclusive": {
|
||||
"above_bottom": 15
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:environment_scan",
|
||||
"allowed_search_condition": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": "minecraft:air"
|
||||
},
|
||||
"direction_of_search": "down",
|
||||
"max_steps": 32,
|
||||
"target_condition": {
|
||||
"type": "minecraft:solid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:block_predicate_filter",
|
||||
"predicate": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": [
|
||||
"tfc:rock/raw/andesite",
|
||||
"tfc:rock/hardened/andesite",
|
||||
"tfc:rock/gravel/andesite"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -35,22 +35,11 @@
|
|||
{
|
||||
"type": "minecraft:block_predicate_filter",
|
||||
"predicate": {
|
||||
"type": "minecraft:all_of",
|
||||
"predicates": [
|
||||
{
|
||||
"type": "minecraft:any_of",
|
||||
"predicates": [
|
||||
{
|
||||
"type": "minecraft:matching_blocks",
|
||||
"offset": [ 0, 1, 0 ],
|
||||
"blocks": "minecraft:air"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "minecraft:matching_block_tag",
|
||||
"tag": "ad_astra:moon_stone_replaceables"
|
||||
}
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": [
|
||||
"tfc:rock/raw/basalt",
|
||||
"tfc:rock/hardened/basalt",
|
||||
"tfc:rock/gravel/basalt"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"feature": "tfg:moon/surface/spike/dacite",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:count",
|
||||
"count": 256
|
||||
},
|
||||
{
|
||||
"type": "minecraft:in_square"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"max_inclusive": {
|
||||
"absolute": 95
|
||||
},
|
||||
"min_inclusive": {
|
||||
"above_bottom": 15
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:environment_scan",
|
||||
"allowed_search_condition": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": "minecraft:air"
|
||||
},
|
||||
"direction_of_search": "down",
|
||||
"max_steps": 32,
|
||||
"target_condition": {
|
||||
"type": "minecraft:solid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:block_predicate_filter",
|
||||
"predicate": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": [
|
||||
"tfc:rock/raw/dacite",
|
||||
"tfc:rock/hardened/dacite",
|
||||
"tfc:rock/gravel/dacite"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"feature": "tfg:moon/surface/spike/diorite",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:count",
|
||||
"count": 256
|
||||
},
|
||||
{
|
||||
"type": "minecraft:in_square"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"max_inclusive": {
|
||||
"absolute": 95
|
||||
},
|
||||
"min_inclusive": {
|
||||
"above_bottom": 15
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:environment_scan",
|
||||
"allowed_search_condition": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": "minecraft:air"
|
||||
},
|
||||
"direction_of_search": "down",
|
||||
"max_steps": 32,
|
||||
"target_condition": {
|
||||
"type": "minecraft:solid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:block_predicate_filter",
|
||||
"predicate": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": [
|
||||
"tfc:rock/raw/diorite",
|
||||
"tfc:rock/hardened/diorite",
|
||||
"tfc:rock/gravel/diorite"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"feature": "tfg:moon/surface/spike/gabbro",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:count",
|
||||
"count": 256
|
||||
},
|
||||
{
|
||||
"type": "minecraft:in_square"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"max_inclusive": {
|
||||
"absolute": 95
|
||||
},
|
||||
"min_inclusive": {
|
||||
"above_bottom": 15
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:environment_scan",
|
||||
"allowed_search_condition": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": "minecraft:air"
|
||||
},
|
||||
"direction_of_search": "down",
|
||||
"max_steps": 32,
|
||||
"target_condition": {
|
||||
"type": "minecraft:solid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:block_predicate_filter",
|
||||
"predicate": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": [
|
||||
"tfc:rock/raw/gabbro",
|
||||
"tfc:rock/hardened/gabbro",
|
||||
"tfc:rock/gravel/gabbro"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"feature": "tfg:moon/surface/spike/glacio_stone",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:count",
|
||||
"count": 256
|
||||
},
|
||||
{
|
||||
"type": "minecraft:in_square"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"max_inclusive": {
|
||||
"absolute": 95
|
||||
},
|
||||
"min_inclusive": {
|
||||
"above_bottom": 15
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:environment_scan",
|
||||
"allowed_search_condition": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": "minecraft:air"
|
||||
},
|
||||
"direction_of_search": "down",
|
||||
"max_steps": 32,
|
||||
"target_condition": {
|
||||
"type": "minecraft:solid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:block_predicate_filter",
|
||||
"predicate": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": [
|
||||
"ad_astra:glacio_stone",
|
||||
"tfg:rock/hardened_glacio_stone",
|
||||
"ad_astra:glacio_cobblestone"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
"feature": "tfg:moon/surface/spike/moon_deepslate",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:count",
|
||||
"count": 256
|
||||
},
|
||||
{
|
||||
"type": "minecraft:in_square"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"max_inclusive": {
|
||||
"absolute": 95
|
||||
},
|
||||
"min_inclusive": {
|
||||
"above_bottom": 15
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:environment_scan",
|
||||
"allowed_search_condition": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": "minecraft:air"
|
||||
},
|
||||
"direction_of_search": "down",
|
||||
"max_steps": 32,
|
||||
"target_condition": {
|
||||
"type": "minecraft:solid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:block_predicate_filter",
|
||||
"predicate": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": [
|
||||
"ad_astra:moon_deepslate",
|
||||
"tfg:rock/hardened_moon_deepslate"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"feature": "tfg:moon/surface/spike/moon_stone",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:count",
|
||||
"count": 256
|
||||
},
|
||||
{
|
||||
"type": "minecraft:in_square"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"max_inclusive": {
|
||||
"absolute": 95
|
||||
},
|
||||
"min_inclusive": {
|
||||
"above_bottom": 15
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:environment_scan",
|
||||
"allowed_search_condition": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": "minecraft:air"
|
||||
},
|
||||
"direction_of_search": "down",
|
||||
"max_steps": 32,
|
||||
"target_condition": {
|
||||
"type": "minecraft:solid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:block_predicate_filter",
|
||||
"predicate": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": [
|
||||
"ad_astra:moon_stone",
|
||||
"tfg:rock/hardened_moon_stone",
|
||||
"ad_astra:moon_sand"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"feature": "tfg:moon/surface/spike/rhyolite",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:count",
|
||||
"count": 256
|
||||
},
|
||||
{
|
||||
"type": "minecraft:in_square"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"max_inclusive": {
|
||||
"absolute": 95
|
||||
},
|
||||
"min_inclusive": {
|
||||
"above_bottom": 15
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:environment_scan",
|
||||
"allowed_search_condition": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": "minecraft:air"
|
||||
},
|
||||
"direction_of_search": "down",
|
||||
"max_steps": 32,
|
||||
"target_condition": {
|
||||
"type": "minecraft:solid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:block_predicate_filter",
|
||||
"predicate": {
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": [
|
||||
"tfc:rock/raw/rhyolite",
|
||||
"tfc:rock/hardened/rhyolite",
|
||||
"tfc:rock/gravel/rhyolite"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -212,7 +212,7 @@ const registerAdAstraPlacedFeatures = (event) => {
|
|||
// in all moon biomes
|
||||
event.add('tfg:moon_small_rock_features', `tfg:moon/surface/pile/${stone}`)
|
||||
event.add('tfg:moon_small_rock_features', `tfg:moon/surface/loose/${stone}`)
|
||||
event.add('tfg:moon_small_rock_features', `tfg:moon/surface/spike/${stone}`)
|
||||
})
|
||||
|
||||
event.add('tfg:moon_small_rock_features', `tfg:moon/surface/spike/basalt`)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
function registerTFGSpaceBlocks(event) {
|
||||
|
||||
// Hardened stones
|
||||
|
||||
event.create('tfg:rock/hardened_moon_stone')
|
||||
.stoneSoundType()
|
||||
.requiresTool(true)
|
||||
|
|
@ -84,6 +86,8 @@ function registerTFGSpaceBlocks(event) {
|
|||
.fullBlock(true)
|
||||
.opaque(true)
|
||||
|
||||
// Loose stones
|
||||
|
||||
event.create('tfg:loose/moon_stone', 'tfc:loose_rock')
|
||||
.stoneSoundType()
|
||||
.itemTexture('tfg:item/loose/moon_stone')
|
||||
|
|
@ -93,7 +97,7 @@ function registerTFGSpaceBlocks(event) {
|
|||
.tagItem('tfc:igneous_intrusive_rock')
|
||||
|
||||
event.create('tfg:loose/moon_deepslate', 'tfc:loose_rock')
|
||||
.stoneSoundType()
|
||||
.soundType('deepslate')
|
||||
.itemTexture('tfg:item/loose/moon_deepslate')
|
||||
.tagBlock('tfc:loose_rocks')
|
||||
.tagItem('tfc:any_knapping')
|
||||
|
|
@ -139,4 +143,34 @@ function registerTFGSpaceBlocks(event) {
|
|||
.tagItem('tfc:any_knapping')
|
||||
.tagItem('tfc:rock_knapping')
|
||||
.tagItem('tfc:metamorphic_rock')
|
||||
|
||||
// Spikes
|
||||
|
||||
event.create('tfg:spike/moon_stone_spike', 'tfc:rock_spike')
|
||||
.stoneSoundType()
|
||||
.noItem()
|
||||
|
||||
event.create('tfg:spike/moon_deepslate_spike', 'tfc:rock_spike')
|
||||
.soundType('deepslate')
|
||||
.noItem()
|
||||
|
||||
event.create('tfg:spike/mars_stone_spike', 'tfc:rock_spike')
|
||||
.stoneSoundType()
|
||||
.noItem()
|
||||
|
||||
event.create('tfg:spike/venus_stone_spike', 'tfc:rock_spike')
|
||||
.stoneSoundType()
|
||||
.noItem()
|
||||
|
||||
event.create('tfg:spike/mercury_stone_spike', 'tfc:rock_spike')
|
||||
.stoneSoundType()
|
||||
.noItem()
|
||||
|
||||
event.create('tfg:spike/glacio_stone_spike', 'tfc:rock_spike')
|
||||
.stoneSoundType()
|
||||
.noItem()
|
||||
|
||||
event.create('tfg:spike/permafrost_spike', 'tfc:rock_spike')
|
||||
.stoneSoundType()
|
||||
.noItem()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue