Skip to content

Commit

Permalink
Verbatim Name for BCLib BiomeSources
Browse files Browse the repository at this point in the history
  • Loading branch information
quiqueck committed Feb 5, 2022
1 parent 7939c4e commit 0c24a03
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ru/bclib/mixin/common/BiomeSourceMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public abstract class BiomeSourceMixin implements BiomeSourceAccessor {
@Mutable @Shadow @Final private List<StepFeatureData> featuresPerStep;

public void bclRebuildFeatures(){
BCLib.LOGGER.info("Rebuilding features in BiomeSource " + this.getClass());
BCLib.LOGGER.info("Rebuilding features in BiomeSource " + this);
featuresPerStep = buildFeaturesPerStep(this.possibleBiomes().stream().toList(), true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,9 @@ protected Codec<? extends BiomeSource> codec() {
public static void register() {
Registry.register(Registry.BIOME_SOURCE, BCLib.makeID("end_biome_source"), CODEC);
}

@Override
public String toString() {
return "BCLib - The End BiomeSource";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,9 @@ private void initMap() {
this.biomeMap = mapConstructor.apply(seed, GeneratorOptions.getBiomeSizeNether(), BiomeAPI.NETHER_BIOME_PICKER);
}
}

@Override
public String toString() {
return "BCLib - Nether BiomeSource";
}
}

0 comments on commit 0c24a03

Please sign in to comment.