Skip to content

Commit

Permalink
删除部分矿脉,gtm bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DancingSnow0517 committed Jun 9, 2024
1 parent daee847 commit 58e8feb
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions kubejs/server_scripts/oreveins/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,29 +118,30 @@ GTCEuServerEvents.oreVeins(event => {
.placement("above")
)
})
event.add('kubejs:coal', vein => {
vein.weight(80)
vein.clusterSize(60)
vein.density(1.3)
vein.layer('all')
vein.dimensions(OVERWORLD, TWILIGHT_FOREST)
vein.heightRangeUniform(-20, 80)
vein.veinedVeinGenerator(generator => generator
.oreBlock(GTMaterials.Coal, 3)
.rareBlock(GTMaterials.get('lignite'), 1)
.rareBlockChance(0.2)
.veininessThreshold(0.1)
.maxRichnessThreshold(0.175)
.minRichness(0.4)
.maxRichness(0.7)
.edgeRoundoffBegin(3)
.maxEdgeRoundoff(0.1)
)
vein.surfaceIndicatorGenerator(indicator => indicator
.surfaceRock(GTMaterials.Coal)
.placement("above")
)
})
// TODO: wait GTM update to support custom material ore vein.
// event.add('kubejs:coal', vein => {
// vein.weight(80)
// vein.clusterSize(60)
// vein.density(1.3)
// vein.layer('all')
// vein.dimensions(OVERWORLD, TWILIGHT_FOREST)
// vein.heightRangeUniform(-20, 80)
// vein.veinedVeinGenerator(generator => generator
// .oreBlock(GTMaterials.Coal, 3)
// .rareBlock(GTMaterials.get('lignite'), 1)
// .rareBlockChance(0.2)
// .veininessThreshold(0.1)
// .maxRichnessThreshold(0.175)
// .minRichness(0.4)
// .maxRichness(0.7)
// .edgeRoundoffBegin(3)
// .maxEdgeRoundoff(0.1)
// )
// vein.surfaceIndicatorGenerator(indicator => indicator
// .surfaceRock(GTMaterials.Coal)
// .placement("above")
// )
// })
event.add('kubejs:manganese', vein => {
vein.weight(20)
vein.clusterSize(40)
Expand Down

0 comments on commit 58e8feb

Please sign in to comment.