use of net.minecraft.world.level.levelgen.structure.placement.RandomSpreadStructurePlacement in project Applied-Energistics-2 by AppliedEnergistics.
the class InitStructures method init.
public static void init(Registry<StructureFeature<?>> registry) {
MeteoriteStructurePiece.register();
registerStructure(registry, MeteoriteStructure.ID, MeteoriteStructure.INSTANCE, Decoration.TOP_LAYER_MODIFICATION);
MeteoriteStructure.CONFIGURED_INSTANCE = StructureFeatures.register(MeteoriteStructure.KEY, MeteoriteStructure.INSTANCE.configured(NoneFeatureConfiguration.INSTANCE, MeteoriteStructure.BIOME_TAG_KEY));
StructureSets.register(MeteoriteStructure.STRUCTURE_SET_KEY, new StructureSet(List.of(StructureSet.entry(MeteoriteStructure.CONFIGURED_INSTANCE)), new RandomSpreadStructurePlacement(32, 8, RandomSpreadType.LINEAR, 124895654)));
}
Aggregations