More World Gen Prep
This commit is contained in:
@@ -4,6 +4,8 @@ import com.acethewildfire.acesbs.datagen.*;
|
||||
import com.acethewildfire.acesbs.enchantment.ModEnchantments;
|
||||
import com.acethewildfire.acesbs.trim.ModTrimMaterials;
|
||||
import com.acethewildfire.acesbs.trim.ModTrimPatterns;
|
||||
import com.acethewildfire.acesbs.world.ModConfiguredFeatures;
|
||||
import com.acethewildfire.acesbs.world.ModPlacedFeatures;
|
||||
import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint;
|
||||
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator;
|
||||
import net.minecraft.registry.RegistryBuilder;
|
||||
@@ -27,5 +29,7 @@ public class AcesBSDataGenerator implements DataGeneratorEntrypoint {
|
||||
registryBuilder.addRegistry(RegistryKeys.TRIM_MATERIAL, ModTrimMaterials::bootstrap);
|
||||
registryBuilder.addRegistry(RegistryKeys.TRIM_PATTERN, ModTrimPatterns::bootstrap);
|
||||
registryBuilder.addRegistry(RegistryKeys.ENCHANTMENT, ModEnchantments::bootstrap);
|
||||
registryBuilder.addRegistry(RegistryKeys.CONFIGURED_FEATURE, ModConfiguredFeatures::bootstrap);
|
||||
registryBuilder.addRegistry(RegistryKeys.PLACED_FEATURE, ModPlacedFeatures::bootstrap);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,6 +17,8 @@ public class ModRegistryDataGenerator extends FabricDynamicRegistryProvider {
|
||||
entries.addAll(registries.getWrapperOrThrow(RegistryKeys.TRIM_MATERIAL));
|
||||
entries.addAll(registries.getWrapperOrThrow(RegistryKeys.TRIM_PATTERN));
|
||||
entries.addAll(registries.getWrapperOrThrow(RegistryKeys.ENCHANTMENT));
|
||||
entries.addAll(registries.getWrapperOrThrow(RegistryKeys.CONFIGURED_FEATURE));
|
||||
entries.addAll(registries.getWrapperOrThrow(RegistryKeys.PLACED_FEATURE));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user