Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsterner committed May 22, 2023
1 parent 3e5aac2 commit 3f999d5
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ If you want to add new clusters a practical solution is more appropriate, there
"chance": 1.0
}]
},
"samples": [{ /* List of samples to use within this cluster. null = skip */
"samples": [{ /* List of samples to use within this cluster. null = skip */
"block": "geocluster:coal_ore_sample",
"chance": 1.0
}],
"generationWeight": 1 /* The weight for this specific cluster to generate */
"generationWeight": 1 /* The weight for this specific cluster to generate */
}
}
```
Expand All @@ -171,7 +171,7 @@ If you want to add new clusters a practical solution is more appropriate, there
"chanceForSample": 0.25, /* The chance for a sample block to be generated */
"biomeTag": "#is_mountain", /* The biome tag you wish to generate this deposit in */
"blockStateMatchers": [ "minecraft:dirt" ], /* The blocks you want this deposit to be able to replace */
"blocks": { /* List of blocks to use within this cluster. null = skip */
"blocks": { /* List of blocks to use within this cluster. null = skip */
"default": [{ /* Blocks now MUST have a "default" */
"block": "red_sand",
"chance": 1.0
Expand All @@ -181,11 +181,11 @@ If you want to add new clusters a practical solution is more appropriate, there
"chance": 1.0
}]
},
"samples": [{ /* List of samples to use within this cluster. null = skip */
"samples": [{ /* List of samples to use within this cluster. null = skip */
"block": "allium",
"chance": 1.0
}],
"generationWeight": 1 /* The weight for this specific cluster to generate */
"generationWeight": 1 /* The weight for this specific cluster to generate */
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public BlockState getSample(Random rand) {

@Override
public int generate(StructureWorldAccess world, BlockPos pos, IWorldDepositComponent deposits, IWorldChunkComponent chunksGenerated) {
/* Dimension checking is done in PlutonRegistry#pick */
/* Dimension checking is done in DepositCache#pick */
/* Check biome allowance */
if (!this.canPlaceInBiome(world.getBiome(pos))) {
return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public String toString() {

@Override
public int generate(StructureWorldAccess world, BlockPos pos, IWorldDepositComponent deposits, IWorldChunkComponent chunksGenerated) {
/* Dimension checking is done in PlutonRegistry#pick */
/* Dimension checking is done in DepositCache#pick */
/* Check biome allowance */
if (!this.canPlaceInBiome(world.getBiome(pos))) {
return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public String toString() {

@Override
public int generate(StructureWorldAccess world, BlockPos pos, IWorldDepositComponent deposits, IWorldChunkComponent chunksGenerated) {
/* Dimension checking is done in PlutonRegistry#pick */
/* Dimension checking is done in DepositCache#pick */
/* Check biome allowance */
if (!this.canPlaceInBiome(world.getBiome(pos))) {
return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public String toString() {

@Override
public int generate(StructureWorldAccess world, BlockPos pos, IWorldDepositComponent deposits, IWorldChunkComponent chunksGenerated) {
/* Dimension checking is done in PlutonRegistry#pick */
/* Dimension checking is done in DepositCache#pick */
/* Check biome allowance */
if (!this.canPlaceInBiome(world.getBiome(pos))) {
return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public String toString() {

@Override
public int generate(StructureWorldAccess level, BlockPos pos, IWorldDepositComponent deposits, IWorldChunkComponent chunksGenerated) {
/* Dimension checking is done in PlutonRegistry#pick */
/* Dimension checking is done in DepositCache#pick */
/* Check biome allowance */
if (!this.canPlaceInBiome(level.getBiome(pos))) {
return 0;
Expand Down

0 comments on commit 3f999d5

Please sign in to comment.