Removed color provider

This commit is contained in:
paulevsGitch 2021-07-10 16:25:34 +03:00
parent 2c8862a37b
commit 4040597a6d
475 changed files with 5411 additions and 7521 deletions

View file

@ -17,7 +17,7 @@ import java.util.function.Supplier;
public class FeaturesHelper {
private static final Set<Biome> INJECTED = Sets.newHashSet();
public static void addFeatures(Registry<Biome> biomeRegistry) {
biomeRegistry.forEach((biome) -> {
if (biome.getBiomeCategory() == Biome.BiomeCategory.THEEND && !INJECTED.contains(biome)) {
@ -28,10 +28,10 @@ public class FeaturesHelper {
preFeatures.forEach((list) -> {
features.add(Lists.newArrayList(list));
});
EndFeatures.registerBiomeFeatures(biomeRegistry.getKey(biome), biome, features);
EndStructures.registerBiomeStructures(biomeRegistry.getKey(biome), biome, structures);
accessor.be_setFeatures(features);
accessor.be_setStructures(structures);
INJECTED.add(biome);