Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class NecromodConfiguredStructures {
- public static StructureFeature<?, ?> CONFIGURED_SECRET_ROOM = NecromodStructures.SECRET_ROOM.get().configured(IFeatureConfig.NONE);
- public static void registerConfiguredStructures() {
- Registry<StructureFeature<?, ?>> registry = WorldGenRegistries.CONFIGURED_STRUCTURE_FEATURE;
- Registry.register(registry, new ResourceLocation(Necromod.MODID, "configured_secret_room"), CONFIGURED_SECRET_ROOM);
- FlatGenerationSettings.STRUCTURE_FEATURES.put(NecromodStructures.SECRET_ROOM.get(), CONFIGURED_SECRET_ROOM);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement