Skip to content

Commit

Permalink
更新mod,添加gregic
Browse files Browse the repository at this point in the history
  • Loading branch information
DancingSnow0517 committed Jun 8, 2024
1 parent f169e54 commit 7951166
Show file tree
Hide file tree
Showing 26 changed files with 357 additions and 90 deletions.
Empty file added config/gregiceng.yaml
Empty file.
3 changes: 3 additions & 0 deletions config/modernfix-mixins.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
# mixin.bugfix.paper_chunk_patches=true # (default)
# mixin.bugfix.recipe_book_type_desync=true # (default)
# mixin.bugfix.removed_dimensions=true # (default)
# mixin.bugfix.restore_old_dragon_movement=false # (default)
# mixin.bugfix.unsafe_modded_shape_caches=true # (default)
# mixin.bugfix.world_leaks=true # (default)
# mixin.bugfix.world_screen_skipped=true # (default)
Expand All @@ -44,6 +45,7 @@
# mixin.feature.warn_missing_perf_mods=true # (default)
# mixin.launch.class_search_cache=true # (default)
# mixin.perf.blast_search_trees=true # (default)
# mixin.perf.blast_search_trees.force=false # (default)
# mixin.perf.cache_blockstate_cache_arrays=true # (default)
# mixin.perf.cache_model_materials=true # (default)
# mixin.perf.cache_profile_texture_url=true # (default)
Expand All @@ -67,6 +69,7 @@
# mixin.perf.fast_forge_dummies=true # (default)
# mixin.perf.fast_registry_validation=true # (default)
# mixin.perf.faster_item_rendering=false # (default)
# mixin.perf.faster_structure_location=true # (default)
# mixin.perf.faster_texture_stitching=true # (default)
# mixin.perf.fix_loop_spin_waiting=true # (default)
# mixin.perf.forge_cap_retrieval=true # (default)
Expand Down
114 changes: 107 additions & 7 deletions kubejs/server_scripts/oreveins/common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// priority 80
const OVERWORLD = 'minecraft:overworld'
const END = 'minecraft:the_end'

const AETHER = 'aether:the_aether'
const TWILIGHT_FOREST = "twilightforest:twilight_forest"
Expand Down Expand Up @@ -203,7 +202,7 @@ GTCEuServerEvents.oreVeins(event => {
vein.clusterSize(50)
vein.density(1)
vein.layer('all')
vein.dimensions(OVERWORLD, END, MOON, CERES)
vein.dimensions(OVERWORLD, MOON, CERES)
vein.heightRangeUniform(-60, 70)
vein.veinedVeinGenerator(generator => generator
.oreBlock(GTMaterials.Chalcopyrite, 3)
Expand Down Expand Up @@ -246,7 +245,7 @@ GTCEuServerEvents.oreVeins(event => {
vein.clusterSize(40)
vein.density(0.9)
vein.layer('all')
vein.dimensions(OVERWORLD, TWILIGHT_FOREST, END, MARS)
vein.dimensions(OVERWORLD, TWILIGHT_FOREST, MARS)
vein.heightRangeUniform(-30, 70)
vein.veinedVeinGenerator(generator => generator
.oreBlock(GTMaterials.Magnetite, 3)
Expand Down Expand Up @@ -351,7 +350,7 @@ GTCEuServerEvents.oreVeins(event => {
vein.clusterSize(40)
vein.density(0.9)
vein.layer('all')
vein.dimensions(OVERWORLD, TWILIGHT_FOREST, END, MARS)
vein.dimensions(OVERWORLD, TWILIGHT_FOREST, MARS)
vein.heightRangeUniform(50, 180)
vein.veinedVeinGenerator(generator => generator
.oreBlock(GTMaterials.Magnetite, 3)
Expand Down Expand Up @@ -415,7 +414,7 @@ GTCEuServerEvents.oreVeins(event => {
vein.clusterSize(30)
vein.density(0.4)
vein.layer('all')
vein.dimensions(OVERWORLD, TWILIGHT_FOREST, END, MOON, IO, VENUS)
vein.dimensions(OVERWORLD, TWILIGHT_FOREST, MOON, IO, VENUS)
vein.heightRangeUniform(80, 220)
vein.layeredVeinGenerator(generator => generator
.buildLayerPattern(patten => patten
Expand All @@ -433,7 +432,7 @@ GTCEuServerEvents.oreVeins(event => {
vein.clusterSize(45)
vein.density(0.45)
vein.layer('all')
vein.dimensions(TWILIGHT_FOREST, END, CERES)
vein.dimensions(TWILIGHT_FOREST, CERES)
vein.heightRangeUniform(-40, 20)
vein.dikeVeinGenerator(generator => generator
.withBlock(GTMaterials.Bentonite, 2, 0, 20)
Expand All @@ -451,7 +450,7 @@ GTCEuServerEvents.oreVeins(event => {
vein.clusterSize(30)
vein.density(0.5)
vein.layer('all')
vein.dimensions(TWILIGHT_FOREST, END, MOON, CERES, MERCURY)
vein.dimensions(TWILIGHT_FOREST, MOON, CERES, MERCURY)
vein.heightRangeUniform(-30, 40)
vein.dikeVeinGenerator(generator => generator
.withBlock(GTMaterials.Wulfenite, 2, 10, 40)
Expand Down Expand Up @@ -521,4 +520,105 @@ GTCEuServerEvents.oreVeins(event => {
.placement('above')
)
})

event.add('kubejs:quartzite', vein => {
vein.weight(20)
vein.clusterSize(40)
vein.density(0.35)
vein.layer('all')
vein.dimensions(MOON, MARS, IO, VENUS)
vein.heightRangeUniform(-30, 60)
vein.layeredVeinGenerator(generator => generator
.buildLayerPattern(pattern => pattern
.layer(l => l.weight(2).mat(GTMaterials.Quartzite).size(2, 4))
.layer(l => l.weight(2).mat(GTMaterials.Barite).size(2, 4))
.layer(l => l.weight(1).mat(GTMaterials.CertusQuartz).size(1, 1))
.layer(l => l.weight(1).mat(GTMaterials.CertusQuartz).size(1, 1))
)
)
vein.surfaceIndicatorGenerator(indicator => indicator
.surfaceRock(GTMaterials.Quartzite)
.placement('above')
)
})

event.add('kubejs:monazite', vein => {
vein.weight(20)
vein.clusterSize(40)
vein.density(0.35)
vein.layer('all')
vein.dimensions(MOON, DEIMOS, CERES, IO, VENUS)
vein.heightRangeUniform(-30, 60)
vein.layeredVeinGenerator(generator => generator
.buildLayerPattern(pattern => pattern
.layer(l => l.weight(2).mat(GTMaterials.Bastnasite).size(2, 4))
.layer(l => l.weight(2).mat(GTMaterials.Bastnasite).size(2, 4))
.layer(l => l.weight(1).mat(GTMaterials.Monazite).size(1, 1))
.layer(l => l.weight(1).mat(GTMaterials.Neodymium).size(1, 1))
)
)
vein.surfaceIndicatorGenerator(indicator => indicator
.surfaceRock(GTMaterials.Monazite)
.placement('above')
)
})

event.add('kubejs:ilmenite', vein => {
vein.weight(16)
vein.clusterSize(35)
vein.density(0.4)
vein.layer('all')
vein.dimensions(MOON, CERES, MERCURY)
vein.heightRangeUniform(-10, 60)
vein.layeredVeinGenerator(generator => generator
.buildLayerPattern(patten => patten
.layer(l => l.weight(2).mat(GTMaterials.Ilmenite).size(2, 4))
.layer(l => l.weight(1).mat(GTMaterials.Chromite).size(1, 1))
)
)
vein.surfaceIndicatorGenerator(indicator => indicator
.surfaceRock(GTMaterials.Ilmenite)
.placement("above")
)
})

event.add('kubejs:bauxite', vein => {
vein.weight(16)
vein.clusterSize(35)
vein.density(0.4)
vein.layer('all')
vein.dimensions(MOON, CERES, MERCURY)
vein.heightRangeUniform(-40, 60)
vein.layeredVeinGenerator(generator => generator
.buildLayerPattern(patten => patten
.layer(l => l.weight(2).mat(GTMaterials.Bauxite).size(2, 4))
.layer(l => l.weight(2).mat(GTMaterials.Ilmenite).size(1, 1))
.layer(l => l.weight(1).mat(GTMaterials.Aluminium).size(1, 1))
)
)
vein.surfaceIndicatorGenerator(indicator => indicator
.surfaceRock(GTMaterials.Bauxite)
.placement("above")
)
})

event.add('kubejs:galena', vein => {
vein.weight(40)
vein.clusterSize(40)
vein.density(0.35)
vein.layer('all')
vein.dimensions(MOON, MARS, VENUS)
vein.heightRangeUniform(-40, 10)
vein.layeredVeinGenerator(generator => generator
.buildLayerPattern(pattern => pattern
.layer(l => l.weight(3).mat(GTMaterials.Galena).size(2, 4))
.layer(l => l.weight(2).mat(GTMaterials.Silver).size(1, 2))
.layer(l => l.weight(2).mat(GTMaterials.Lead).size(1, 1))
)
)
vein.surfaceIndicatorGenerator(indicator => indicator
.surfaceRock(GTMaterials.Galena)
.placement('above')
)
})
})
Loading

0 comments on commit 7951166

Please sign in to comment.